Administrator
2021-12-13 d3b2a8aef1d7941b0e5847070765e4db056d027b
src/views/securityGuard/data.js
@@ -10,7 +10,7 @@
        }
    },
    {
        label: "所属保安公司",
        label: "企业名称",
        prop: "deptId",
        type: "tree",
        dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
@@ -320,9 +320,14 @@
    editDisplay: false,
    addDisplay: false
}, {
    label: '单位名称',
    label: '企业名称',
    prop: "companyname",
    formslot: true,
    rules: [{
        required: true,
        message: "请选择企业名称",
        trigger: "blur"
    }]
}, {
    label: '部门',
    prop: "department",
@@ -342,6 +347,11 @@
    valueFormat: "yyyy-MM-dd",
    prop: "entrytime",
    formslot: true,
    rules: [{
        required: true,
        message: "请选择入职时间",
        trigger: "blur"
    }]
}, {
    label: '离职时间',
    type: 'date',
@@ -349,6 +359,11 @@
    valueFormat: "yyyy-MM-dd",
    prop: "departuretime",
    formslot: true,
    rules: [{
        required: true,
        message: "请选择离职时间",
        trigger: "blur"
    }]
}, {
    label: '离职原因',
    prop: "leaving",
@@ -357,7 +372,7 @@
export var practitionersColumns = [{
    width: 200,
    label: '单位名称',
    label: '企业名称',
    prop: "companyname",
    formslot: true,
}, {
@@ -474,12 +489,12 @@
        display: false
    },
    {
        label: "所属保安公司",
        searchLabelWidth: "110",
        label: "企业名称",
        searchLabelWidth: "80",
        // prop: "deptName",
        prop: "deptId",
        type: "tree",
        dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
        // dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
        props: {
            label: "title",
            value: "id",
@@ -516,8 +531,8 @@
        prop: "cardid",
        search: true,
        searchLabelWidth: 90,
        searchSpan: 4,
        minWidth: 140,
        searchSpan: 5,
        minWidth: 150,
        display: false
    },
@@ -548,6 +563,7 @@
        label: "年龄",
        prop: "age",
        width: 55,
        sortable: true,
        display: false
    },
    {
@@ -585,8 +601,8 @@
        prop: "securitynumber",
        search: true,
        searchLabelWidth: 90,
        minWidth: 105,
        searchSpan: 3,
        minWidth: 115,
        searchSpan: 5,
        addDisplay: false,
        editDisplay: false,
        // hide: true,
@@ -722,7 +738,7 @@
            },
            {
                label: "异常",
                value: 1,
                value: "1",
            }
        ],
    },