Browse Source

修改bug

QuKatie 3 years ago
parent
commit
0acda0dc61

+ 6 - 0
src/api/basicData/salaryConfiguration.js

@@ -16,6 +16,12 @@ export function detail(id) {
     method: 'get'
   })
 }
+export function detailItem(id) {
+  return request({
+    url: '/api/blade-client/schoolconfigitem/list?pid=' + id,
+    method: 'get'
+  })
+}
 //修改和新增
 export function submit(data) {
   return request({

+ 578 - 653
src/router/views/index.js

@@ -5,839 +5,764 @@ export default [{
     component: Layout,
     redirect: '/wel/index',
     children: [{
-        path: 'index',
-        name: '首页',
-        meta: {
-            i18n: 'dashboard'
-        },
-        component: () =>
-            import( /* webpackChunkName: "views" */ '@/views/wel/index')
+      path: 'index',
+      name: '首页',
+      meta: {
+        i18n: 'dashboard'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/wel/index')
     }, {
-        path: 'dashboard',
-        name: '控制台',
-        meta: {
-            i18n: 'dashboard',
-            menu: false,
-        },
-        component: () =>
-            import( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
-    }]
-}, {
+      path: 'dashboard',
+      name: '控制台',
+      meta: {
+        i18n: 'dashboard',
+        menu: false,
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
+    }]
+  }, {
     path: '/test',
     component: Layout,
     redirect: '/test/index',
     children: [{
-        path: 'index',
-        name: '测试页',
-        meta: {
-            i18n: 'test'
-        },
-        component: () =>
-            import( /* webpackChunkName: "views" */ '@/views/util/test')
+      path: 'index',
+      name: '测试页',
+      meta: {
+        i18n: 'test'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/util/test')
     }]
-}, {
+  }, {
     path: '/dict-horizontal',
     component: Layout,
     redirect: '/dict-horizontal/index',
     children: [{
-        path: 'index',
-        name: '字典管理',
-        meta: {
-            i18n: 'dict'
-        },
-        component: () =>
-            import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
+      path: 'index',
+      name: '字典管理',
+      meta: {
+        i18n: 'dict'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
     }]
-}, {
+  }, {
     path: '/dict-vertical',
     component: Layout,
     redirect: '/dict-vertical/index',
     children: [{
-        path: 'index',
-        name: '字典管理',
-        meta: {
-            i18n: 'dict'
-        },
-        component: () =>
-            import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
+      path: 'index',
+      name: '字典管理',
+      meta: {
+        i18n: 'dict'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
     }]
-}, {
+  }, {
     path: '/info',
     component: Layout,
     redirect: '/info/index',
     children: [{
-        path: 'index',
-        name: '个人信息',
-        meta: {
-            i18n: 'info'
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
-    }]
-},{
-        path: '/detailsPageEdit',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/detailsPageEdit',
-                meta: {
-                    i18n: 'detailsPageEdit'
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerInformation/detailsPageEdit')
-            }
-        ]
-    },
-    {
+      path: 'index',
+      name: '个人信息',
+      meta: {
+        i18n: 'info'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
+    }]
+  }, {
+    path: '/detailsPageEdit',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/detailsPageEdit',
+      meta: {
+        i18n: 'detailsPageEdit'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerInformation/detailsPageEdit')
+    }]
+  },
+  {
+    path: '/basicData/customerManagement/companyMaterial/detailsPageEdit',
+    component: Layout,
+    hidden: true,
+    children: [{
       path: '/basicData/customerManagement/companyMaterial/detailsPageEdit',
-      component: Layout,
-      hidden: true,
-      children: [
-          {
-              path: '/basicData/customerManagement/companyMaterial/detailsPageEdit',
-              meta: {
-                  i18n: 'detailsPageEdit'
-              },
-              component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/companyMaterial/detailsPageEdit')
-          }
-      ]
+      meta: {
+        i18n: 'detailsPageEdit'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/companyMaterial/detailsPageEdit')
+    }]
   },
   {
     path: '/basicData/customerManagement/supplierMaterial/detailsPageEdit',
     component: Layout,
     hidden: true,
-    children: [
-        {
-            path: '/basicData/customerManagement/supplierMaterial/detailsPageEdit',
-            meta: {
-                i18n: 'detailsPageEdit'
-            },
-            component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/supplierMaterial/detailsPageEdit')
-        }
-    ]
-},
-    //商品false
-    {
-        path: '/commodityType_detailsPageEdit',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/commodityType_detailsPageEdit',
-                meta: {
-                    i18n: 'commodityType_detailsPageEdit'
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/commodityType/detailsPageEdit')
-            }
-        ]
-    },
-    //商城管理
-    //商品列表详情页
-    {
-        path: '/productList_detailsPageEdit',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/productList_detailsPageEdit',
-                meta: {
-                    i18n: 'productList_detailsPageEdit'
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/mallManagement/commodity/productList/detailsPageEdit')
-            }
-        ]
-    },
+    children: [{
+      path: '/basicData/customerManagement/supplierMaterial/detailsPageEdit',
+      meta: {
+        i18n: 'detailsPageEdit'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/supplierMaterial/detailsPageEdit')
+    }]
+  },
+  //商品false
+  {
+    path: '/commodityType_detailsPageEdit',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/commodityType_detailsPageEdit',
+      meta: {
+        i18n: 'commodityType_detailsPageEdit'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/commodityType/detailsPageEdit')
+    }]
+  },
+  //商城管理
+  //商品列表详情页
+  {
+    path: '/productList_detailsPageEdit',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/productList_detailsPageEdit',
+      meta: {
+        i18n: 'productList_detailsPageEdit'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/mallManagement/commodity/productList/detailsPageEdit')
+    }]
+  },
   //产品
   {
     path: '/productInfo_detailsPageEdit',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/basicData/productInformation/index',
-        name:'产品信息',
-        meta: {
-          i18n: 'basicData/productInformation/index'
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/productInformation/index')
-      }
-    ]
-  },
-    //销售详情页
-    {
-        path: '/businessManagement/salesOrder/index',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/businessManagement/salesOrder/index',
-                name: '销售订单(N)',
-                meta: {
-                    i18n: 'businessManagement/salesOrder/index',
-                    keepAlive: true,
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/salesOrder/index')
-            }
-        ]
-    },
-    //发货通知详情页
-    {
-        path: '/businessManagement/deliveryNotice/index',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/businessManagement/deliveryNotice/index',
-                name: '客户确认(N)',
-                meta: {
-                    i18n: 'businessManagement/deliveryNotice/index',
-                  keepAlive: true,
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/deliveryNotice/index')
-            }
-        ]
-    },
-    //价格管理详情页
-    {
-        path: '/priceManagement_detailsPageEdit',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/priceManagement_detailsPageEdit',
-                meta: {
-                    i18n: 'priceManagement_detailsPageEdit'
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/priceManagement/detailsPageEdit')
-            }
-        ]
-    },
-    //销售政策详情页
-    {
-        path: '/maintenance/salesPolicy/index',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/maintenance/salesPolicy/index',
-                name: '销售政策',
-                meta: {
-                    i18n: 'maintenance/salesPolicy/index',
-                    keepAlive: true,
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/salesPolicy/index')
-            }
-        ]
-    },
-    //秒杀详情页
-    {
-        path: '/panicBuyingInformation_detailsPageEdit',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/panicBuyingInformation_detailsPageEdit',
-                meta: {
-                    i18n: 'panicBuyingInformation_detailsPageEdit'
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/panicBuyingInformation/detailsPageEdit')
-            }
-        ]
-    },
-    //上架商品详情页
-    {
-        path: '/goodsOnTheShelves_detailsPageEdit',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/goodsOnTheShelves_detailsPageEdit',
-                meta: {
-                    i18n: 'goodsOnTheShelves_detailsPageEdit'
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/goodsOnTheShelves/detailsPageEdit')
-            }
-        ]
-    },
-    //收货单详情页
-    {
-        path: '/businessManagement/receipt/index',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/businessManagement/receipt/index',
-                name: '采购确认(N)',
-                meta: {
-                    keepAlive: true,
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/receipt/index')
-            }
-        ]
-    },
-    //采购订单详情页
-    {
-        path: '/businessManagement/purchaseOrder/index',
-        component: Layout,
-        hidden: true,
-        children: [
-            {
-                path: '/businessManagement/purchaseOrder/index',
-                name: '采购订单(N)',
-                meta: {
-                    i18n: 'businessManagement/purchaseOrder/index',
-                    keepAlive: true,
-                },
-                component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/purchaseOrder/index')
-            }
-        ]
-    },
-    // 采购合同详情页
-    {
+    children: [{
+      path: '/basicData/productInformation/index',
+      name: '产品信息',
+      meta: {
+        i18n: 'basicData/productInformation/index'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/productInformation/index')
+    }]
+  },
+  //销售详情页
+  {
+    path: '/businessManagement/salesOrder/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/businessManagement/salesOrder/index',
+      name: '销售订单(N)',
+      meta: {
+        i18n: 'businessManagement/salesOrder/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/salesOrder/index')
+    }]
+  },
+  //发货通知详情页
+  {
+    path: '/businessManagement/deliveryNotice/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/businessManagement/deliveryNotice/index',
+      name: '客户确认(N)',
+      meta: {
+        i18n: 'businessManagement/deliveryNotice/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/deliveryNotice/index')
+    }]
+  },
+  //价格管理详情页
+  {
+    path: '/priceManagement_detailsPageEdit',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/priceManagement_detailsPageEdit',
+      meta: {
+        i18n: 'priceManagement_detailsPageEdit'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/priceManagement/detailsPageEdit')
+    }]
+  },
+  //销售政策详情页
+  {
+    path: '/maintenance/salesPolicy/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/maintenance/salesPolicy/index',
+      name: '销售政策',
+      meta: {
+        i18n: 'maintenance/salesPolicy/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/salesPolicy/index')
+    }]
+  },
+  //秒杀详情页
+  {
+    path: '/panicBuyingInformation_detailsPageEdit',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/panicBuyingInformation_detailsPageEdit',
+      meta: {
+        i18n: 'panicBuyingInformation_detailsPageEdit'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/panicBuyingInformation/detailsPageEdit')
+    }]
+  },
+  //上架商品详情页
+  {
+    path: '/goodsOnTheShelves_detailsPageEdit',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/goodsOnTheShelves_detailsPageEdit',
+      meta: {
+        i18n: 'goodsOnTheShelves_detailsPageEdit'
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/goodsOnTheShelves/detailsPageEdit')
+    }]
+  },
+  //收货单详情页
+  {
+    path: '/businessManagement/receipt/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/businessManagement/receipt/index',
+      name: '采购确认(N)',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/receipt/index')
+    }]
+  },
+  //采购订单详情页
+  {
+    path: '/businessManagement/purchaseOrder/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/businessManagement/purchaseOrder/index',
+      name: '采购订单(N)',
+      meta: {
+        i18n: 'businessManagement/purchaseOrder/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/purchaseOrder/index')
+    }]
+  },
+  // 采购合同详情页
+  {
+    path: '/purchase/contract/index',
+    component: Layout,
+    hidden: true,
+    children: [{
       path: '/purchase/contract/index',
-      component: Layout,
-      hidden: true,
-      children: [
-        {
-          path: '/purchase/contract/index',
-          name:'采购订单(I)',
-          meta: {
-            i18n: '/purchase/contract/index',
-            keepAlive: true
-          },
-          component: () => import( /* webpackChunkName: "views" */ '@/views/purchase/contract/index')
-        }
-      ]
-    },
+      name: '采购订单(I)',
+      meta: {
+        i18n: '/purchase/contract/index',
+        keepAlive: true
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/purchase/contract/index')
+    }]
+  },
   // 销售合同详情页
