liuyg
2021-07-14 803a38742d1c7e432db233b390ba7da542df47b4
招聘管理 详情
3 files modified
146 ■■■■ changed files
src/router/views/index.js 72 ●●●● patch | view | raw | blame | history
src/views/dispatch/dispatchChildoperable.vue 18 ●●●● patch | view | raw | blame | history
src/views/dispatchChild/data.js 56 ●●●●● patch | view | raw | blame | history
src/router/views/index.js
@@ -236,42 +236,42 @@
            import( /* webpackChunkName: "views" */ '@/views/desk/notice')
    }]
},
// {
//     path: '/dispatch',
//     component: Layout,
//     redirect: '/dispatch/dispatch',
//     children: [{
//         path: 'dispatch',
//         name: '派遣单位管理',
//         meta: {
//             i18n: 'dispatch'
//         },
//         component: () =>
//             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
//     }, {
//         path: 'dispatchChildoperable',
//         name: '派遣记录管理',
//         meta: {
//             i18n: 'dispatch'
//         },
//         component: () =>
//             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
//     }]
// },
// {
//     path: '/dispatchChild',
//     component: Layout,
//     redirect: '/dispatchChild/index',
//     children: [{
//         path: 'index',
//         name: '派遣服务记录',
//         meta: {
//             i18n: 'dict'
//         },
//         component: () =>
//             import( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
//     }]
// },
{
    path: '/dispatch',
    component: Layout,
    redirect: '/dispatch/dispatch',
    children: [{
        path: 'dispatch',
        name: '派遣单位管理',
        meta: {
            i18n: 'dispatch'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
    }, {
        path: 'dispatchChildoperable',
        name: '派遣记录管理',
        meta: {
            i18n: 'dispatch'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
    }]
},
{
    path: '/dispatchChild',
    component: Layout,
    redirect: '/dispatchChild/index',
    children: [{
        path: 'index',
        name: '派遣服务记录',
        meta: {
            i18n: 'dict'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
    }]
},
// {
//     path: '/equipments',
//     component: Layout,
src/views/dispatch/dispatchChildoperable.vue
@@ -150,7 +150,7 @@
        // menu: false,
        searchSize: "mini",
        searchMenuSpan: 8,
        height: 563,
        height: 623,
        cellBtn: false,
        // addBtn: false,
        // menuWidth: 160,
@@ -193,18 +193,25 @@
          },
          {
            label: "派遣单位",
            prop: "id",
            prop: "dispatcherCompany",
            addDisplay: false,
            editDisplay: false,
          },
          {
            label: "派遣单位",
            prop: "dispatcherUnitId",
            labelWidth: 120,
            searchLabelWidth: 120,
            dicUrl: "/api/page-tree",
            dicUrl: "/api/dispatcherUnit/page-tree",
            props: {
              label: "name",
              value: "id",
            },
            hide: true,
            searchSpan: 4,
            search: true,
            overHidden: true,
            type: "select",
            type: "tree",
            rules: [
              {
                required: true,
@@ -233,6 +240,7 @@
            label: "身份证",
            prop: "cardid",
            labelWidth: 120,
            overHidden: true,
            rules: [
              {
                required: true,
@@ -261,6 +269,7 @@
            labelWidth: 120,
            searchSpan: 4,
            search: true,
            overHidden: true,
            rules: [
              {
                required: true,
@@ -277,6 +286,7 @@
            format: "yyyy-MM-dd hh:mm:ss",
            valueFormat: "yyyy-MM-dd hh:mm:ss",
            labelWidth: 120,
            overHidden: true,
            rules: [
              {
                required: true,
src/views/dispatchChild/data.js
@@ -98,10 +98,62 @@
    //     // addDisplay: false
    // },
    {
        label: "保安公司",
        prop: "deptId",
        labelWidth: 120,
        searchLabelWidth: 120,
        searchSpan: 4,
        dicUrl:
            "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
        props: {
            label: "title",
            value: "id",
        },
        search: true,
        overHidden: true,
        type: "select",
        rules: [
            {
                required: true,
                message: "请输入保安公司",
                trigger: "blur",
            },
        ],
    },
    {
        label: "派遣单位",
        prop: "dispatcherCompany",
        addDisplay: false,
        editDisplay: false,
    },
    {
        label: "派遣单位",
        prop: "dispatcherUnitId",
        labelWidth: 120,
        searchLabelWidth: 120,
        dicUrl: "/api/dispatcherUnit/page-tree",
        props: {
            label: "name",
            value: "id",
        },
        hide: true,
        searchSpan: 4,
        search: true,
        overHidden: true,
        type: "tree",
        rules: [
            {
                required: true,
                message: "请输入保安公司",
                trigger: "blur",
            },
        ],
    },
    {
        label: "保安人名称",
        prop: "name",
        search: true,
        searchSpan: 5,
        searchSpan: 4,
        searchLabelWidth: 120
        // overHidden: true
    }, {
@@ -125,7 +177,7 @@
        format: "yyyy-MM-dd hh:mm:ss",
        valueFormat: "timestamp",
        search: true,
        searchSpan: 5,
        searchSpan: 4,
        // overHidden: true
    }, {
        label: "结束时间",