2 files modified
1 files added
| | |
| | | <el-button type="primary" icon="el-icon-setting" text @click="handleTaskSetting(row)"> |
| | | 考核设置 |
| | | </el-button> |
| | | <el-button type="primary" icon="el-icon-view" text @click="handleAssessorDetails(row)"> |
| | | 考核人员详情 |
| | | </el-button> |
| | | <el-button type="primary" icon="el-icon-view" text @click="handleTaskResult(row)"> |
| | | 考核结果 |
| | | </el-button> |
| | |
| | | <template v-else> |
| | | <taskResult :params="resultParams" @changeIs="changeIs" /> |
| | | </template> |
| | | <!-- <addTaskDialog /> --> |
| | | <!-- 考核人员详情 --> |
| | | <assessorDetails :params="detailsParams" /> |
| | | </basic-container> |
| | | </template> |
| | | |
| | |
| | | import taskResult from './components/taskResult.vue' |
| | | import addTaskDialog from "./components/addTaskDialog.vue"; |
| | | import assessmentTaskSetting from "./components/assessmentTaskSetting.vue"; |
| | | import assessorDetails from "./components/assessorDetails.vue"; |
| | | |
| | | export default { |
| | | components: { |
| | | taskResult, |
| | | addTaskDialog, |
| | | assessmentTaskSetting |
| | | assessmentTaskSetting, |
| | | assessorDetails |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | prop: 1 |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | // 人员详情参数 |
| | | detailsParams: {} |
| | | }; |
| | | }, |
| | | watch: { |
| | |
| | | }, |
| | | } |
| | | return status[state] |
| | | }, |
| | | handleAssessorDetails(row) { |
| | | this.detailsParams = { |
| | | visible: true, |
| | | data: row |
| | | } |
| | | } |
| | | } |
| | | }; |
| New file |
| | |
| | | <template> |
| | | <el-dialog v-model="params.visible" :title="params.data.assessmentNo ? `考核编号(${params.data.assessmentNo})` : '考核人员详情'"> |
| | | </el-dialog> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | export default { |
| | | props: { |
| | | params: { |
| | | type: Object, |
| | | default: () => { |
| | | return { |
| | | visible: false, |
| | | data: {} |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
| | |
| | | <avue-crud v-model:page="page" :option="option" :table-loading="loading" :data="data" @current-change="currentChange" |
| | | @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"> |
| | | <template #menu="{ row }"> |
| | | <referrerPopover :params="{ userId: row.user_id, evaluateTaskId: params.data.id }"> |
| | | <referrerPopover :params="{ userId: row.userId, evaluateTaskId: params.data.id }"> |
| | | <el-button type="success" icon="el-icon-view" text>推荐人预览</el-button> |
| | | </referrerPopover> |
| | | </template> |
| | |
| | | column: [ |
| | | { |
| | | label: '姓名', |
| | | prop: 'user_name', |
| | | prop: 'userName', |
| | | type: 'input' |
| | | }, |
| | | { |
| | | label: '部门', |
| | | prop: 'dept_name', |
| | | prop: 'deptName', |
| | | type: 'input' |
| | | }, |
| | | { |
| | | label: '职位', |
| | | prop: 'post_name', |
| | | prop: 'postName', |
| | | type: 'input' |
| | | }, |
| | | { |