-    {
+  {
+    path: '/salesManagement/salesContract/index',
+    component: Layout,
+    hidden: true,
+    children: [{
       path: '/salesManagement/salesContract/index',
-      component: Layout,
-      hidden: true,
-      children: [
-        {
-          path: '/salesManagement/salesContract/index',
-          name:'销售订单(I)',
-          meta: {
-            i18n: '/salesManagement/salesContract/index',
-            keepAlive: true
-          },
-          component: () => import( /* webpackChunkName: "views" */ '@/views/salesManagement/salesContract/index')
-        }
-      ]
-    },
+      name: '销售订单(I)',
+      meta: {
+        i18n: '/salesManagement/salesContract/index',
+        keepAlive: true
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/salesManagement/salesContract/index')
+    }]
+  },
   // 进口 收货单详情页
   {
     path: '/importTrade/receipt/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/importTrade/receipt/index',
-        name:'收货单(I)',
-        meta: {
-          i18n: '/importTrade/receipt/index',
-          keepAlive: true
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/importTrade/receipt/index')
-      }
-    ]
+    children: [{
+      path: '/importTrade/receipt/index',
+      name: '收货单(I)',
+      meta: {
+        i18n: '/importTrade/receipt/index',
+        keepAlive: true
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/importTrade/receipt/index')
+    }]
   },
-    // 进口 发货单详情页
+  // 进口 发货单详情页
   {
     path: '/importTrade/invoice/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/importTrade/invoice/index',
-        name:'发货单(I)',
-        meta: {
-          i18n: 'importTrade/invoice/index',
-          keepAlive: true
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/importTrade/invoice/index')
-      }
-    ]
-  },
-   // 出口 客户询价
-   {
+    children: [{
+      path: '/importTrade/invoice/index',
+      name: '发货单(I)',
+      meta: {
+        i18n: 'importTrade/invoice/index',
+        keepAlive: true
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/importTrade/invoice/index')
+    }]
+  },
+  // 出口 客户询价
+  {
     path: '/exportTrade/customerInquiry/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/exportTrade/customerInquiry/index',
-        name:'报价(E)',
-        meta: {
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/customerInquiry/index')
-      }
-    ]
+    children: [{
+      path: '/exportTrade/customerInquiry/index',
+      name: '报价(E)',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/customerInquiry/index')
+    }]
   },
