| | |
| | | <template> |
| | | <el-dialog v-model="params.visible" :title="`发布评优任务(${params.data?.taskName || ''})`" width="50%" @open="openDialog" @close="dialogClose"> |
| | | <el-dialog v-model="params.visible" :title="`发布评优任务(${params.data?.taskName || ''})`" width="65%" @open="openDialog" @close="dialogClose"> |
| | | <div class="content"> |
| | | <el-form :model="form" ref="formRef" :rules="rules" label-position="top"> |
| | | <el-form-item prop="categoryEntities"> |
| | | <template #label> |
| | | 评优类别 |
| | | 评优奖项 |
| | | <el-button type="primary" icon="el-icon-view" text @click="viewCandidateResult">查看第一轮候选结果</el-button> |
| | | </template> |
| | | <ul class="type-list"> |
| | | <li class="type-item"> |
| | | <div class="title">类别</div> |
| | | <div class="title">奖项</div> |
| | | <div class="introduction">认定标准</div> |
| | | <div class="number">名额</div> |
| | | <div class="tool">操作</div> |
| | |
| | | {{ item.dictValue }} |
| | | <el-button type="primary" icon="el-icon-edit" text @click="selectionHandler(item)">设置人员</el-button> |
| | | </el-checkbox> |
| | | |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | <el-form-item label="第二轮任务结束时间" required> |
| | |
| | | $borderColor: var(--el-border-color); |
| | | |
| | | .content { |
| | | max-height: 400px; |
| | | max-height: 600px; |
| | | overflow-y: auto; |
| | | |
| | | .time-span { |
| | |
| | | <el-form-item label="任务名称" prop="taskName"> |
| | | <el-input v-model="form.taskName" placeholder="请输入任务名称"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="评优类别" prop="categoryEntities"> |
| | | <el-form-item label="评优奖项" prop="categoryEntities"> |
| | | <ul class="type-list"> |
| | | <li class="type-item"> |
| | | <div class="title">类别</div> |
| | | <div class="title">奖项</div> |
| | | <div class="introduction">认定标准</div> |
| | | <div class="number">名额</div> |
| | | <div class="tool">操作</div> |
| | |
| | | <div class="container"> |
| | | <ul class="type-list"> |
| | | <li class="type-item"> |
| | | <div class="title">类别</div> |
| | | <div class="title">奖项</div> |
| | | <div class="introduction">认定标准</div> |
| | | <div class="number">名额</div> |
| | | <div class="tool">操作</div> |
| | |
| | | </div> |
| | | <ul class="type-list"> |
| | | <li class="type-item"> |
| | | <div class="title">类别</div> |
| | | <div class="title">奖项</div> |
| | | <div class="introduction">认定标准</div> |
| | | <div class="number">名额</div> |
| | | <div class="tool">操作</div> |
| | |
| | | <template> |
| | | <el-dialog v-model="params.visible" :title="params.data.dictValue || '人员选择'" @close="dialogClose"> |
| | | <el-dialog v-model="params.visible" :title="params.data?.dictValue || '人员选择'" @close="dialogClose"> |
| | | <div class="container"> |
| | | <el-transfer v-model="value" :data="data" filterable filter-placeholder="请输入人员姓名" |
| | | :titles="['参与投票人员', '不参与投票人员']" /> |
| | | </div> |
| | | <template #footer> |
| | | <el-button @click="params.visible = false">取消</el-button> |
| | | <el-button type="primary">确认选择</el-button> |
| | | <el-button type="primary" @click="submit">确认选择</el-button> |
| | | </template> |
| | | </el-dialog> |
| | | </template> |
| | |
| | | methods: { |
| | | dialogClose() { |
| | | this.value = [] |
| | | }, |
| | | submit() { |
| | | console.log(this.value, this.data); |
| | | } |
| | | }, |
| | | |
| | |
| | | <div class="drawer-title">{{ props.params.data?.taskName || '评优任务详情' }}</div> |
| | | </template> |
| | | <el-collapse v-model="collapseParams.activeNames"> |
| | | <el-collapse-item v-if="!type()" title="当前任务评优类别" name="1"> |
| | | <el-collapse-item v-if="!type()" title="当前任务评优奖项" name="1"> |
| | | <ul class="type-list"> |
| | | <li class="type-item"> |
| | | <div class="title">类别</div> |
| | | <div class="title">奖项</div> |
| | | <div class="introduction">认定标准</div> |
| | | <div class="number">名额</div> |
| | | </li> |
| | |
| | | type: 'input', |
| | | }, |
| | | { |
| | | label: '被投人', |
| | | label: '推荐人', |
| | | prop: 'userName', |
| | | type: 'input', |
| | | search: true |
| | |
| | | <el-main>
|
| | | <template v-if="this.taskList.length > 0">
|
| | | <el-collapse v-model="activeNames">
|
| | | <el-collapse-item title="当前任务评优类别详情" name="1" v-if="!defaultTaskType">
|
| | | <el-collapse-item title="当前任务评优奖项详情" name="1" v-if="!defaultTaskType">
|
| | | <evaluateTypeResult :params="{ data: taskList[taskActive] }" />
|
| | | </el-collapse-item>
|
| | | <el-collapse-item name="2" v-if="!defaultTaskType">
|