authRoutes.js 7.41 KB
Newer Older
wuhao's avatar
wuhao committed
1
export default [
TZW's avatar
TZW committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
  {
    path: '/welcome',
    name: '首页',
    icon: 'smile',
    component: './Welcome',
  },
  {
    name: '基础设置',
    icon: 'setting',
    path: '/setting',
    routes: [
      {
        name: '用户管理',
        path: '/setting/users',
        component: './setting/users',
      },
      {
        name: '角色管理',
        path: '/setting/role',
        component: './setting/role',
      },
      {
        name: '组织管理',
        path: '/setting/organization',
        component: './setting/organization',
      },
      {
        name: '工厂管理',
        path: '/setting/factory',
        component: './setting/factory',
      },
      {
        name: '车间管理',
        path: '/setting/workshop',
        component: './setting/workshop',
      },
      {
        name: '工段管理',
        path: '/setting/section',
        component: './setting/section',
      },
      {
        name: '产线管理',
        path: '/setting/production',
        component: './setting/production',
      },
    ],
  },
  {
    name: '设备管理',
    icon: 'bulb',
    path: '/device',
    routes: [
      {
        name: '设备台账',
        path: '/device/account',
        component: './device/account',
      },
      {
        name: '设备类型',
        path: '/device/type',
        component: './device/type',
      },
      {
        name: '设备型号',
        path: '/device/model',
        component: './device/model',
      },
      {
        name: '设备供应商',
        path: '/device/supplier',
        component: './device/supplier',
      },
    ],
  },
  {
    name: '维修管理',
    path: '/repair',
    icon: 'tool',
    routes: [
      {
        name: '接单平台',
        path: '/repair/platform',
        icon: '',
        component: './repair/platform',
      },
      {
        name: '故障报修',
        path: '/repair/failure',
        icon: '',
        component: './repair/failure',
      },
      {
        name: '维修工单',
        path: '/repair/order',
        icon: '',
        component: './repair/order',
      },
      {
        name: '追踪工单',
        path: '/repair/track',
        icon: '',
        component: './repair/track',
      },
      {
        name: '外协工单',
        path: '/repair/outsourcing',
        icon: '',
        component: './repair/outsourcing',
      },
      {
        name: '故障设置',
        path: '/repair/fault',
        icon: '',
        component: './repair/fault',
      },
    ],
  },
  {
    name: '系统管理',
    path: '/system',
    icon: 'desktop',
    routes: [
      {
        name: '数据字典',
        path: '/system/dictionary',
        icon: '',
        component: './system/dictionary',
      },
      {
        name: '扩展字段',
        path: '/system/field',
        icon: '',
        component: './system/field',
      },
      {
        name: '编号规则',
        path: '/system/rules',
        icon: '',
        component: './system/rules',
      },
      {
        name: '推送配置',
        path: '/system/pushsetting',
        icon: '',
        component: './system/pushsetting',
      },
    ],
  },
  {
    name: '备件管理',
    path: '/spare',
    icon: 'sliders',
    routes: [
      {
        name: ' 备件库存',
        path: '/spare/stock',
        icon: '',
        component: './spare/stock',
      },
      {
        name: '入库管理',
        path: '/spare/instore',
        icon: '',
        component: './spare/instore',
      },
      {
        name: '出库管理',
        path: '/spare/outstore',
        icon: '',
        component: './spare/outstore',
      },
      {
        name: '出入库记录',
        path: '/spare/record',
        icon: '',
        component: './spare/record',
      },
      {
        name: '备件领用',
        path: '/spare/requisition',
        icon: '',
        component: './spare/requisition',
      },
      {
        name: '备件回冲',
        path: '/spare/spareback',
        icon: '',
        component: './spare/spareback',
      },
      {
        name: ' 线边库存',
        path: '/spare/edgestore',
        icon: '',
        component: './spare/edgestore',
      },
      {
        name: '备件供应商',
        path: '/spare/supplier',
        icon: '',
        component: './spare/supplier',
      },
      {
        name: '使用记录',
        path: '/spare/userecord',
        icon: '',
        component: './spare/userecord',
      },
      {
        name: '备件设置',
        path: '/spare/setting',
        icon: '',
        component: './spare/setting',
      },
    ],
  },
  {
    name: '点检管理',
    path: '/check',
    icon: 'check-circle',
    routes: [
      {
        name: ' 点检标准',
        path: '/check/standard',
        icon: '',
        component: './check/standard',
      },
      {
        name: '点检计划',
        path: '/check/plan',
        icon: '',
        component: './check/plan',
      },
      {
        name: '点检接单',
        path: '/check/order',
        icon: '',
        component: './check/order',
      },
      {
        name: '点检工单',
        path: '/check/task',
        icon: '',
        component: './check/task',
      },
    ],
  },
  {
    name: '保养管理',
    path: '/maintain',
    icon: 'dashboard',
    routes: [
      {
        name: '保养接单',
        path: '/maintain/orders',
        icon: '',
        component: './maintain/orders',
      },
      {
        name: '保养工单',
        path: '/maintain/workOrder',
        icon: '',
        component: './maintain/workOrder',
      },
      {
        name: ' 保养标准',
        path: '/maintain/criterion',
        icon: '',
        component: './maintain/criterion',
      },
      {
        name: '保养计划',
        path: '/maintain/plan',
        icon: '',
        component: './maintain/plan',
      },
    ],
  },
  {
    name: '寿命件管理',
    path: '/lifeparts',
    icon: 'control',
    routes: [
      {
        name: '寿命件台账',
        path: '/lifeparts/count',
        icon: '',
        component: './lifeparts/count',
      },
      {
        name: '寿命件预警',
        path: '/lifeparts/warning',
        icon: '',
        component: './lifeparts/warning',
      },
      {
        name: '寿命件标准',
        path: '/lifeparts/criterion',
        icon: '',
        component: './lifeparts/criterion',
      },
    ],
  },
左玲玲's avatar
左玲玲 committed
305 306 307 308 309 310 311 312 313 314
  {
    name: '租赁管理',
    path: '/lease',
    icon: 'laptop',
    routes: [
      {
        name: '租赁客户',
        path: '/lease/custom',
        icon: '',
        component: './lease/custom',
左玲玲's avatar
左玲玲 committed
315 316 317 318 319 320 321
      },
      {
        name: '租赁台账',
        path: '/lease/ledger',
        icon: '',
        component: './lease/ledger',
      },
左玲玲's avatar
左玲玲 committed
322 323 324 325 326 327
      {
        name: '设备供应商',
        path: '/lease/supplier',
        icon: '',
        component: './lease/supplier',
      },
328 329 330 331 332 333
      {
        name: '设备查看',
        path: '/lease/devicedata',
        icon: '',
        component: './lease/devicedata',
      },
左玲玲's avatar
左玲玲 committed
334 335 336 337 338 339
      {
        name: '租赁合同',
        path: '/lease/contract',
        icon: '',
        component: './lease/contract',
      },
左玲玲's avatar
左玲玲 committed
340 341 342 343 344 345
      {
        name: '费用分析',
        path: '/lease/costanalysis',
        icon: '',
        component: './lease/costanalysis',
      },
左玲玲's avatar
左玲玲 committed
346 347 348 349 350 351
      {
        name: '租赁设备',
        path: '/lease/leasedevice',
        icon: '',
        component: './lease/leasedevice',
      },
左玲玲's avatar
左玲玲 committed
352 353
    ],
  },
TZW's avatar
TZW committed
354
];