-    // 出口 采购询价
-    {
+  // 出口 采购询价
+  {
+    path: '/exportTrade/purchaseInquiry/index',
+    component: Layout,
+    hidden: true,
+    children: [{
       path: '/exportTrade/purchaseInquiry/index',
-      component: Layout,
-      hidden: true,
-      children: [
-        {
-          path: '/exportTrade/purchaseInquiry/index',
-          name:'询价(E)',
-          meta: {
-            keepAlive: true,
-          },
-          component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/purchaseInquiry/index')
-        }
-      ]
-    },
-    // 出口 船务询价
-    {
-          path: '/exportTrade/shippingInquiry/index',
-          component: Layout,
-          hidden: true,
-          children: [
-            {
-              path: '/exportTrade/shippingInquiry/index',
-              name:'船务(E)',
-              meta: {
-                keepAlive: true,
-              },
-              component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/shippingInquiry/index')
-            }
-          ]
-        },
+      name: '询价(E)',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/purchaseInquiry/index')
+    }]
+  },
+  // 出口 船务询价
+  {
+    path: '/exportTrade/shippingInquiry/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/exportTrade/shippingInquiry/index',
+      name: '船务(E)',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/shippingInquiry/index')
+    }]
+  },
   // 出口 销售订单
   {
     path: '/exportTrade/salesContract/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/exportTrade/salesContract/index',
-        name:'销售(E)',
-        meta: {
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/salesContract/index')
-      }
-    ]
+    children: [{
+      path: '/exportTrade/salesContract/index',
+      name: '销售(E)',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/salesContract/index')
+    }]
   },
   // 出口 采购订单
   {
     path: '/exportTrade/purchaseContract/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/exportTrade/purchaseContract/index',
-        name:'采购(E)',
-        meta: {
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/purchaseContract/index')
-      }
-    ]
+    children: [{
+      path: '/exportTrade/purchaseContract/index',
+      name: '采购(E)',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/purchaseContract/index')
+    }]
   },
   // 进口 发货单详情页
   {
     path: '/importInvoice_detailsPage',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/importInvoice_detailsPage',
-        name: '发货单',
-        meta: {
-          i18n: 'importInvoice_detailsPage',
-          keepAlive:true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/importTrade/invoice/detailsPageEdit')
-      }
-    ]
+    children: [{
+      path: '/importInvoice_detailsPage',
+      name: '发货单',
+      meta: {
+        i18n: 'importInvoice_detailsPage',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/importTrade/invoice/detailsPageEdit')
+    }]
   },
   // 出口 收货单
   {
     path: '/exportTrade/receipt/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/exportTrade/receipt/index',
-        name:"收货(E)",
-        meta: {
-          keepAlive:true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/receipt/index')
-      }
-    ]
+    children: [{
+      path: '/exportTrade/receipt/index',
+      name: "收货(E)",
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/receipt/index')
+    }]
   },
   // 出口 发货单详情页
   {
     path: '/exportTrade/invoice/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/exportTrade/invoice/index',
-        name:"发货(E)",
-        meta: {
-          keepAlive:true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/invoice/index')
-      }
-    ]
+    children: [{
+      path: '/exportTrade/invoice/index',
+      name: "发货(E)",
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/invoice/index')
+    }]
   },
   // 主营项目
   {
     path: '/workManagement/main-items/list',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/workManagement/main-items/list',
-        name:"主营业务",
-        meta: {
-          keepAlive:true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/main-items/list')
-      }
-    ]
+    children: [{
+      path: '/workManagement/main-items/list',
+      name: "主营业务",
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/main-items/list')
+    }]
   },
   // 统计列表
   {
     path: '/workManagement/receipt/statisticalList',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/workManagement/receipt/statisticalList',
-        name:"统计列表",
-        meta: {
-          keepAlive:true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/receipt/statisticalList')
-      }
-    ]
+    children: [{
+      path: '/workManagement/receipt/statisticalList',
+      name: "统计列表",
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/receipt/statisticalList')
+    }]
   },
   // 业绩分析
   {
     path: '/workManagement/performanceAnalysis/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/workManagement/performanceAnalysis/index',
-        name:"业绩分析",
-        meta: {
-          keepAlive:true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/performanceAnalysis/index')
-      }
-    ]
+    children: [{
+      path: '/workManagement/performanceAnalysis/index',
+      name: "业绩分析",
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/performanceAnalysis/index')
+    }]
   },
   // 结算详情页
   {
     path: '/workManagement/receipt/settleAccounts',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/workManagement/receipt/settleAccounts',
-        name:"结算",
-        meta: {
-          keepAlive:true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/receipt/settleAccounts')
-      }
-    ]
+    children: [{
+      path: '/workManagement/receipt/settleAccounts',
+      name: "结算",
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/receipt/settleAccounts')
+    }]
   },
   // 付费申请
   {
     path: '/financialManagement/paymentRequest/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/financialManagement/paymentRequest/index',
-        name:"付费申请",
-        meta: {
-          i18n: '/financialManagement/paymentRequest/index',
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/paymentRequest/index')
-      }
-    ]
+    children: [{
+      path: '/financialManagement/paymentRequest/index',
+      name: "付费申请",
+      meta: {
+        i18n: '/financialManagement/paymentRequest/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/paymentRequest/index')
+    }]
   },
   // 付款结算
   {
     path: '/financialManagement/paymentSettle/paymentSettle',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/financialManagement/paymentSettle/paymentSettle',
-        name:"付款结算",
-        meta: {
-          i18n: '/financialManagement/paymentSettle/paymentSettle',
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/paymentSettle/paymentSettle')
-      }
-    ]
+    children: [{
+      path: '/financialManagement/paymentSettle/paymentSettle',
+      name: "付款结算",
+      meta: {
+        i18n: '/financialManagement/paymentSettle/paymentSettle',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/paymentSettle/paymentSettle')
+    }]
   },
   //收款结算
   {
     path: '/financialManagement/receiptSettle/receiptSettle',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/financialManagement/receiptSettle/receiptSettle',
-        name:"收款结算",
-        meta: {
-          i18n: '/financialManagement/receiptSettle/receiptSettle',
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/receiptSettle/receiptSettle')
-      }
-    ]
+    children: [{
+      path: '/financialManagement/receiptSettle/receiptSettle',
+      name: "收款结算",
+      meta: {
+        i18n: '/financialManagement/receiptSettle/receiptSettle',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/receiptSettle/receiptSettle')
+    }]
   },
   //审批数据
   {
     path: '/approveData/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/approveData/index',
-        name:"审批数据",
-        meta: {
-          i18n: '/approveData/index',
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/approveData/index')
-      }
-    ]
+    children: [{
+      path: '/approveData/index',
+      name: "审批数据",
+      meta: {
+        i18n: '/approveData/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/approveData/index')
+    }]
   },
   // 账单明细
   {
     path: '/bill_details',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/financialManagement/billDetails/billDetails',
-        name:"账单明细",
-        meta: {
-          i18n: '/financialManagement/billDetails/billDetails',
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/billDetails/billDetails')
-      }
-    ]
+    children: [{
+      path: '/financialManagement/billDetails/billDetails',
+      name: "账单明细",
+      meta: {
+        i18n: '/financialManagement/billDetails/billDetails',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/billDetails/billDetails')
+    }]
   },
   //销项发票
   {
     path: '/financialManagement/outputInvoice/outputInvoice',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/financialManagement/outputInvoice/outputInvoice',
-        name:"销项发票",
-        meta: {
-          i18n: '/financialManagement/outputInvoice/outputInvoice',
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/outputInvoice/outputInvoice')
-      }
-    ]
+    children: [{
+      path: '/financialManagement/outputInvoice/outputInvoice',
+      name: "销项发票",
+      meta: {
+        i18n: '/financialManagement/outputInvoice/outputInvoice',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/outputInvoice/outputInvoice')
+    }]
   },
   //进项发票
   {
     path: '/financialManagement/incomeInvoice/incomeInvoice',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/financialManagement/incomeInvoice/incomeInvoice',
-        name:"进项发票",
-        meta: {
-          i18n: '/financialManagement/incomeInvoice/incomeInvoice',
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/incomeInvoice/incomeInvoice')
-      }
-    ]
+    children: [{
+      path: '/financialManagement/incomeInvoice/incomeInvoice',
+      name: "进项发票",
+      meta: {
+        i18n: '/financialManagement/incomeInvoice/incomeInvoice',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/incomeInvoice/incomeInvoice')
+    }]
   },
   //进口库存账
   {
     path: '/purchase/stockBill/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/purchase/stockBill/index',
-        name:"库存账",
-        meta: {
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/purchase/stockBill/index')
-      }
-    ]
+    children: [{
+      path: '/purchase/stockBill/index',
+      name: "库存账",
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/purchase/stockBill/index')
+    }]
   },
   //利润分析
   {
     path: '/statisticAnalysis/profit/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/statisticAnalysis/profit/index',
-        name:"利润分析",
-        meta: {
-          i18n: '/statisticAnalysis/profit/index',
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/statisticAnalysis/profit/index')
-      }
-    ]
+    children: [{
+      path: '/statisticAnalysis/profit/index',
+      name: "利润分析",
+      meta: {
+        i18n: '/statisticAnalysis/profit/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/statisticAnalysis/profit/index')
+    }]
   },
   // 订单详情
   {
     path: '/orderManagement/orderDetail/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/orderManagement/orderDetail/index',
-        name:"订单详情",
-        meta: {
-          i18n: '/orderManagement/orderDetail/index',
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/orderManagement/orderDetail/index')
-      }
-    ]
-  },
-    {
-        path: '/work/process/leave',
-        component: Layout,
-        redirect: '/work/process/leave/form',
-        children: [{
-            path: 'form/:processDefinitionId',
-            name: '请假流程',
-            meta: {
-                i18n: 'work'
-            },
-            component: () =>
-                import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
-        }, {
-            path: 'handle/:taskId/:processInstanceId/:businessId',
-            name: '处理请假流程',
-            meta: {
-                i18n: 'work'
-            },
-            component: () =>
-                import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
-        }, {
-            path: 'detail/:processInstanceId/:businessId',
-            name: '请假流程详情',
-            meta: {
-                i18n: 'work'
-            },
-            component: () =>
-                import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
-        }]
-    },{
-      path: '/work/process/test',
-      component: Layout,
-      redirect: '/work/process/test/form',
-      children: [{
-        path: 'form/:processDefinitionId',
-        name: '请假流程',
-        meta: {
-          i18n: 'work'
-        },
-        component: () =>
-          import( /* webpackChunkName: "views" */ '@/views/work/process/test/form')
-      }, {
-        path: 'handle/:taskId/:processInstanceId/:businessId',
-        name: '处理请假流程',
-        meta: {
-          i18n: 'work'
-        },
-        component: () =>
-          import( /* webpackChunkName: "views" */ '@/views/work/process/test/handle')
-      }, {
-        path: 'detail/:processInstanceId/:businessId',
-        name: '请假流程详情',
-        meta: {
-          i18n: 'work'
-        },
-        component: () =>
-          import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
-      }]
-    },
+    children: [{
+      path: '/orderManagement/orderDetail/index',
+      name: "订单详情",
+      meta: {
+        i18n: '/orderManagement/orderDetail/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/orderManagement/orderDetail/index')
+    }]
+  },
+  {
+    path: '/work/process/leave',
+    component: Layout,
+    redirect: '/work/process/leave/form',
+    children: [{
+      path: 'form/:processDefinitionId',
+      name: '请假流程',
+      meta: {
+        i18n: 'work'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
+    }, {
+      path: 'handle/:taskId/:processInstanceId/:businessId',
+      name: '处理请假流程',
+      meta: {
+        i18n: 'work'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
+    }, {
+      path: 'detail/:processInstanceId/:businessId',
+      name: '请假流程详情',
+      meta: {
+        i18n: 'work'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
+    }]
+  }, {
+    path: '/work/process/test',
+    component: Layout,
+    redirect: '/work/process/test/form',
+    children: [{
+      path: 'form/:processDefinitionId',
+      name: '请假流程',
+      meta: {
+        i18n: 'work'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/work/process/test/form')
+    }, {
+      path: 'handle/:taskId/:processInstanceId/:businessId',
+      name: '处理请假流程',
+      meta: {
+        i18n: 'work'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/work/process/test/handle')
+    }, {
+      path: 'detail/:processInstanceId/:businessId',
+      name: '请假流程详情',
+      meta: {
+        i18n: 'work'
+      },
+      component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
+    }]
+  },
   {
     path: '/businessManagement/inventoryAccount/detail',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/businessManagement/inventoryAccount/detail',
-        name: '锁定订单明细',
-        meta: {
-          keepAlive:true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/inventoryAccount/detail')
-      }
-    ]
+    children: [{
+      path: '/businessManagement/inventoryAccount/detail',
+      name: '锁定订单明细',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/inventoryAccount/detail')
+    }]
   },
   {
     path: '/basicData/facultyManagement/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/basicData/facultyManagement/index',
-        name:'教职工管理',
-        meta: {
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/facultyManagement/index')
-      }
-    ]
+    children: [{
+      path: '/basicData/facultyManagement/index',
+      name: '教职工管理',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/facultyManagement/index')
+    }]
+  },
+  {
+    path: '/basicData/salaryConfiguration/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/salaryConfiguration/index',
+      name: '学校标准配置',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/salaryConfiguration/index')
+    }]
   },
   {
     path: '/salaryManagement/primarySchool/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/salaryManagement/primarySchool/index',
-        name:'小学部',
-        meta: {
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/salaryManagement/primarySchool/index')
-      }
-    ]
+    children: [{
+      path: '/salaryManagement/primarySchool/index',
+      name: '小学部',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/salaryManagement/primarySchool/index')
+    }]
   },
   {
     path: '/system/businessLock/index',
     component: Layout,
     hidden: true,
-    children: [
-      {
-        path: '/system/businessLock/index',
-        name:'模块加锁',
-        meta: {
-          keepAlive: true,
-        },
-        component: () => import( /* webpackChunkName: "views" */ '@/views/system/businessLock/index')
-      }
-    ]
+    children: [{
+      path: '/system/businessLock/index',
+      name: '模块加锁',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/system/businessLock/index')
+    }]
   },
 ]

