loulijun2021
2023-10-23 e7d48e5d05e8575163e3508a1adda24f7c9141e4
src/router/index.js
@@ -279,12 +279,85 @@
  },
  {
    path: '/mouldManager',
    component: Layout,
    redirect: '/mouldManager/mouldList',
    name: '模具管理',
    code: '09',
    meta: { code: '09', title: '模具管理', icon: 'mj' },
    alwaysShow: true,
    children: [
      {
        path: 'mouldList',
        name: 'mouldListCancel',
        code: '0901',
        component: () => import('@/views/mouldManager/mouldList'),
        meta: { code: '0901', title: '模具清单', icon: '', keepAlive: true }
      }, {
        path: 'mouldCheckPos',
        name: 'mouldCheckCancel',
        code: '0902',
        component: () => import('@/views/mouldManager/mouldCheck'),
        meta: { code: '0902', title: '模具点检项', icon: '', keepAlive: true }
      }, {
        path: 'mouldCheckStand',
        name: 'mouldCheckStandCancel',
        code: '0903',
        component: () => import('@/views/mouldManager/mouldCheckStand'),
        meta: { code: '0903', title: '模具点检标准', icon: '', keepAlive: true }
      }, {
        path: 'mouldMaintain',
        name: 'mouldMaintainCancel',
        code: '0904',
        component: () => import('@/views/mouldManager/mouldMaintain'),
        meta: { code: '0904', title: '模具保养项', icon: '', keepAlive: true }
      }, {
        path: 'mouldMaintainStand',
        name: 'mouldMaintainStandCancel',
        code: '0905',
        component: () => import('@/views/mouldManager/mouldMaintainStand'),
        meta: { code: '0905', title: '模具保养标准', icon: '', keepAlive: true }
      }, {
        path: 'mouldCheckRecord',
        name: 'mouldCheckRecordCancel',
        code: '0906',
        component: () => import('@/views/mouldManager/mouldCheckRecord'),
        meta: { code: '0906', title: '模具点检记录', icon: '', keepAlive: true }
      }, {
        path: 'mouldMaintainRecord',
        name: 'mouldMaintainRecordCancel',
        code: '0907',
        component: () => import('@/views/mouldManager/mouldMaintainRecord'),
        meta: { code: '0907', title: '模具保养记录', icon: '', keepAlive: true }
      }, {
        path: 'mouldRepairRecord',
        name: 'mouldRepairRecordCancel',
        code: '0908',
        component: () => import('@/views/mouldManager/mouldRepairRecord'),
        meta: { code: '0908', title: '模具维修记录', icon: '', keepAlive: true }
      }, {
        path: 'mouldUpDownRecord',
        name: 'mouldUpDownRecordCancel',
        code: '0909',
        component: () => import('@/views/mouldManager/mouldUpDownRecord'),
        meta: { code: '0909', title: '模具上下机记录', icon: '', keepAlive: true }
      }, {
        path: 'mouldOutInRecord',
        name: 'mouldOutInRecordCancel',
        code: '0910',
        component: () => import('@/views/mouldManager/mouldOutInRecord'),
        meta: { code: '0910', title: '模具出入库记录', icon: '', keepAlive: true }
      }
    ]
  },
  {
    path: '/qualityManager',
    component: Layout,
    redirect: '/qualityManager/defectDefine',
    name: '质量管理',
    code: '04',
    meta: { code: '04', title: '质量管理', icon: 'quality' },
    meta: { code: '04', title: '质量管理', icon: 'zlgl' },
    alwaysShow: true,
    children: [
      {
@@ -395,44 +468,58 @@
    ]
  },
  // {
  //   path: '/statistic',
  //   component: Layout,
  //   redirect: '/statistic/reportList',
  //   name: '统计报表',
  //   code: '1004',
  //   meta: { code: '1004', title: '统计报表', icon: 'quality' },
  //   alwaysShow: true, // 当children只有一个时,也显示父菜单
  //   children: [
  //     {
  //       path: 'reportList',
  //       name: 'reportListCancel',
  //       code: '1040',
  //       component: () => import('@/views/statistic/reportList'),
  //       meta: { code: '1040', title: '报工记录', icon: '', keepAlive: true }
  //     },
  //     {
  //       path: 'monthReport',
  //       name: 'monthReportCancel',
  //       code: '1041',
  //       component: () => import('@/views/statistic/monthReport'),
  //       meta: { code: '1041', title: '月度统计', icon: '', keepAlive: true }
  //     }, {
  //       path: 'workOrderProcess',
  //       name: 'workOrderProcessCancel',
  //       code: '1042',
  //       component: () => import('@/views/statistic/workOrderProcess'),
  //       meta: { code: '1042', title: '工单进度', icon: '', keepAlive: true }
  //     }, {
  //       path: 'inProcessList',
  //       name: 'inProcessListCancel',
  //       code: '1043',
  //       component: () => import('@/views/statistic/inProcessList'),
  //       meta: { code: '1043', title: '在制列表', icon: '', keepAlive: true }
  //     }
  //
  //   ]
  // },
  {
    path: '/statistic',
    component: Layout,
    redirect: '/statistic/reportList',
    name: '统计报表',
    code: '07',
    meta: { code: '0701', title: '统计报表', icon: 'quality' },
    alwaysShow: true, // 当children只有一个时,也显示父菜单
    children: [
      {
        path: 'reportList',
        name: 'reportListCancel',
        code: '1040',
        component: () => import('@/views/statistic/reportList'),
        meta: { code: '1040', title: '报工记录', icon: '', keepAlive: true }
      },
      {
        path: 'monthReport',
        name: 'monthReportCancel',
        code: '1041',
        component: () => import('@/views/statistic/monthReport'),
        meta: { code: '1041', title: '月度统计', icon: '', keepAlive: true }
      }, {
        path: 'workOrderProcess',
        name: 'workOrderProcessCancel',
        code: '0701',
        component: () => import('@/views/statistic/workOrderProcess'),
        meta: { code: '0701', title: '生产进度', icon: '', keepAlive: true }
      }, {
        path: 'inProcessList',
        name: 'inProcessListCancel',
        code: '1043',
        component: () => import('@/views/statistic/inProcessList'),
        meta: { code: '1043', title: '在制列表', icon: '', keepAlive: true }
      },
      {
        path: 'groupSalaryList',
        name: 'groupSalaryListCancel',
        code: '0702',
        component: () => import('@/views/statistic/groupSalaryList'),
        meta: { code: '0702', title: '班组工资统计报表', icon: '', keepAlive: true }
      },
      {
        path: 'personSalaryList',
        name: 'personSalaryListCancel',
        code: '0703',
        component: () => import('@/views/statistic/personSalaryList'),
        meta: { code: '0703', title: '人员工资统计报表', icon: '', keepAlive: true }
      }
    ]
  },
  {
    path: '/systemSetting',