GuLiMmo
2024-01-15 5983be632480853e1e9e3601bd5e91bd95815ee2
src/views/assessment/components/assessorDialog.vue
@@ -1,6 +1,6 @@
<template>
    <el-dialog v-model="params.visible" :title="params.data?.assessmentNo ? `考核编号(${params.data.assessmentNo})` : '考核人员详情'"
        width="65%" @open="dialogOpen">
        width="70%" @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"
            @refresh-change="refreshChange" @on-load="onLoad">
@@ -57,6 +57,7 @@
                        prop: "scoreUserName",
                        type: "input",
                        search: true,
                        minWidth: 100
                    },
                    {
                        label: "部门",
@@ -68,28 +69,55 @@
                        //     label: 'deptName',
                        //     value: 'fullName'
                        // },
                        overHidden: true
                        overHidden: true,
                        minWidth: 120
                    },
                    {
                        label: "职务",
                        prop: "scorePostName",
                        type: "input",
                        overHidden: true,
                        minWidth: 120
                    },
                    {
                        label: "被考核人",
                        prop: "userName",
                        search: true,
                        type: "input",
                        minWidth: 100
                    },
                    {
                        label: "被考核人部门",
                        prop: "deptName",
                        dicUrl: '/api/blade-system/dept/lazy-list?parentId=1737282385453543425',
                        search: true,
                        props: {
                            label: 'deptName',
                            value: 'fullName'
                        },
                        type: "select",
                        searchLabelWidth: 120,
                        overHidden: true,
                        minWidth: 120
                    },
                    {
                        label: "被考核人职位",
                        prop: "postName",
                        type: "input",
                        overHidden: true,
                        minWidth: 120
                    },
                    {
                        label: "考核分",
                        prop: "scoreVal",
                        type: "input",
                        minWidth: 70
                    },
                    {
                        label: "权值",
                        prop: "weight",
                        type: "input",
                        minWidth: 70
                    }
                ]
            },