+ 1 - 1
src/views/basicData/facultyManagement/detailsPage.vue

@@ -637,7 +637,6 @@ export default {
               label: "dictValue",
               value: "dictValue"
             },
-            row: true,
             span: 6
           },
           {
@@ -651,6 +650,7 @@ export default {
               label: "dictValue",
               value: "dictValue"
             },
+                        row: true,
             span: 6
           },
           {

+ 42 - 7
src/views/basicData/salaryConfiguration/detailsPage.vue

@@ -11,13 +11,19 @@
             >返回列表
           </el-button>
         </div>
-        <el-button
-          class="el-button--small-yh add-customer-btn"
-          type="primary"
-          size="small"
-          @click="editCustomer"
-          >保存数据
-        </el-button>
+        <div class="add-customer-btn">
+          <el-button
+            type="success"
+            :disabled="!form.id"
+            size="small"
+            @click="copyDoc"
+          >
+            复制新单
+          </el-button>
+          <el-button type="primary" size="small" @click="editCustomer"
+            >保存数据
+          </el-button>
+        </div>
       </div>
       <containerTitle
         title="基础资料"
@@ -36,6 +42,7 @@
               v-model="form.resultType"
               placeholder="请选择"
               clearable
+              :filterable="true"
               :disabled="detailData.status == 1"
             >
               <el-option
@@ -174,6 +181,7 @@ export default {
                 trigger: "blur"
               }
             ],
