GuLiMmo
2023-12-08 3f2db4dbaf1c7a721e2b135dd83b0ac83468e04b
src/views/assessmentTask/assessmentTaskSetting.vue
@@ -19,6 +19,8 @@
  
<script>
import assessmentWeight from './assessmentWeight.vue'
import { getList } from '@/api/system/user.js'
export default {
    components: {
        assessmentWeight
@@ -27,6 +29,7 @@
        return {
            isWeight: true,
            form: {},
            query: {},
            search: {},
            data: [
                {
@@ -54,14 +57,13 @@
                menuWidth: 200,
                column: [
                    {
                        label: "考核编号",
                        label: "主键",
                        prop: "id",
                        type: "input",
                        addDisplay: false,
                        editDisplay: false,
                        viewDisplay: false,
                        hide: true,
                        search: true
                        hide: true
                    },
                    {
                        label: "被考核人",
@@ -78,11 +80,13 @@
                        label: "部门",
                        prop: "section",
                        type: "input",
                        search: true
                    },
                    {
                        label: "职务",
                        prop: "position",
                        prop: "postName",
                        type: "input",
                        search: true
                    },
                    {
                        label: "人员类型",
@@ -96,7 +100,7 @@
                    },
                    {
                        label: "联系方式",
                        prop: "contact",
                        prop: "phone",
                        type: "input",
                    },
                ]
@@ -104,7 +108,7 @@
            page: {
                pageSize: 10,
                currentPage: 1,
                total: 1,
                total: 0,
            },
        }
    },
@@ -121,7 +125,19 @@
        sizeChange() { },
        refreshChange() { },
        onLoad(page, params = {}) {
            this.loading = true;
            const {
            } = this.query;
            let values = {
            };
            getList(page.currentPage, page.pageSize, values).then(res => {
                console.log(res);
                const data = res.data.data;
                this.page.total = data.total;
                this.data = data.records;
                this.loading = false;
            });
        }
    }
}