feat: 完成多模块功能迭代与优化
本次提交包含多模块功能更新: 1. 权限系统重构:移除硬编码admin放行逻辑,新增精细化权限控制,完善权限树形结构与用户/角色保护 2. 新增物料导入导出接口,补充台账查询条件 3. 优化列表查询排序逻辑,新增区域编码大小写不敏感搜索 4. 修复帮助抽屉重复弹出问题,补充页面权限控制 5. 新增弱密码提示逻辑,优化MES/WMS用户/角色管理权限 6. 调整路由结构,新增权限校验脚本与前端权限树重构 7. 补充数据库字段与依赖包更新
This commit is contained in:
@@ -11,13 +11,9 @@ const routes = [
|
||||
children: [
|
||||
{ path: '', name: 'Dashboard', component: () => import('../pages/Dashboard.vue'), meta: { title: '工作台', keepAlive: true, componentName: 'Dashboard' } },
|
||||
{ path: 'inbound', name: 'Inbound', component: () => import('../pages/Inbound.vue'), meta: { title: '入库管理', keepAlive: true, componentName: 'Inbound' } },
|
||||
// 批量入库:由「入库管理」页的按钮在新标签页打开,不进侧栏(单一职责)
|
||||
{ path: 'inbound-create', name: 'InboundCreate', component: () => import('../pages/InboundCreate.vue'), meta: { title: '批量入库' } },
|
||||
{ path: 'outbound', name: 'Outbound', component: () => import('../pages/Outbound.vue'), meta: { title: '出库管理', keepAlive: true, componentName: 'Outbound' } },
|
||||
{ path: 'inventory', name: 'Inventory', component: () => import('../pages/Inventory.vue'), meta: { title: '库存查询', keepAlive: true, componentName: 'Inventory' } },
|
||||
{ path: 'inspection', name: 'Inspection', component: () => import('../pages/Inspection.vue'), meta: { title: '质量检验' } },
|
||||
// 检验记录查询:独立页面(单一职责),由质量检验入口/菜单进入
|
||||
{ path: 'inspection-query', name: 'InspectionQuery', component: () => import('../pages/InspectionQuery.vue'), meta: { title: '检验记录', keepAlive: true, componentName: 'InspectionQuery' } },
|
||||
{ path: 'inspection', name: 'Inspection', component: () => import('../pages/Inspection.vue'), meta: { title: '质量检验', keepAlive: true, componentName: 'Inspection' } },
|
||||
{ path: 'stocktake', name: 'Stocktake', component: () => import('../pages/Stocktake.vue'), meta: { title: '库存盘点', keepAlive: true, componentName: 'Stocktake' } },
|
||||
{ path: 'semi', name: 'Semi', component: () => import('../pages/Semi.vue'), meta: { title: '半成品/成品', keepAlive: true, componentName: 'Semi' } },
|
||||
{ path: 'ledger', name: 'Ledger', component: () => import('../pages/Ledger.vue'), meta: { title: '备料台账', keepAlive: true, componentName: 'Ledger' } },
|
||||
|
||||
Reference in New Issue
Block a user