+            filterable: true,
             span: 6
           },
           {
@@ -192,6 +200,7 @@ export default {
                 trigger: "blur"
               }
             ],
+            filterable: true,
             span: 6
           },
           {
@@ -204,6 +213,7 @@ export default {
               label: "dictValue",
               value: "dictValue"
             },
+            filterable: true,
             span: 6
           },
           {
@@ -228,6 +238,7 @@ export default {
               label: "dictValue",
               value: "dictValue"
             },
+            filterable: true,
             span: 6
           },
           {
@@ -308,9 +319,33 @@ export default {
     cellStyle() {
       return "padding:0;height:40px;";
     },
+    copyDoc() {
+      this.$emit("copyOrder", this.form.id);
+    },
     getDetail(id) {
       detail(id)
         .then(res => {
+          if (this.detailData.status == "copy") {
+            delete res.data.data.id;
+            delete res.data.data.createTime;
+            delete res.data.data.createUser;
+            delete res.data.data.createUserName;
+            delete res.data.data.updateTime;
+            delete res.data.data.updateUser;
+            delete res.data.data.updateUserName;
+            delete res.data.data.status;
+            delete res.data.data.isDeleted;
+            res.data.data.schoolConfigItems.forEach(e => {
+              delete e.id;
+              delete e.pid;
+              delete e.createTime;
+              delete e.createUser;
+              delete e.updateTime;
+              delete e.updateUser;
+              delete e.status;
+              delete e.isDeleted;
+            });
+          }
           this.form = res.data.data;
           this.dataList = res.data.data.schoolConfigItems;
         })

+ 145 - 4
src/views/basicData/salaryConfiguration/index.vue

@@ -15,7 +15,18 @@
         :table-loading="loading"
         @saveColumn="saveColumn"
         :cell-style="cellStyle"
+        @expand-change="expandChange"
+        @selection-change="selectionChange"
       >
+        <template slot-scope="{ row }" slot="expand">
+          <avue-crud
+            :data="row.itemData"
+            :option="itemOption"
+            :table-loading="row.itemLoading"
+            :cell-style="cellStyle"
+            class="itemTable"
+          ></avue-crud>
+        </template>
         <template slot="menuLeft">
           <el-button
             type="primary"
@@ -24,6 +35,13 @@
             @click.stop="newAdd()"
             >新增
           </el-button>
+          <el-button
+            type="success"
+            size="small"
+            @click.stop="copyDoc()"
+            :disabled="selectionList.length != 1"
+            >复制新单</el-button
+          >
         </template>
         <template slot-scope="{ row, index }" slot="menu">
           <el-button type="text" size="small" @click.stop="editOpen(row, 1)">
@@ -38,13 +56,22 @@
         </template>
       </avue-crud>
     </basic-container>
-    <details-page v-if="!show" @goBack="backToList" :detailData="detailData" />
+    <details-page
+      v-if="!show"
+      @goBack="backToList"
+      @copyOrder="copyOrder"
+      :detailData="detailData"
+    />
   </div>
 </template>
 
 <script>
 import detailsPage from "./detailsPage";
-import { getList, remove } from "@/api/basicData/salaryConfiguration";
+import {
+  getList,
+  remove,
+  detailItem
+} from "@/api/basicData/salaryConfiguration";
 export default {
   name: "index",
   data() {
@@ -55,6 +82,7 @@ export default {
       search: {},
       detailData: {},
       dataList: [],
+      selectionList: [],
       page: {
         pageSize: 10,
         currentPage: 1,
@@ -63,9 +91,10 @@ export default {
       },
       option: {
         searchShow: true,
-        searchMenuSpan: 16,
+        searchMenuSpan: 8,
         align: "center",
         searchSpan: 8,
+        tip: false,
         border: true,
         index: true,
         addBtn: false,
@@ -77,12 +106,21 @@ export default {
         searchLabelWidth: 100,
         searchIcon: true,
         searchIndex: 2,
-        addBtnText: "新单",
+        selection: true,
         stripe: true,
+        expand: true,
+        expandWidth: 38,
         column: [
           {
             label: "部门",
             prop: "inSection",
+            type: "select",
+            dicUrl: "/api/blade-system/dict-biz/dictionary?code=in_section",
+            props: {
+              label: "dictValue",
+              value: "dictValue"
+            },
+            filterable: true,
             width: "100",
             search: true,
             overHidden: true,
@@ -91,6 +129,14 @@ export default {
           {
             label: "教师类别",
             prop: "salaryWithdrawalStandardName",
+            type: "select",
+            dicUrl:
+              "/api/blade-system/dict-biz/dictionary?code=Salary_allocation_standard",
+            props: {
+              label: "dictValue",
+              value: "dictValue"
+            },
+            filterable: true,
             width: "100",
             search: true,
             overHidden: true,
@@ -99,6 +145,13 @@ export default {
           {
             label: "标准类别",
             prop: "normType",
+            type: "select",
+            dicUrl: "/api/blade-system/dict-biz/dictionary?code=norm_type",
+            props: {
+              label: "dictValue",
+              value: "dictValue"
+            },
+            filterable: true,
             width: "100",
             search: true,
             overHidden: true,
@@ -107,11 +160,33 @@ export default {
           {
             label: "计算类别",
             prop: "resultType",
+            type: "select",
+            dicUrl: "/api/blade-system/dict-biz/dictionary?code=result_type",
+            props: {
+              label: "dictValue",
+              value: "dictValue"
+            },
+            filterable: true,
             width: "100",
             overHidden: true,
             search: true
           },
           {
+            label: "职位",
+            prop: "compileCategory",
+            type: "select",
+            dicUrl:
+              "/api/blade-system/dict-biz/dictionary?code=compile_category",
+            props: {
+              label: "dictValue",
+              value: "dictValue"
+            },
+            filterable: true,
+            width: "100",
+            search: true,
+            span: 8
+          },
+          {
             label: "创建人",
             prop: "createUserName",
             width: "100",
@@ -129,6 +204,28 @@ export default {
             overHidden: true
           }
         ]
+      },
+      itemOption: {
+        align: "center",
+        header: false,
+        menu: false,
+        column: [
+          {
+            label: "类别",
+            prop: "parameter",
+            overHidden: true
+          },
+          {
+            label: "工资标准",
+            prop: "salary",
+            overHidden: true
+          },
+          {
+            label: "备注",
+            prop: "remarks",
+            overHidden: true
+          }
+        ]
       }
     };
   },
@@ -139,6 +236,17 @@ export default {
     cellStyle() {
       return "padding:0;height:40px;";
     },
+    expandChange(row) {
+      if (!row.itemData) {
+        detailItem(row.id)
+          .then(res => {
+            this.dataList[row.$index].itemData = res.data.data.records;
+          })
+          .finally(() => {
+            this.dataList[row.$index].itemLoading = false;
+          });
+      }
+    },
     //点击搜索按钮触发
     searchChange(params, done) {
       this.page.currentPage = 1;
@@ -155,6 +263,11 @@ export default {
       this.loading = true;
       getList(page.currentPage, page.pageSize, params)
         .then(res => {
+          if (res.data.data.records) {
+            res.data.data.records.forEach(e => {
+              e.itemLoading = true;
+            });
+          }
           this.dataList = res.data.data.records ? res.data.data.records : [];
           this.page.total = res.data.data.total;
           if (this.page.total) {
@@ -165,6 +278,28 @@ export default {
           this.loading = false;
         });
     },
+    selectionChange(list) {
+      this.selectionList = list;
+    },
+    copyDoc() {
+      this.selectionList.forEach(e => {
+        this.detailData = {
+          id: e.id,
+          status: "copy"
+        };
+        this.show = false;
+      });
+    },
+    copyOrder(id) {
+      this.show = true;
+      this.detailData = {
+        id: id,
+        status: "copy"
+      };
+      this.$nextTick(() => {
+        this.show = false;
+      });
+    },
     editOpen(row, status) {
       this.detailData = {
         id: row.id,
@@ -210,4 +345,10 @@ export default {
 .page-crad ::v-deep .basic-container__card {
   height: 94.2vh;
 }
+::v-deep .el-table__expanded-cell[class*="cell"] {
+  padding: 0px;
+}
+.itemTable ::v-deep .el-table {
+  width: 738px;
+}
 </style>