diff --git a/src/config/route.js b/src/config/route.js index 038eeb39..734dd6e6 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -1159,7 +1159,7 @@ const routes = [ "meta": { "title": "采购计划", "icon": "el-icon-cellphone", - "perms": ["pum"] + "perms": ["pu_plan"] }, "component": "pum/plan" }, @@ -1169,7 +1169,7 @@ const routes = [ "meta": { "title": "采购计划详情", "icon": "el-icon-cellphone", - "perms": ["pum"], + "perms": ["pu_plan"], "hidden": true, }, "component": "pum/planitem" @@ -1180,7 +1180,7 @@ const routes = [ "meta": { "title": "采购订单", "icon": "el-icon-cellphone", - "perms": ["pum"] + "perms": ["pu_order"] }, "component": "pum/order" }, @@ -1190,7 +1190,7 @@ const routes = [ "meta": { "title": "采购订单详情", "icon": "el-icon-cellphone", - "perms": ["pum"], + "perms": ["pu_order"], "hidden": true, }, "component": "pum/orderitem" @@ -1214,7 +1214,7 @@ const routes = [ "meta": { "title": "客户信息", "icon": "el-icon-cellphone", - "perms": ["sam"] + "perms": ["customer"] }, "component": "sam/customer" }, @@ -1224,7 +1224,7 @@ const routes = [ "meta": { "title": "合同信息", "icon": "el-icon-cellphone", - "perms": ["sam"] + "perms": ["contract"] }, "component": "sam/contract" }, @@ -1234,7 +1234,7 @@ const routes = [ "meta": { "title": "订单管理", "icon": "el-icon-cellphone", - "perms": ["sam"] + "perms": ["order"] }, "component": "sam/order" }, @@ -1244,7 +1244,6 @@ const routes = [ "meta": { "title": "订单详情", "icon": "el-icon-cellphone", - "perms": ["sam"], "hidden":true, }, "component": "sam/orderitem" @@ -1809,7 +1808,7 @@ const routes = [ "meta": { "title": "计量设备", "icon": "el-icon-cellphone", - "perms": ["equipment"] + "perms": ["equipmentc"] }, "component": "em/equipmentc" }, @@ -2142,7 +2141,7 @@ const routes = [ "type": "menu", "title": "车间看板", "icon": "el-icon-trend-charts", - "perms": ["bigScreenP"], + "perms": ["bigScreenP_dept"], }, children:[ { @@ -2151,7 +2150,7 @@ const routes = [ "meta": { "title": "10车间", "icon": "el-icon-trend-charts", - "perms": ["bigScreenP"], + "perms": ["bigScreenP_dept10"], "fullpage": true, }, "component": "bigScreen/index_10dept.vue" @@ -2162,7 +2161,7 @@ const routes = [ "meta": { "title": "7车间", "icon": "el-icon-trend-charts", - "perms": ["bigScreenP"], + "perms": ["bigScreenP_dept7"], "fullpage": true, }, "component": "bigScreen/index_7dept.vue" @@ -2173,7 +2172,7 @@ const routes = [ "meta": { "title": "6车间", "icon": "el-icon-trend-charts", - "perms": ["bigScreenP"], + "perms": ["bigScreenP_dept6"], "fullpage": true, }, "component": "bigScreen/index_6dept.vue" @@ -2199,7 +2198,7 @@ const routes = [ "title": "生产统计", "icon": "el-icon-grid", "type": "menu", - "perms": ["mtm"] + "perms": ["statistic_wpm"] }, "children": [ { @@ -2208,7 +2207,7 @@ const routes = [ "meta": { "title": "合格数统计", "icon": "el-icon-cellphone", - "perms": ["mtm"] + "perms": ["statistic_wpm"] }, "component": "statistics/pass_num.vue" }, @@ -2218,7 +2217,7 @@ const routes = [ "meta": { "title": "任务进度", "icon": "el-icon-cellphone", - "perms": ["mtm"] + "perms": ["statistic_wpm"] }, "component": "statistics/task_rate.vue" }, @@ -2228,7 +2227,7 @@ const routes = [ "meta": { "title": "工序合格数", "icon": "el-icon-cellphone", - "perms": ["mtm"] + "perms": ["statistic_wpm"] }, "component": "statistics/ppass_num.vue" }, @@ -2242,7 +2241,7 @@ const routes = [ "title": "检验统计", "icon": "el-icon-grid", "type": "menu", - "perms": ["mtm"] + "perms": ["statistic_qm"] }, "children": [ { @@ -2251,7 +2250,7 @@ const routes = [ "meta": { "title": "生产检验统计", "icon": "el-icon-cellphone", - "perms": ["mtm"] + "perms": ["statistic_qm"] }, "component": "statistics/product_check.vue" }, @@ -2261,7 +2260,7 @@ const routes = [ "meta": { "title": "生产检验统计(粗加工)", "icon": "el-icon-cellphone", - "perms": ["mtm"] + "perms": ["statistic_qm"] }, "component": "statistics/product_check2.vue" }, @@ -2271,7 +2270,7 @@ const routes = [ "meta": { "title": "库存检验统计", "icon": "el-icon-cellphone", - "perms": ["mtm"] + "perms": ["statistic_qm"] }, "component": "statistics/inm_check.vue" }, @@ -2281,7 +2280,7 @@ const routes = [ "meta": { "title": "成品检验统计", "icon": "el-icon-cellphone", - "perms": ["mtm"] + "perms": ["statistic_qm"] }, "component": "statistics/good_check.vue" }, @@ -2291,7 +2290,7 @@ const routes = [ "meta": { "title": "性能检验", "icon": "el-icon-cellphone", - "perms": ["mtm"] + "perms": ["statistic_qm"] }, "component": "statistics/behavior_check.vue" }, @@ -2301,7 +2300,7 @@ const routes = [ "meta": { "title": "入厂检验", "icon": "el-icon-cellphone", - "perms": ["mtm"] + "perms": ["statistic_qm"] }, "component": "statistics/enter_check.vue" }, @@ -2314,7 +2313,7 @@ const routes = [ "meta": { "title": "物料统计", "icon": "el-icon-trend-charts", - "perms": ["bigScreenP"], + "perms": ["statistic_material"], }, "component": "statistics/material_statistics.vue" }, @@ -2323,9 +2322,9 @@ const routes = [ "path": "/user_statistics", "name": "user_statistics", "meta": { - "title": "人员统计", + "title": "绩效统计", "icon": "el-icon-trend-charts", - "perms": ["bigScreenP"], + "perms": ["statistic_kpi"], }, "component": "statistics/user_statistics.vue" }, @@ -2336,7 +2335,7 @@ const routes = [ "meta": { "title": "销售统计", "icon": "el-icon-trend-charts", - "perms": ["bigScreenP"], + "perms": ["statistic_sale"], }, "component": "statistics/inm_statistics.vue" },