liuyg
2021-09-24 c4e67a8942e514b65ab41bb19781d50576c15725
src/views/securityUnit/data.js
@@ -9,13 +9,6 @@
]
export var column = [
    // {
    //     label: "id",
    //     prop: "id",
    //     hide: true,
    //     editDisplay: false,
    //     addDisplay: false
    // },
    {
        label: "统一社会信用代码",
        prop: "creditcode",
@@ -27,45 +20,23 @@
        // editDisplay: false,
        // addDisplay: false
    },
    // {
    //     label: "保安id",
    //     prop: "tenantId",
    //     hide: true,
    //     editDisplay: false,
    //     addDisplay: false
    // },//上面不显示
    // {
    //     label: "部门",
    //     prop: "departmentid",
    //     // type: "tree",
    //     disabled: true,
    //     dicData: [],
    //     labelWidth: w,
    //     span: s,
    //     props: {
    //         label: "title",
    //     },
    //     rules: [
    //         {
    //             required: true,
    //             message: "请选择所属部门",
    //             trigger: "click",
    //         },
    //     ],
    // },
    {
        label: "企业名称",
        prop: "enterprisename",
        search: true,
        searchSpan: 6,
        width: 260,
        searchSpan: 4,
        labelWidth: 160,
        // width: 130,
        overHidden: true
    },
    {
        label: "企业类型",
        prop: "stats",
        type: "tree",
        hide: true,
        labelWidth: 160,
        dicUrl: "/api/blade-system/dict-biz/dictionary?code=stats",
        props: {
@@ -85,134 +56,79 @@
        label: "法定代表人",
        labelWidth: 160,
        prop: "representative",
        width: 80,
        width: 110,
        search: true,
        searchSpan: 6,
        searchSpan: 4,
        searchLabelWidth: 100
    },
    // {
    //     label: "登记状态",
    //     prop: "regstsat",
    //     // addDisplay: true,
    //     // editDisplay: true,
    //     // viewDisplay: true,
    //     // searchSpan: 5,
    //     // dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
    //     // props: {
    //     //     label: "dictValue",
    //     //     value: "dictKey"
    //     // },
    //     // search: true,
    //     // type: "select",
    //     // // rules: [{
    //     // //     required: true,
    //     // //     message: "请选择学历",
    //     // //     trigger: "blur"
    //     // // }],
    // },
    {
        label: "成立日期",
        label: "法定代表人电话",
        labelWidth: 160,
        prop: "representativecell",
        width: 120,
        // search: true,
        searchSpan: 4,
        searchLabelWidth: 100
    },
    {
        label: "保安人数",
        labelWidth: 160,
        prop: "znum",
        width: 69,
        // search: true,
        searchSpan: 4,
        searchLabelWidth: 100
    },
    {
        label: "派遣人数",
        labelWidth: 160,
        prop: "pnum",
        width: 69,
        // search: true,
        searchSpan: 4,
        searchLabelWidth: 100
    },
    {
        label: "持证人数",
        labelWidth: 160,
        prop: "cnum",
        width: 69,
        // search: true,
        searchSpan: 4,
        searchLabelWidth: 100
    },
    {
        label: "注册时间",
        prop: "establishtime",
        labelWidth: 160,
        width: 130,
        overHidden: true,
        type: "date",
        format: "yyyy-MM-dd",
        valueFormat: "timestamp",
        // addDisplay: true,
        // editDisplay: true,
        // viewDisplay: true,
        // searchSpan: 4,
        // dicUrl: "/api/blade-system/dict-biz/dictionary?code=experienceType",
        // props: {
        //     label: "dictValue",
        //     value: "dictKey"
        // },
        // search: true,
        // type: "select",
        // // rules: [{
        // //     required: true,
        // //     message: "请选择工作经验",
        // //     trigger: "blur"
        // // }],
        valueFormat: "yyyy-MM-dd",
    },
    {
        label: "注册资本(万元人民币)",
        label: "注册资本",
        prop: "registeredcapital",
        labelWidth: 160,
        // search: true,
        width: 140,
        // overHidden: true
    },
    {
        label: "实缴资本(万元人民币)",
        prop: "capital",
        labelWidth: 160,
        // width: 85,
        hide: true,
        labelWidth: 160,
        // search: true,
        // searchSpan: 4,
        // overHidden: true
        width: 80,
    },
    {
        label: "组织机构代码",
        label: "联系人",
        prop: "contacts",
        labelWidth: 160,
        prop: "organizationcode",
        // width: 110,
        // search: true,
        // searchSpan: 4,
    },
    {
        label: "工商注册号",
        prop: "registrationnumber",
        width: 85,
    }, {
        label: "联系电话",
        prop: "contactscell",
        labelWidth: 160,
        width: 120,
        // search: true,
        // searchSpan: 4,
        width: 95,
    },
    {
        label: "纳税人识别号",
        prop: "identificationnumber",
        labelWidth: 160,
        width: 140,
        // addDisplay: true,
        // editDisplay: true,
        // viewDisplay: true,
        // searchSpan: 4,
        // dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsNatureType",
        // props: {
        //     label: "dictValue",
        //     value: "dictKey"
        // },
        // // search: true,
        // type: "select",
        // // rules: [{
        // //     required: false,
        // //     message: "请选择单位规模",
        // //     trigger: "blur"
        // // }],
    },
    // {
    //     label: "企业类型",
    //     prop: "stats",
    //     // type: "tree",
    //     // disabled: true,
    //     type: "tree",
    //     // type: "select",
    //     dicUrl: "/api/blade-system/dict-biz/dictionary?code=stats",
    //     props: {
    //         label: "dictValue",
    //         value: "dictKey"
    //     },
    //     width: 130,
    //     rules: [
    //         {
    //             required: true,
    //             message: "请选择所属部门",
    //             trigger: "click",
    //         },
    //     ],
    // },
    {
        label: "注册地址",
        prop: "address",
@@ -230,9 +146,24 @@
        overHidden: true
    },
    {
        label: "所属地区",
        prop: "region",
        label: "所属辖区",
        prop: "jurisdiction",
        labelWidth: 160,
        type: "tree",
        dicUrl: "/api//jurisdiction/lazy-trees",
        props: {
            label: "title",
            value: "id"
        },
        // labelWidth: w,
        // span: s,
        rules: [
            {
                required: true,
                message: "请选择所属辖区",
                trigger: "click",
            },
        ],
        // width: 110,
        // search: true,
        overHidden: true
@@ -255,21 +186,6 @@
        // search: true,
        // width: 88,
    },
    // {
    //     label: "租户ID",
    //     // prop: "status",
    //     // search: true,
    //     // searchSpan: 4,
    //     prop: 'tenant_id',
    //     // filter: false,
    //     // type: 'tree',
    //     // dicData: DIC,
    //     // rules: [{
    //     //     required: true,
    //     //     message: "请选择单位规模",
    //     //     trigger: "blur"
    //     // }],
    // },
]
var w = 160
@@ -297,7 +213,7 @@
        }]
    },
    {
        label: "辖区",
        label: "所属辖区",
        prop: "jurisdiction",
        // type: "tree",
        // disabled: true,
@@ -379,6 +295,38 @@
            trigger: "blur"
        }]
    },
    {
        label: "法定代表人电话",
        prop: "representativecell",
        labelWidth: w,
        span: s,
        rules: [{
            required: true,
            message: "请输入法定代表人电话",
            trigger: "blur"
        }]
    }, {
        label: "联系人",
        prop: "contacts",
        labelWidth: w,
        span: s,
        rules: [{
            required: true,
            message: "请输入联系人",
            trigger: "blur"
        }]
    },
    {
        label: "联系电话",
        prop: "contactscell",
        labelWidth: w,
        span: s,
        rules: [{
            required: true,
            message: "请输入联系电话",
            trigger: "blur"
        }]
    },
    // {
    //     label: "企业类型",
    //     prop: "stats",
@@ -391,16 +339,16 @@
    //     }]
    // },
    {
        label: "成立日期",
        label: "注册时间",
        prop: "establishtime",
        labelWidth: w,
        span: s,
        type: "date",
        format: "yyyy-MM-dd",
        valueFormat: "timestamp",
        valueFormat: "yyyy-MM-dd",
        rules: [{
            required: true,
            message: "请输入成立日期",
            message: "请输入注册时间",
            trigger: "blur"
        }]
    },
@@ -598,7 +546,7 @@
    //     prop: "beneficial",
    //     labelWidth: w,
    //     span: s
    // },
    // },
    {
        label: "出资金额",
        prop: "capital2",
@@ -614,7 +562,7 @@
        prop: "capitaltime",
        type: "date",
        format: "yyyy-MM-dd",
        valueFormat: "timestamp",
        valueFormat: "yyyy-MM-dd",
        labelWidth: w,
        span: s,
        rules: [{