| | |
| | | <template v-else-if="curIndex === 1"> |
| | | <assessmentTaskSetting :params="resultParams" @changeIs="changeIs"/> |
| | | </template> |
| | | <template v-else> |
| | | <!-- <template v-else> |
| | | <taskResult :params="resultParams" @changeIs="changeIs" /> |
| | | </template> |
| | | </template> --> |
| | | <!-- 考核人员详情 --> |
| | | <assessorDetails :params="detailsParams" /> |
| | | </basic-container> |
| | |
| | | this.resultParams = row |
| | | this.resultParams.type = this.defaultTaskType |
| | | }, |
| | | handleTaskResult(row) { |
| | | this.curIndex = 2; |
| | | this.resultParams = row |
| | | this.resultParams.type = this.defaultTaskType |
| | | }, |
| | | // handleTaskResult(row) { |
| | | // this.curIndex = 2; |
| | | // this.resultParams = row |
| | | // this.resultParams.type = this.defaultTaskType |
| | | // }, |
| | | changeIs(num) { |
| | | this.curIndex = num |
| | | this.$nextTick(() => { |
| | |
| | | <template> |
| | | <el-dialog v-model="params.visible" :title="params.data?.assessmentNo ? `考核编号(${params.data.assessmentNo})` : '考核人员详情'" |
| | | <el-dialog v-model="params.visible" :title="params.data?.assessmentNo ? `考核编号(${params.data.assessmentNo})` : '考核结果'" |
| | | width="65%" @open="dialogOpen"> |
| | | <avue-crud :option="option" :table-loading="loading" :data="data" v-model:page="page" @search-change="searchChange" |
| | | @search-reset="searchReset" @current-change="currentChange" @size-change="sizeChange" |
| | |
| | | handleViewDetails(row) { |
| | | this.detailParams = { |
| | | visible: true, |
| | | isSendBack: true, |
| | | ...row |
| | | } |
| | | } |
| | |
| | | <template> |
| | | <el-dialog title="详情" v-model="params.visible" width="60%" destroy-on-close> |
| | | <avue-crud :data="data" v-model:page="page" :option="option" @on-load="onLoad" > |
| | | <!-- <template #menu="{row}"> |
| | | <el-button type="warning" icon="el-icon-info-filled" text @click="sendBack(row)">驳回</el-button> |
| | | </template> --> |
| | | </avue-crud> |
| | | </el-dialog> |
| | | </template> |
| | |
| | | <template> |
| | | <el-dialog v-model="params.visible" :title="params.data?.dictValue || '人员选择'" destroy-on-close @close="dialogClose" @open="dialogOpen"> |
| | | <div class="container"> |
| | | <div class="container" v-loading="isLoading" element-loading-text="数据加载中,请稍后。。。"> |
| | | <el-transfer v-model="value" :data="userList" :props="{ label: 'realName', key: 'id' }" filterable filter-placeholder="请输入人员姓名" |
| | | :titles="['参与投票人员', '不参与投票人员']" /> |
| | | </div> |
| | | <template #footer> |
| | | <el-button @click="params.visible = false">取消</el-button> |
| | | <el-button type="primary" @click="submit">确认选择</el-button> |
| | | <el-button type="primary" @click="submit" :loading="isLoading">确认选择</el-button> |
| | | </template> |
| | | </el-dialog> |
| | | </template> |
| | |
| | | userList: [], |
| | | value: [], |
| | | notParticipateIn: [], |
| | | participateIn: [] |
| | | participateIn: [], |
| | | isLoading: true, |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | dialogOpen() { |
| | | const { dictKey } = this.params.data |
| | | getEmployeeLevelList(dictKey).then(res => { |
| | | if (res.data.code !== 200) return this.$message.error('数据加载失败,请关闭窗口后重试!!') |
| | | this.userList = res.data.data |
| | | this.isLoading = false |
| | | }) |
| | | }, |
| | | submit() { |