fix: 修改route perm先
This commit is contained in:
parent
be7bd541fd
commit
55beb660cb
|
@ -55,7 +55,7 @@ const routes = [
|
|||
"title": "控制台",
|
||||
"icon": "el-icon-monitor",
|
||||
"affix": true,
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "home/enm_home"
|
||||
},
|
||||
|
@ -143,7 +143,7 @@ const routes = [
|
|||
"title": "电石渣",
|
||||
"icon": "el-icon-opportunity",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
|
@ -152,7 +152,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "生产报告",
|
||||
"icon": "el-icon-document",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_slag/report"
|
||||
},
|
||||
|
@ -162,7 +162,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "单位产品电耗",
|
||||
"icon": "el-icon-odometer",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_slag/power"
|
||||
},
|
||||
|
@ -172,7 +172,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "班组月度对比",
|
||||
"icon": "el-icon-operation",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_slag/teamAnalysis"
|
||||
},
|
||||
|
@ -182,7 +182,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "车间单耗分析",
|
||||
"icon": "el-icon-data-line",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_slag/workshopAnalysis"
|
||||
},
|
||||
|
@ -192,7 +192,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "交接班日志",
|
||||
"icon": "el-icon-document-copy",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_slag/handoverLog"
|
||||
},
|
||||
|
@ -205,7 +205,7 @@ const routes = [
|
|||
"title": "原料磨",
|
||||
"icon": "el-icon-list",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
|
@ -214,7 +214,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "生产报告",
|
||||
"icon": "el-icon-document",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_rm/report"
|
||||
},
|
||||
|
@ -224,7 +224,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "单位产品电耗",
|
||||
"icon": "el-icon-odometer",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_rm/power"
|
||||
},
|
||||
|
@ -234,7 +234,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "班组月度对比",
|
||||
"icon": "el-icon-operation",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_rm/teamAnalysis"
|
||||
},
|
||||
|
@ -244,7 +244,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "车间单耗分析",
|
||||
"icon": "el-icon-data-line",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_rm/workshopAnalysis"
|
||||
},
|
||||
|
@ -254,7 +254,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "交接班日志",
|
||||
"icon": "el-icon-document-copy",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_rm/handoverLog"
|
||||
},
|
||||
|
@ -267,7 +267,7 @@ const routes = [
|
|||
"title": "回转窑",
|
||||
"icon": "el-icon-menu",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
|
@ -276,7 +276,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "生产报告",
|
||||
"icon": "el-icon-document",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_kiln/report"
|
||||
},
|
||||
|
@ -286,7 +286,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "单位产品电耗",
|
||||
"icon": "el-icon-odometer",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_kiln/power"
|
||||
},
|
||||
|
@ -296,7 +296,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "班组月度对比",
|
||||
"icon": "el-icon-operation",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_kiln/teamAnalysis"
|
||||
},
|
||||
|
@ -306,7 +306,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "车间单耗分析",
|
||||
"icon": "el-icon-data-line",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_kiln/workshopAnalysis"
|
||||
},
|
||||
|
@ -316,7 +316,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "交接班日志",
|
||||
"icon": "el-icon-document-copy",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_kiln/handoverLog"
|
||||
},
|
||||
|
@ -329,7 +329,7 @@ const routes = [
|
|||
"title": "煤磨",
|
||||
"icon": "el-icon-brush-filled",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
|
@ -338,7 +338,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "生产报告",
|
||||
"icon": "el-icon-document",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_coal/report"
|
||||
},
|
||||
|
@ -348,7 +348,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "单位产品电耗",
|
||||
"icon": "el-icon-odometer",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_coal/power"
|
||||
},
|
||||
|
@ -358,7 +358,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "班组月度对比",
|
||||
"icon": "el-icon-operation",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_coal/teamAnalysis"
|
||||
},
|
||||
|
@ -368,7 +368,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "车间单耗分析",
|
||||
"icon": "el-icon-data-line",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_coal/workshopAnalysis"
|
||||
},
|
||||
|
@ -378,7 +378,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "交接班日志",
|
||||
"icon": "el-icon-document-copy",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_coal/handoverLog"
|
||||
},
|
||||
|
@ -391,7 +391,7 @@ const routes = [
|
|||
"title": "水泥磨",
|
||||
"icon": "el-icon-help-filled",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
|
@ -400,7 +400,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "生产报告",
|
||||
"icon": "el-icon-document",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_mill/report"
|
||||
},
|
||||
|
@ -410,7 +410,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "单位产品电耗",
|
||||
"icon": "el-icon-odometer",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_mill/power"
|
||||
},
|
||||
|
@ -420,7 +420,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "班组月度对比",
|
||||
"icon": "el-icon-operation",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_mill/teamAnalysis"
|
||||
},
|
||||
|
@ -430,7 +430,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "车间单耗分析",
|
||||
"icon": "el-icon-data-line",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_mill/workshopAnalysis"
|
||||
},
|
||||
|
@ -440,7 +440,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "交接班日志",
|
||||
"icon": "el-icon-document-copy",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_mill/handoverLog"
|
||||
},
|
||||
|
@ -453,7 +453,7 @@ const routes = [
|
|||
"title": "水泥包装",
|
||||
"icon": "el-icon-goods-filled",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
|
@ -462,7 +462,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "生产报告",
|
||||
"icon": "el-icon-document",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_pack/report"
|
||||
},
|
||||
|
@ -472,7 +472,7 @@ const routes = [
|
|||
// "meta": {
|
||||
// "title": "单位产品电耗",
|
||||
// "icon": "el-icon-grid",
|
||||
// "perms": ["bi"]
|
||||
// "perms": ["enm"]
|
||||
// },
|
||||
// "component": "enm_pack/power"
|
||||
// },
|
||||
|
@ -482,7 +482,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "班组月度对比",
|
||||
"icon": "el-icon-operation",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_pack/teamAnalysis"
|
||||
},
|
||||
|
@ -492,7 +492,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "车间单耗分析",
|
||||
"icon": "el-icon-data-line",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_pack/workshopAnalysis"
|
||||
},
|
||||
|
@ -502,7 +502,7 @@ const routes = [
|
|||
"meta": {
|
||||
"title": "交接班日志",
|
||||
"icon": "el-icon-document-copy",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"component": "enm_pack/handoverLog"
|
||||
},
|
||||
|
@ -1120,7 +1120,7 @@ const routes = [
|
|||
"title": "基础配置",
|
||||
"icon": "el-icon-management",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
|
@ -1173,7 +1173,7 @@ const routes = [
|
|||
"title": "每月配置",
|
||||
"icon": "el-icon-checked",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
|
@ -1215,7 +1215,7 @@ const routes = [
|
|||
"title": "全厂能源",
|
||||
"icon": "el-icon-share",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
|
||||
|
@ -1258,7 +1258,7 @@ const routes = [
|
|||
"title": "全厂报表",
|
||||
"icon": "el-icon-histogram",
|
||||
"type": "menu",
|
||||
"perms": ["bi"]
|
||||
"perms": ["enm"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue