diff --git a/.env.development b/.env.development index 40ba628e..d9600b6e 100644 --- a/.env.development +++ b/.env.development @@ -8,9 +8,9 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台' # 接口地址 #VUE_APP_API_BASEURL = http://1.203.161.103:2800/api #VUE_APP_WS_API = 'ws://localhost:8000' -# VUE_APP_API_BASEURL = http://222.222.144.147:6013/api +VUE_APP_API_BASEURL = http://222.222.144.147:6013/api #VUE_APP_API_BASEURL = http://10.99.5.79:20309/api -VUE_APP_API_BASEURL = http://49.232.14.174:2226/api +# VUE_APP_API_BASEURL = http://49.232.14.174:2226/api # VUE_APP_API_BASEURL = http://127.0.0.1:2226/api VUE_APP_BASEURL = http://49.232.14.174:2226 diff --git a/.env.production b/.env.production index 4c62175c..d447a881 100644 --- a/.env.production +++ b/.env.production @@ -6,10 +6,10 @@ NODE_ENV = production VUE_APP_TITLE = '托克逊能源管理平台' # 接口地址 -# VUE_APP_API_BASEURL = http://222.222.144.147:6013/api -# VUE_APP_BASEURL = http://222.222.144.147:6013 -VUE_APP_API_BASEURL = http://49.232.14.174:2226/api -VUE_APP_BASEURL = http://49.232.14.174:2226 +VUE_APP_API_BASEURL = http://222.222.144.147:6013/api +VUE_APP_BASEURL = http://222.222.144.147:6013 +# VUE_APP_API_BASEURL = http://49.232.14.174:2226/api +# VUE_APP_BASEURL = http://49.232.14.174:2226 # VUE_APP_API_BASEURL = http://1.203.161.103:2800/api # VUE_APP_BASEURL = http://1.203.161.103:2800 \ No newline at end of file diff --git a/public/img/topCard.png b/public/img/topCard.png new file mode 100644 index 00000000..600dd7c3 Binary files /dev/null and b/public/img/topCard.png differ diff --git a/src/api/model/inm.js b/src/api/model/inm.js new file mode 100644 index 00000000..6f741029 --- /dev/null +++ b/src/api/model/inm.js @@ -0,0 +1,64 @@ +import config from "@/config" +import http from "@/utils/request" +export default { + // 仓库 + warehouse: { + list: { + name: "仓库列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/inm/warehouse/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/inm/warehouse/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/inm/warehouse/cquery/`, + data); + } + }, + item: { + name: "获取仓库详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/inm/warehouse/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/inm/warehouse/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/inm/warehouse/${id}/`); + } + }, + batch:{ + name: "物料批次", + req: async function(data){ + return await http.get( + `${config.API_URL}/inm/materialbatch/`, + data + ); + } + }, + } +} \ No newline at end of file diff --git a/src/api/model/pm.js b/src/api/model/pm.js new file mode 100644 index 00000000..86b4ebcd --- /dev/null +++ b/src/api/model/pm.js @@ -0,0 +1,64 @@ +import config from "@/config" +import http from "@/utils/request" +export default { + // 仓库 + mtask: { + list: { + name: "生产任务列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/pm/mtask/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/pm/mtask/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/pm/mtask/cquery/`, + data); + } + }, + item: { + name: "获取仓库详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/pm/mtask/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/pm/mtask/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/pm/mtask/${id}/`); + } + }, + schedueOrderitem:{ + name: "物料批次", + req: async function(data){ + return await http.post( + `${config.API_URL}/pm/mtask/schedue_from_orderitems/`, + data + ); + } + }, + } +} \ No newline at end of file diff --git a/src/api/model/pum.js b/src/api/model/pum.js new file mode 100644 index 00000000..4ff06f93 --- /dev/null +++ b/src/api/model/pum.js @@ -0,0 +1,284 @@ +import config from "@/config" +import http from "@/utils/request" +export default { + // 采购订单 + order: { + list: { + name: "订单列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/pum/pu_order/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_order/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_order/cquery/`, + data); + } + }, + item: { + name: "获取详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/pum/pu_order/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/pum/pu_order/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/pum/pu_order/${id}/`); + } + }, + submit:{ + name: "提交采购订单", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_order/${id}/submit/`, + data); + } + }, + }, + // 采购订单详情 + orderitem: { + list: { + name: "订单明细列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/pum/pu_orderitem/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_orderitem/`, + data); + } + }, + //从计划明细创建/变更采购订单明细 + addplanitems: { + name: "添加采购订单明细", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_orderitem/add_from_planitems/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_orderitem/cquery/`, + data); + } + }, + item: { + name: "获取详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/pum/pu_orderitem/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/pum/pu_orderitem/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/pum/pu_orderitem/${id}/`) + } + } + }, + // 采购计划 + plan: { + list: { + name: "采购计划列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/pum/pu_plan/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_plan/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_plan/cquery/`, + data); + } + }, + item: { + name: "获取详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/pum/pu_plan/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/pum/pu_plan/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/pum/pu_plan/${id}/`); + } + }, + submit:{ + name: "提交采购订单", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_plan/${id}/submit/`, + data); + } + }, + }, + // 采购计划详情 + planitem: { + list: { + name: "采购计划详情列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/pum/pu_planitem/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_planitem/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/pu_planitem/cquery/`, + data); + } + }, + item: { + name: "获取详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/pum/pu_planitem/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/pum/pu_planitem/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/pum/pu_planitem/${id}/`) + } + } + }, + // 供应商 + supplier: { + list: { + name: "供应商列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/pum/supplier/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/supplier/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/supplier/cquery/`, + data); + } + }, + item: { + name: "获取详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/pum/supplier/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/pum/supplier/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/pum/supplier/${id}/`) + } + } + } +} \ No newline at end of file diff --git a/src/api/model/sam.js b/src/api/model/sam.js new file mode 100644 index 00000000..104c191d --- /dev/null +++ b/src/api/model/sam.js @@ -0,0 +1,157 @@ +import config from "@/config" +import http from "@/utils/request" +export default { + // 合同信息 + contract: { + list: { + name: "合同列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/sam/contract/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/sam/contract/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/sam/contract/cquery/`, + data); + } + }, + item: { + name: "获取仓库详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/sam/contract/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/sam/contract/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/sam/contract/${id}/`); + } + } + }, + // 客户信息 + customer: { + list: { + name: "客户列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/sam/customer/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/sam/customer/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/sam/customer/cquery/`, + data); + } + }, + item: { + name: "获取仓库详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/sam/customer/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/sam/customer/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/sam/customer/${id}/`); + } + } + }, + // 订单信息 + order: { + list: { + name: "客户列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/sam/order/`, + data + ); + } + }, + create: { + name: "创建", + req: async function(data){ + return await http.post( + `${config.API_URL}/sam/order/`, + data); + } + }, + cquery: { + name: "复杂查询", + req: async function(data){ + return await http.post( + `${config.API_URL}/sam/order/cquery/`, + data); + } + }, + item: { + name: "获取仓库详情", + req: async function(id){ + return await http.get( + `${config.API_URL}/sam/order/${id}/` + ); + } + }, + update: { + name: "更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/sam/order/${id}/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/sam/order/${id}/`); + } + } + } +} \ No newline at end of file diff --git a/src/config/index.js b/src/config/index.js index ed447da5..b98103b5 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -35,7 +35,7 @@ const DEFAULT_CONFIG = { //布局 默认:default | 通栏:header | 经典:menu | 功能坞:dock //dock将关闭标签和面包屑栏 - LAYOUT: 'menu', + LAYOUT: 'header', //菜单是否折叠 MENU_IS_COLLAPSE: false, diff --git a/src/config/route.js b/src/config/route.js index 3b32044a..936e6604 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -3,1534 +3,3512 @@ // 比较动态路由在meta中多加入了role角色权限,为数组类型。一个菜单是否有权限显示,取决于它以及后代菜单是否有权限。 // routes 显示在左侧菜单中的路由(显示顺序在动态路由之前) const routes = [ - //首页 - { - "name": "home", - "path": "/home", - "meta": { - "title": "首页", - "icon": "el-icon-home-filled", - "type": "menu", - "perms": ["home"] - }, - "children": [ - { - "name": "dashboard", - "path": "/dashboard", - "meta": { - "title": "控制台", - "icon": "el-icon-monitor", - "affix": true, - "perms": ["dashboard"] - }, - "component": "home" - }, - { - "name": "dashboard_enm", - "path": "/dashboard_enm", - "meta": { - "title": "控制台", - "icon": "el-icon-monitor", - "affix": true, - "perms": ["enm"] - }, - "component": "home/enm_home" - }, - { - "path": "/bigScreen", - "name": "bigScreen", - "meta": { - "title": "驾驶舱", - "icon": "el-icon-position", - "perms": ["bigScreen"], - "fullpage": true, - }, - "component": "bigScreen" - }, - { - "path": "/bigScreen2", - "name": "bigScreen2", - "meta": { - "title": "能管大屏", - "icon": "el-icon-position", - "perms": ["bigScreen2"], - "fullpage": true, - }, - "component": "bigScreen/index_enm" - }, - { - "path": "/track", - "name": "track", - "meta": { - "title": "轨迹追踪", - "icon": "el-icon-position", - "fullpage": true, - "hidden": true, - }, - "component": "bigScreen/track" - }, - { - "name": "userCenter", - "path": "/usercenter", - "meta": { - "title": "帐号信息", - "icon": "el-icon-user", - "perms": ["userCenter"] - }, - "component": "userCenter" - }, - { - "name": "events", - "path": "/events", - "meta": { - "title": "报警事件", - "icon": "el-icon-user", - "perms": ["bigScreen2"] - }, - "component": "home/event" - }, - ] - }, - //报表 - { - "name": "bi", - "path": "/bi", - "meta": { - "title": "报表", - "icon": "el-icon-trend-charts", - "type": "menu", - "perms": ["bi"] - }, - "children": [ - { - "name": "dataset", - "path": "/bi/dataset", - "meta": { - "title": "数据集", - "icon": "el-icon-grid", - "perms": ["dataset"] - }, - "component": "bi/dataset" - }, - { - "name": "graph", - "path": "/bi/graph", - "meta": { - "title": "测试图", - "icon": "el-icon-grid", - "perms": ["dataset"] - }, - "component": "bi/graph" - } - ] - }, - //电石渣 - { - "name": "enm_slag", - "path": "/enm_slag", - "meta": { - "title": "电石渣", - "icon": "el-icon-opportunity", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - { - "name": "slag_report", - "path": "/enm_slag/report", - "meta": { - "title": "生产报告", - "icon": "el-icon-document", - "perms": ["enm"] - }, - "component": "enm_slag/report" - }, - { - "name": "slag_power", - "path": "/enm_slag/power", - "meta": { - "title": "单位产品电耗", - "icon": "el-icon-odometer", - "perms": ["enm"] - }, - "component": "enm_slag/power" - }, - { - "name": "slag_teamAnalysis", - "path": "/enm_slag/teamAnalysis", - "meta": { - "title": "班组月度对比", - "icon": "el-icon-operation", - "perms": ["enm"] - }, - "component": "enm_slag/teamAnalysis" - }, - { - "name": "slag_workshopAnalysis", - "path": "/enm_slag/workshopAnalysis", - "meta": { - "title": "车间单耗分析", - "icon": "el-icon-data-line", - "perms": ["enm"] - }, - "component": "enm_slag/workshopAnalysis" - }, - { - "name": "slag_handoverLog", - "path": "/enm_slag/handoverLog", - "meta": { - "title": "交接班日志", - "icon": "el-icon-document-copy", - "perms": ["enm"] - }, - "component": "enm_slag/handoverLog" - }, - ] - }, - //原料磨 - { - "name": "enm_rm", - "path": "/enm_rm", - "meta": { - "title": "原料磨", - "icon": "el-icon-list", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - { - "name": "report", - "path": "/enm_rm/report", - "meta": { - "title": "生产报告", - "icon": "el-icon-document", - "perms": ["enm"] - }, - "component": "enm_rm/report" - }, - { - "name": "power", - "path": "/enm_rm/power", - "meta": { - "title": "单位产品电耗", - "icon": "el-icon-odometer", - "perms": ["enm"] - }, - "component": "enm_rm/power" - }, - { - "name": "teamAnalysis", - "path": "/enm_rm/teamAnalysis", - "meta": { - "title": "班组月度对比", - "icon": "el-icon-operation", - "perms": ["enm"] - }, - "component": "enm_rm/teamAnalysis" - }, - { - "name": "workshopAnalysis", - "path": "/enm_rm/workshopAnalysis", - "meta": { - "title": "车间单耗分析", - "icon": "el-icon-data-line", - "perms": ["enm"] - }, - "component": "enm_rm/workshopAnalysis" - }, - { - "name": "handoverLog", - "path": "/enm_rm/handoverLog", - "meta": { - "title": "交接班日志", - "icon": "el-icon-document-copy", - "perms": ["enm"] - }, - "component": "enm_rm/handoverLog" - }, - { - "name": "logDetail", - "path": "/enm_rm/logDetail", - "meta": { - "title": "日志详情", - "icon": "el-icon-document-copy", - "perms": ["enm"], - "hidden":true - }, - "component": "enm_rm/logDetail" - }, - ] - }, - //回转窑 - { - "name": "enm_kiln", - "path": "/enm_kiln", - "meta": { - "title": "回转窑", - "icon": "el-icon-menu", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - { - "name": "kiln_report", - "path": "/enm_kiln/report", - "meta": { - "title": "生产报告", - "icon": "el-icon-document", - "perms": ["enm"] - }, - "component": "enm_kiln/report" - }, - { - "name": "kiln_power", - "path": "/enm_kiln/power", - "meta": { - "title": "单位产品电耗", - "icon": "el-icon-odometer", - "perms": ["enm"] - }, - "component": "enm_kiln/power" - }, - { - "name": "kiln_teamAnalysis", - "path": "/enm_kiln/teamAnalysis", - "meta": { - "title": "班组月度对比", - "icon": "el-icon-operation", - "perms": ["enm"] - }, - "component": "enm_kiln/teamAnalysis" - }, - { - "name": "kiln_workshopAnalysis", - "path": "/enm_kiln/workshopAnalysis", - "meta": { - "title": "车间单耗分析", - "icon": "el-icon-data-line", - "perms": ["enm"] - }, - "component": "enm_kiln/workshopAnalysis" - }, - { - "name": "kiln_handoverLog", - "path": "/enm_kiln/handoverLog", - "meta": { - "title": "交接班日志", - "icon": "el-icon-document-copy", - "perms": ["enm"] - }, - "component": "enm_kiln/handoverLog" - }, - ] - }, - //煤磨 - { - "name": "enm_coal", - "path": "/enm_coal", - "meta": { - "title": "煤磨", - "icon": "el-icon-brush-filled", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - { - "name": "coal_report", - "path": "/enm_coal/report", - "meta": { - "title": "生产报告", - "icon": "el-icon-document", - "perms": ["enm"] - }, - "component": "enm_coal/report" - }, - { - "name": "coal_power", - "path": "/enm_coal/power", - "meta": { - "title": "单位产品电耗", - "icon": "el-icon-odometer", - "perms": ["enm"] - }, - "component": "enm_coal/power" - }, - { - "name": "coal_teamAnalysis", - "path": "/enm_coal/teamAnalysis", - "meta": { - "title": "班组月度对比", - "icon": "el-icon-operation", - "perms": ["enm"] - }, - "component": "enm_coal/teamAnalysis" - }, - { - "name": "coal_workshopAnalysis", - "path": "/enm_coal/workshopAnalysis", - "meta": { - "title": "车间单耗分析", - "icon": "el-icon-data-line", - "perms": ["enm"] - }, - "component": "enm_coal/workshopAnalysis" - }, - { - "name": "coal_handoverLog", - "path": "/enm_coal/handoverLog", - "meta": { - "title": "交接班日志", - "icon": "el-icon-document-copy", - "perms": ["enm"] - }, - "component": "enm_coal/handoverLog" - }, - ] - }, - //水泥磨 - { - "name": "enm_mill", - "path": "/enm_mill", - "meta": { - "title": "水泥磨", - "icon": "el-icon-help-filled", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - { - "name": "mill_report", - "path": "/enm_mill/report", - "meta": { - "title": "生产报告", - "icon": "el-icon-document", - "perms": ["enm"] - }, - "component": "enm_mill/report" - }, - { - "name": "mill_power", - "path": "/enm_mill/power", - "meta": { - "title": "单位产品电耗", - "icon": "el-icon-odometer", - "perms": ["enm"] - }, - "component": "enm_mill/power" - }, - { - "name": "mill_teamAnalysis", - "path": "/enm_mill/teamAnalysis", - "meta": { - "title": "班组月度对比", - "icon": "el-icon-operation", - "perms": ["enm"] - }, - "component": "enm_mill/teamAnalysis" - }, - { - "name": "mill_workshopAnalysis", - "path": "/enm_mill/workshopAnalysis", - "meta": { - "title": "车间单耗分析", - "icon": "el-icon-data-line", - "perms": ["enm"] - }, - "component": "enm_mill/workshopAnalysis" - }, - { - "name": "mill_handoverLog", - "path": "/enm_mill/handoverLog", - "meta": { - "title": "交接班日志", - "icon": "el-icon-document-copy", - "perms": ["enm"] - }, - "component": "enm_mill/handoverLog" - }, - ] - }, - //水泥包装 - { - "name": "enm_pack", - "path": "/enm_pack", - "meta": { - "title": "水泥包装", - "icon": "el-icon-goods-filled", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - { - "name": "pack_report", - "path": "/enm_pack/report", - "meta": { - "title": "生产报告", - "icon": "el-icon-document", - "perms": ["enm"] - }, - "component": "enm_pack/report" - }, - // { - // "name": "pack_power", - // "path": "/enm_pack/power", - // "meta": { - // "title": "单位产品电耗", - // "icon": "el-icon-grid", - // "perms": ["enm"] - // }, - // "component": "enm_pack/power" - // }, - { - "name": "pack_teamAnalysis", - "path": "/enm_pack/teamAnalysis", - "meta": { - "title": "班组月度对比", - "icon": "el-icon-operation", - "perms": ["enm"] - }, - "component": "enm_pack/teamAnalysis" - }, - { - "name": "pack_workshopAnalysis", - "path": "/enm_pack/workshopAnalysis", - "meta": { - "title": "车间单耗分析", - "icon": "el-icon-data-line", - "perms": ["enm"] - }, - "component": "enm_pack/workshopAnalysis" - }, - { - "name": "pack_handoverLog", - "path": "/enm_pack/handoverLog", - "meta": { - "title": "交接班日志", - "icon": "el-icon-document-copy", - "perms": ["enm"] - }, - "component": "enm_pack/handoverLog" - }, - ] - }, - //全厂能源 - { - "name": "energy", - "path": "/energy", - "meta": { - "title": "全厂能源", - "icon": "el-icon-share", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - - { - "name": "energy", - "path": "/ungrouped/energy", - "meta": { - "title": "能源统计", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/energy" - }, - { - "name": "value", - "path": "/ungrouped/value", - "meta": { - "title": "工业产值", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/value" - }, - { - "name": "electric", - "path": "/ungrouped/electric", - "meta": { - "title": "全厂电量统计", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/electric" - }, - { - "name": "electricHour", - "path": "/ungrouped/electricHour", - "meta": { - "title": "全厂电量小时统计", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/electric_hour" - }, - { - "name": "energyPicture", - "path": "/ungrouped/energyPicture", - "meta": { - "title": "能源流向", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/energyPicture" - }, - { - "name": "electricDay", - "path": "/ungrouped/electricDay", - "meta": { - "title": "全厂电量日统计", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/electric_day" - }, - { - "name": "electricMonth", - "path": "/ungrouped/electricMonth", - "meta": { - "title": "全厂电量月统计", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/electric_month" - } - ] - }, - //全厂报表 - { - "name": "rforms", - "path": "/rforms", - "meta": { - "title": "全厂报表", - "icon": "el-icon-histogram", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - { - "name": "costing", - "path": "/ungrouped/costing", - "meta": { - "title": "成本计算", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/costing" - }, - { - "name": "quality", - "path": "/ungrouped/quality", - "meta": { - "title": "质量报表", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/quality" - } - ,{ - "name": "reportAll", - "path": "/ungrouped/report", - "meta": { - "title": "生产日报表", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/report" - },{ - "name": "reportMonthAll", - "path": "/ungrouped/reportMonth", - "meta": { - "title": "生产月报表", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/report_month" - } - // ,{ - // "name": "echart", - // "path": "/ungrouped/echart", - // "meta": { - // "title": "图表", - // "icon": "el-icon-grid", - // "perms": ["enm"] - // }, - // "component": "ungrouped/echart" - // } - ] - }, - //设备 - { - "name": "em", - "path": "/em", - "meta": { - "title": "设备", - "icon": "el-icon-grid", - "type": "menu", - "perms": ["em"] - }, - "children": [ - { - "name": "equipment", - "path": "/em/equipment", - "meta": { - "title": "生产设备", - "icon": "el-icon-cellphone", - "perms": ["equipment"] - }, - "component": "em/equipment" - }, - { - "name": "equipmentc", - "path": "/em/equipmentc", - "meta": { - "title": "计量设备", - "icon": "el-icon-cellphone", - "perms": ["equipment"] - }, - "component": "em/equipmentc" - }, - ] - }, - //事件 - { - "name": "ecm", - "path": "/ecm", - "meta": { - "title": "事件", - "icon": "el-icon-camera-filled", - "type": "menu", - "perms": ["ecm"] - }, - "children": [ - { - "name": "event", - "path": "/ecm/event", - "meta": { - "title": "事件列表", - "icon": "el-icon-alarm-clock", - "perms": ["event"] - }, - "component": "ecm/event", - } - , - { - "name": "eventfrom", - "path": "/ecm/event_from", - "meta": { - "title": "事件详情", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["event"] - }, - "component": "ecm/event_from" - } - , - { - "name": "eventhandlefrom", - "path": "/ecm/event_handlefrom", - "meta": { - "title": "处理事件", - "icon": "el-icon-menu", - "perms": ["event"], - "hidden": true, - }, - "component": "ecm/event_handlefrom" - }, - { - "name": "myevent", - "path": "/ecm/myevent", - "meta": { - "title": "我的事件", - "icon": "el-icon-notification", - "perms": ["myevent"] - }, - "component": "ecm/myevent" - }, - { - "name": "notify_setting", - "path": "/ecm/notify_setting", - "meta": { - "title": "提醒配置", - "icon": "el-icon-setting", - "perms": ["notify_setting"] - }, - "component": "ecm/notify_setting" - }, - { - "name": "algo", - "path": "/ecm/algo", - "meta": { - "title": "算法布设", - "icon": "el-icon-set-up", - "perms": ["algo"] - }, - "component": "ecm/algo" - } - ] - }, - //风控 - { - "name": "opm", - "path": "/opm", - "meta": { - "title": "风控", - "icon": "el-icon-list", - "type": "menu", - "perms": ["opm"] - }, - "children": [ - { - "name": "operation", - "path": "/opm/operation", - "meta": { - "title": "作业列表", - "icon": "el-icon-tickets", - "perms": ["operation"] - }, - "component": "opm/operation" - }, - { - "name": "oplcate", - "path": "/opm/oplcate", - "meta": { - "title": "许可证分类", - "icon": "el-icon-ticket", - "perms": ["oplcate"] - }, - "component": "opm/oplcate" - }, - { - "name": "opl", - "path": "/opm/opl", - "meta": { - "title": "作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/opl" - }, - { - "name": "fire", - "path": "/opm/fire", - "meta": { - "title": "动火作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/fire" - }, - { - "name": "space", - "path": "/opm/space", - "meta": { - "title": "有限空间作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/space" - }, - { - "name": "clear", - "path": "/opm/clear", - "meta": { - "title": "清库作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/clear" - } , - { - "name": "high", - "path": "/opm/high", - "meta": { - "title": "高处作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/high" - }, - { - "name": "hoisting", - "path": "/opm/hoisting", - "meta": { - "title": "吊装作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/hoisting" - }, - { - "name": "preheat", - "path": "/opm/preheat", - "meta": { - "title": "预热器清堵作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/preheat" - }, - { - "name": "cooler", - "path": "/opm/cooler", - "meta": { - "title": "篦冷机清大块作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/cooler" - }, - { - "name": "soil", - "path": "/opm/soil", - "meta": { - "title": "动土作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/soil" - }, - { - "name": "usecl", - "path": "/opm/usecl", - "meta": { - "title": "临时用电作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/usecl" - }, - { - "name": "normal", - "path": "/opm/normal", - "meta": { - "title": "普通作业许可证", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["operation"] - }, - "component": "opm/normal" - } - ] - }, - //相关方 - { - "name": "rpm", - "path": "/rpm", - "meta": { - "title": "相关方", - "icon": "el-icon-avatar", - "type": "menu", - "perms": ["rpm"] - }, - "children": [ - { - "name": "rparty", - "path": "/rpm/rparty", - "meta": { - "title": "相关方列表", - "icon": "el-icon-tickets", - "perms": ["rparty"] - }, - "component": "rpm/rparty" - }, - { - "name": "blacklist", - "path": "/rpm/blacklist", - "meta": { - "title": "黑名单", - "icon": "el-icon-box", - "perms": ["blacklist"] - }, - "component": "rpm/blacklist" - }, - { - "name": "remployee", - "path": "/rpm/remployee", - "meta": { - "title": "人员列表", - "icon": "el-icon-user", - "perms": ["remployee"] - }, - "component": "rpm/remployee" - }, - { - "name": "rcertificate", - "path": "/rpm/rcertificate", - "meta": { - "title": "人员证书", - "icon": "el-icon-postcard", - "perms": ["rcertificate"] - }, - "component": "rpm/rcertificate" - }, - { - "name": "rfile", - "path": "/rpm/rfile", - "meta": { - "title": "企业资料", - "icon": "el-icon-shopping-bag", - "perms": ["rfile"] - }, - "component": "rpm/rfile" - }, - { - "name": "rpj", - "path": "/rpm/rpj", - "meta": { - "title": "入厂项目", - "icon": "el-icon-calendar", - "perms": ["rpj"] - }, - "component": "rpm/rpj" - }, - { - "name": "rpjadd", - "path": "/rpm/rpjadd", - "meta": { - "title": "入厂项目相关信息", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["rpj"] - }, - "component": "rpm/rpjadd" - }, - - ] - }, - //访客 - { - "name": "vm", - "path": "/vm", - "meta": { - "title": "访客", - "icon": "el-icon-user-filled", - "type": "menu", - "perms":['visit'] - }, - "children": [ - { - "name": "visit", - "path": "/vm/visit", - "meta": { - "title": "来访项目", - "icon": "el-icon-tickets", - "perms":['visit'] - }, - "component": "vm/visit" - }, - { - "name": "visitor", - "path": "/vm/visitor", - "meta": { - "title": "我的访客", - "icon": "el-icon-user", - "perms":['visit'] - }, - "component": "vm/visitor" - },{ - "name": "people", - "path": "/vm/people", - "meta": { - "title": "访客人员", - "icon": "el-icon-menu", - "perms":['visit'], - "hidden": true, - }, - "component": "vm/people" - } - ,{ - "name": "vistoradd", - "path": "/vm/vistoradd", - "meta": { - "title": "项目信息", - "icon": "el-icon-menu", - "hidden": true, - "perms":['visit'] - }, - "component": "vm/vistoradd" - }, - ] - }, - //审批 - { - "name": "wf", - "path": "/wf", - "meta": { - "title": "审批", - "icon": "el-icon-circle-check-filled", - "type": "menu", - "perms": ["wf"] - }, - "children": [ - { - "name": "workflow", - "path": "/wf/workflow", - "meta": { - "title": "工作流", - "icon": "el-icon-guide", - "perms": ["workflow"] - }, - "component": "wf/workflow" - }, - { - "name": "configuration", - "path": "/wf/configuration", - "meta": { - "title": "工作流配置", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["workflow"] - }, - "component": "wf/configuration" - } - , - { - "name": "allwork", - "path": "/wf/allwork", - "meta": { - "title": "全部工单", - "icon": "el-icon-folder", - "perms": ["allwork"] - - }, - "component": "wf/allwork" - } , - { - "name": "ownerwork", - "path": "/wf/ownerwork", - "meta": { - "title": "我创建的", - "icon": "el-icon-folder-add", - "perms": ["ownerwork"] - }, - "component": "wf/ownerwork" - } - , - - { - "name": "duty", - "path": "/wf/dutywork", - "meta": { - "title": "待办工单", - "icon": "el-icon-folder-opened", - "perms": ["duty"] - }, - "component": "wf/dutywork" - }, - { - "name": "worked", - "path": "/wf/worked", - "meta": { - "title": "我处理的", - "icon": "el-icon-expand", - "perms": ["worked"] - }, - "component": "wf/worked" - }, - { - "name": "ccwork", - "path": "/wf/ccwork", - "meta": { - "title": "抄送我的", - "icon": "el-icon-edit-pen", - "perms": ["ccwork"] - }, - "component": "wf/ccwork" - }, - { - "name": "ticketdetail", - "path": "/wf/ticketdetail", - "meta": { - "title": "工单详情", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["duty"] - }, - "component": "wf/ticketdetail" - }, - ] - }, - //区域 - { - "name": "am", - "path": "/am", - "meta": { - "title": "区域", - "icon": "el-icon-location-filled", - "type": "menu", - "perms": ["am"] - }, - "children": [ - { - "name": "area", - "path": "/am/area", - "meta": { - "title": "区域列表", - "icon": "el-icon-tickets", - "perms": ["area"] - }, - "component": "am/area" - }, - { - "name": "eqm", - "path": "/am/eqm", - "meta": { - "title": "门禁通道", - "icon": "el-icon-phone", - "perms": ["eqm"] - }, - "component": "am/em1" - }, - { - "name": "monitor", - "path": "/am/monitor", - "meta": { - "title": "视频通道", - "icon": "el-icon-video-camera", - "perms": ["monitor"] - }, - "component": "am/monitor" - }, - { - "name": "audio", - "path": "/am/audio", - "meta": { - "title": "喇叭通道", - "icon": "el-icon-mic", - "perms": ["audio"] - }, - "component": "am/audio" - },{ - "name": "blt", - "path": "/am/blt", - "meta": { - "title": "定位标签", - "icon": "el-icon-map-location", - "perms": ["blt"] - }, - "component": "am/blt" - }, - ] - }, - //人事 - { - "name": "hrm", - "path": "/hrm", - "meta": { - "title": "人事", - "icon": "el-icon-platform", - "type": "menu", - "perms": ["hrm"] - }, - "children": [ - - { - "name": "employee", - "path": "/hrm/employee", - "meta": { - "title": "人员信息", - "icon": "el-icon-user", - "perms": ["employee"] - }, - "component": "hrm/employee" - } - , - { - "name": "certificate", - "path": "/hrm/certificate", - "meta": { - "title": "证书列表", - "icon": "el-icon-tickets", - "perms": ["certificate"] - }, - "component": "hrm/certificate" - } - , - { - "name": "clockRecord", - "path": "/hrm/clock_record", - "meta": { - "title": "打卡记录", - "icon": "el-icon-check", - "perms": ["clock_record"] - }, - "component": "hrm/clock_record" - }, - { - "name": "certificate", - "path": "/hrm/certificate", - "meta": { - "title": "相关证书", - "icon": "el-icon-menu", - "hidden": true, - "perms": ["employee"] + //工作台 + { + "name": "workSpace", + "path": "/workSpace", + "meta": { + "title": "工作台", + "icon": "el-icon-home-filled", + "type": "menu", + "perms": ["home"] + }, + "children": [ + //首页 + { + "name": "home", + "path": "/home", + "meta": { + "title": "首页", + "icon": "el-icon-home-filled", + "type": "menu", + "perms": ["home"] + }, + "children": [ + { + "name": "dashboard", + "path": "/dashboard", + "meta": { + "title": "控制台", + "icon": "el-icon-monitor", + "affix": true, + "perms": ["dashboard"] + }, + "component": "home" + }, + { + "name": "dashboard_enm", + "path": "/dashboard_enm", + "meta": { + "title": "控制台", + "icon": "el-icon-monitor", + "affix": true, + "perms": ["enm"] + }, + "component": "home/enm_home" + }, + { + "name": "dashboard_photon", + "path": "/dashboard_photon", + "meta": { + "title": "控制台", + "icon": "el-icon-monitor", + "affix": true, + "perms": ["photondashboard"] + }, + "component": "home/photon_home" + }, + // { + // "path": "/bigScreen", + // "name": "bigScreen", + // "meta": { + // "title": "驾驶舱", + // "icon": "el-icon-position", + // "perms": ["bigScreen"], + // "fullpage": true, + // }, + // "component": "bigScreen" + // }, + // { + // "path": "/bigScreen2", + // "name": "bigScreen2", + // "meta": { + // "title": "能管大屏", + // "icon": "el-icon-position", + // "perms": ["bigScreen2"], + // "fullpage": true, + // }, + // "component": "bigScreen/index_enm" + // }, + { + "path": "/track", + "name": "track", + "meta": { + "title": "轨迹追踪", + "icon": "el-icon-position", + "fullpage": true, + "hidden": true, + }, + "component": "bigScreen/track" + }, + { + "name": "userCenter", + "path": "/usercenter", + "meta": { + "title": "帐号信息", + "icon": "el-icon-user", + "perms": ["userCenter"] + }, + "component": "userCenter" + }, + { + "name": "events", + "path": "/events", + "meta": { + "title": "报警事件", + "icon": "el-icon-user", + "perms": ["bigScreen2"] + }, + "component": "home/event" + }, + ] + }, + //电石渣 + { + "name": "enm_slag", + "path": "/enm_slag", + "meta": { + "title": "电石渣", + "icon": "el-icon-opportunity", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "name": "slag_report", + "path": "/enm_slag/report", + "meta": { + "title": "生产报告", + "icon": "el-icon-document", + "perms": ["enm"] + }, + "component": "enm_slag/report" + }, + { + "name": "slag_power", + "path": "/enm_slag/power", + "meta": { + "title": "单位产品电耗", + "icon": "el-icon-odometer", + "perms": ["enm"] + }, + "component": "enm_slag/power" + }, + { + "name": "slag_teamAnalysis", + "path": "/enm_slag/teamAnalysis", + "meta": { + "title": "班组月度对比", + "icon": "el-icon-operation", + "perms": ["enm"] + }, + "component": "enm_slag/teamAnalysis" + }, + { + "name": "slag_workshopAnalysis", + "path": "/enm_slag/workshopAnalysis", + "meta": { + "title": "车间单耗分析", + "icon": "el-icon-data-line", + "perms": ["enm"] + }, + "component": "enm_slag/workshopAnalysis" + }, + { + "name": "slag_handoverLog", + "path": "/enm_slag/handoverLog", + "meta": { + "title": "交接班日志", + "icon": "el-icon-document-copy", + "perms": ["enm"] + }, + "component": "enm_slag/handoverLog" + }, + ] + }, + //原料磨 + { + "name": "enm_rm", + "path": "/enm_rm", + "meta": { + "title": "原料磨", + "icon": "el-icon-list", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "name": "report", + "path": "/enm_rm/report", + "meta": { + "title": "生产报告", + "icon": "el-icon-document", + "perms": ["enm"] + }, + "component": "enm_rm/report" + }, + { + "name": "power", + "path": "/enm_rm/power", + "meta": { + "title": "单位产品电耗", + "icon": "el-icon-odometer", + "perms": ["enm"] + }, + "component": "enm_rm/power" + }, + { + "name": "teamAnalysis", + "path": "/enm_rm/teamAnalysis", + "meta": { + "title": "班组月度对比", + "icon": "el-icon-operation", + "perms": ["enm"] + }, + "component": "enm_rm/teamAnalysis" + }, + { + "name": "workshopAnalysis", + "path": "/enm_rm/workshopAnalysis", + "meta": { + "title": "车间单耗分析", + "icon": "el-icon-data-line", + "perms": ["enm"] + }, + "component": "enm_rm/workshopAnalysis" + }, + { + "name": "handoverLog", + "path": "/enm_rm/handoverLog", + "meta": { + "title": "交接班日志", + "icon": "el-icon-document-copy", + "perms": ["enm"] + }, + "component": "enm_rm/handoverLog" + }, + { + "name": "logDetail", + "path": "/enm_rm/logDetail", + "meta": { + "title": "日志详情", + "icon": "el-icon-document-copy", + "perms": ["enm"], + "hidden":true + }, + "component": "enm_rm/logDetail" + }, + ] + }, + //回转窑 + { + "name": "enm_kiln", + "path": "/enm_kiln", + "meta": { + "title": "回转窑", + "icon": "el-icon-menu", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "name": "kiln_report", + "path": "/enm_kiln/report", + "meta": { + "title": "生产报告", + "icon": "el-icon-document", + "perms": ["enm"] + }, + "component": "enm_kiln/report" + }, + { + "name": "kiln_power", + "path": "/enm_kiln/power", + "meta": { + "title": "单位产品电耗", + "icon": "el-icon-odometer", + "perms": ["enm"] + }, + "component": "enm_kiln/power" + }, + { + "name": "kiln_teamAnalysis", + "path": "/enm_kiln/teamAnalysis", + "meta": { + "title": "班组月度对比", + "icon": "el-icon-operation", + "perms": ["enm"] + }, + "component": "enm_kiln/teamAnalysis" + }, + { + "name": "kiln_workshopAnalysis", + "path": "/enm_kiln/workshopAnalysis", + "meta": { + "title": "车间单耗分析", + "icon": "el-icon-data-line", + "perms": ["enm"] + }, + "component": "enm_kiln/workshopAnalysis" + }, + { + "name": "kiln_handoverLog", + "path": "/enm_kiln/handoverLog", + "meta": { + "title": "交接班日志", + "icon": "el-icon-document-copy", + "perms": ["enm"] + }, + "component": "enm_kiln/handoverLog" + }, + ] + }, + //煤磨 + { + "name": "enm_coal", + "path": "/enm_coal", + "meta": { + "title": "煤磨", + "icon": "el-icon-brush-filled", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "name": "coal_report", + "path": "/enm_coal/report", + "meta": { + "title": "生产报告", + "icon": "el-icon-document", + "perms": ["enm"] + }, + "component": "enm_coal/report" + }, + { + "name": "coal_power", + "path": "/enm_coal/power", + "meta": { + "title": "单位产品电耗", + "icon": "el-icon-odometer", + "perms": ["enm"] + }, + "component": "enm_coal/power" + }, + { + "name": "coal_teamAnalysis", + "path": "/enm_coal/teamAnalysis", + "meta": { + "title": "班组月度对比", + "icon": "el-icon-operation", + "perms": ["enm"] + }, + "component": "enm_coal/teamAnalysis" + }, + { + "name": "coal_workshopAnalysis", + "path": "/enm_coal/workshopAnalysis", + "meta": { + "title": "车间单耗分析", + "icon": "el-icon-data-line", + "perms": ["enm"] + }, + "component": "enm_coal/workshopAnalysis" + }, + { + "name": "coal_handoverLog", + "path": "/enm_coal/handoverLog", + "meta": { + "title": "交接班日志", + "icon": "el-icon-document-copy", + "perms": ["enm"] + }, + "component": "enm_coal/handoverLog" + }, + ] + }, + //水泥磨 + { + "name": "enm_mill", + "path": "/enm_mill", + "meta": { + "title": "水泥磨", + "icon": "el-icon-help-filled", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "name": "mill_report", + "path": "/enm_mill/report", + "meta": { + "title": "生产报告", + "icon": "el-icon-document", + "perms": ["enm"] + }, + "component": "enm_mill/report" + }, + { + "name": "mill_power", + "path": "/enm_mill/power", + "meta": { + "title": "单位产品电耗", + "icon": "el-icon-odometer", + "perms": ["enm"] + }, + "component": "enm_mill/power" + }, + { + "name": "mill_teamAnalysis", + "path": "/enm_mill/teamAnalysis", + "meta": { + "title": "班组月度对比", + "icon": "el-icon-operation", + "perms": ["enm"] + }, + "component": "enm_mill/teamAnalysis" + }, + { + "name": "mill_workshopAnalysis", + "path": "/enm_mill/workshopAnalysis", + "meta": { + "title": "车间单耗分析", + "icon": "el-icon-data-line", + "perms": ["enm"] + }, + "component": "enm_mill/workshopAnalysis" + }, + { + "name": "mill_handoverLog", + "path": "/enm_mill/handoverLog", + "meta": { + "title": "交接班日志", + "icon": "el-icon-document-copy", + "perms": ["enm"] + }, + "component": "enm_mill/handoverLog" + }, + ] + }, + //水泥包装 + { + "name": "enm_pack", + "path": "/enm_pack", + "meta": { + "title": "水泥包装", + "icon": "el-icon-goods-filled", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "name": "pack_report", + "path": "/enm_pack/report", + "meta": { + "title": "生产报告", + "icon": "el-icon-document", + "perms": ["enm"] + }, + "component": "enm_pack/report" + }, + // { + // "name": "pack_power", + // "path": "/enm_pack/power", + // "meta": { + // "title": "单位产品电耗", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "enm_pack/power" + // }, + { + "name": "pack_teamAnalysis", + "path": "/enm_pack/teamAnalysis", + "meta": { + "title": "班组月度对比", + "icon": "el-icon-operation", + "perms": ["enm"] + }, + "component": "enm_pack/teamAnalysis" + }, + { + "name": "pack_workshopAnalysis", + "path": "/enm_pack/workshopAnalysis", + "meta": { + "title": "车间单耗分析", + "icon": "el-icon-data-line", + "perms": ["enm"] + }, + "component": "enm_pack/workshopAnalysis" + }, + { + "name": "pack_handoverLog", + "path": "/enm_pack/handoverLog", + "meta": { + "title": "交接班日志", + "icon": "el-icon-document-copy", + "perms": ["enm"] + }, + "component": "enm_pack/handoverLog" + }, + ] + }, + //全厂能源 + { + "name": "energy", + "path": "/energy", + "meta": { + "title": "全厂能源", + "icon": "el-icon-share", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "name": "energy", + "path": "/ungrouped/energy", + "meta": { + "title": "能源统计", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/energy" + }, + { + "name": "value", + "path": "/ungrouped/value", + "meta": { + "title": "工业产值", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/value" + }, + { + "name": "electric", + "path": "/ungrouped/electric", + "meta": { + "title": "全厂电量统计", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/electric" + }, + { + "name": "electricHour", + "path": "/ungrouped/electricHour", + "meta": { + "title": "全厂电量小时统计", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/electric_hour" + }, + { + "name": "energyPicture", + "path": "/ungrouped/energyPicture", + "meta": { + "title": "能源流向", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/energyPicture" + }, + { + "name": "electricDay", + "path": "/ungrouped/electricDay", + "meta": { + "title": "全厂电量日统计", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/electric_day" + }, + { + "name": "electricMonth", + "path": "/ungrouped/electricMonth", + "meta": { + "title": "全厂电量月统计", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/electric_month" + } + ] }, - "component": "hrm/certificate" - }, + //全厂报表 + { + "name": "rforms", + "path": "/rforms", + "meta": { + "title": "全厂报表", + "icon": "el-icon-histogram", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "name": "costing", + "path": "/ungrouped/costing", + "meta": { + "title": "成本计算", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/costing" + }, + { + "name": "quality", + "path": "/ungrouped/quality", + "meta": { + "title": "质量报表", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/quality" + } + ,{ + "name": "reportAll", + "path": "/ungrouped/report", + "meta": { + "title": "生产日报表", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/report" + },{ + "name": "reportMonthAll", + "path": "/ungrouped/reportMonth", + "meta": { + "title": "生产月报表", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/report_month" + } + ] + }, + //设备 + { + "name": "em", + "path": "/em", + "meta": { + "title": "设备", + "icon": "el-icon-grid", + "type": "menu", + "perms": ["em"] + }, + "children": [ + { + "name": "equipment", + "path": "/em/equipment", + "meta": { + "title": "生产设备", + "icon": "el-icon-cellphone", + "perms": ["equipment"] + }, + "component": "em/equipment" + }, + { + "name": "equipmentc", + "path": "/em/equipmentc", + "meta": { + "title": "计量设备", + "icon": "el-icon-cellphone", + "perms": ["equipment"] + }, + "component": "em/equipmentc" + }, + ] + }, + //制造管理 mtm + { + "name": "mtm", + "path": "/mtm", + "meta": { + "title": "制造管理", + "icon": "el-icon-grid", + "type": "menu", + "perms": ["mtm"] + }, + "children": [ + { + "name": "materials", + "path": "/mtm/materials", + "meta": { + "title": "物料产品", + "icon": "el-icon-cellphone", + "perms": ["mtm"] + }, + "component": "mtm/materials" + }, + { + "name": "products", + "path": "/mtm/products", + "meta": { + "title": "产品管理", + "icon": "el-icon-cellphone", + "perms": ["mtm"] + }, + "component": "mtm/products" + }, + { + "name": "process", + "path": "/mtm/process", + "meta": { + "title": "工序管理", + "icon": "el-icon-cellphone", + "perms": ["mtm"] + }, + "component": "mtm/process" + }, + ] + }, + //生产管理 pm + { + "name": "pm", + "path": "/pm", + "meta": { + "title": "生产管理", + "icon": "el-icon-grid", + "type": "menu", + "perms": ["pm"] + }, + "children": [ + { + "name": "mtask", + "path": "/pm/mtask", + "meta": { + "title": "生产计划-生产一部", + "icon": "el-icon-cellphone", + "perms": ["pm"] + }, + "component": "pm/mtask" + }, + { + "name": "mtask2", + "path": "/pm/mtask2", + "meta": { + "title": "生产计划-生产二部", + "icon": "el-icon-cellphone", + "perms": ["inm"] + }, + "component": "pm/mtask2" + } + ] + }, + //库存 inm + { + "name": "inm", + "path": "/inm", + "meta": { + "title": "库存管理", + "icon": "el-icon-grid", + "type": "menu", + "perms": ["inm"] + }, + "children": [ + { + "name": "warehouse", + "path": "/inm/warehouse", + "meta": { + "title": "仓库管理", + "icon": "el-icon-cellphone", + "perms": ["inm"] + }, + "component": "inm/warehouse" + }, + { + "name": "material", + "path": "/inm/material", + "meta": { + "title": "物料产品", + "icon": "el-icon-cellphone", + "perms": ["inm"] + }, + "component": "ungrouped/material" + }, + { + "name": "materialbatch", + "path": "/inm/materialbatch", + "meta": { + "title": "物料批次", + "icon": "el-icon-cellphone", + "perms": ["inm"] + }, + "component": "inm/materialbatch" + }, + ] + }, + //采购 pum + { + "name": "pum", + "path": "/pum", + "meta": { + "title": "采购管理", + "icon": "el-icon-grid", + "type": "menu", + "perms": ["pum"] + }, + "children": [ + { + "name": "plan", + "path": "/pum/plan", + "meta": { + "title": "采购计划", + "icon": "el-icon-cellphone", + "perms": ["pum"] + }, + "component": "pum/plan" + }, + { + "name": "planitem", + "path": "/pum/planitem", + "meta": { + "title": "采购计划详情", + "icon": "el-icon-cellphone", + "perms": ["pum"], + "hidden": true, + }, + "component": "pum/planitem" + }, + { + "name": "order", + "path": "/pum/order", + "meta": { + "title": "采购订单", + "icon": "el-icon-cellphone", + "perms": ["pum"] + }, + "component": "pum/order" + }, + { + "name": "orderitem", + "path": "/pum/orderitem", + "meta": { + "title": "采购订单详情", + "icon": "el-icon-cellphone", + "perms": ["pum"], + "hidden": true, + }, + "component": "pum/orderitem" + }, + + { + "name": "supplier", + "path": "/pum/supplier", + "meta": { + "title": "供应商", + "icon": "el-icon-cellphone", + "perms": ["pum"] + }, + "component": "pum/supplier" + }, + ] + }, + //销售 sam + { + "name": "sam", + "path": "/sam", + "meta": { + "title": "销售管理", + "icon": "el-icon-grid", + "type": "menu", + "perms": ["em"] + }, + "children": [ + { + "name": "contract", + "path": "/sam/contract", + "meta": { + "title": "合同信息", + "icon": "el-icon-cellphone", + "perms": ["sam"] + }, + "component": "sam/contract" + }, + { + "name": "customer", + "path": "/sam/customer", + "meta": { + "title": "客户信息", + "icon": "el-icon-cellphone", + "perms": ["sam"] + }, + "component": "sam/customer" + }, + { + "name": "samOrder", + "path": "/sam/samOrder", + "meta": { + "title": "订单", + "icon": "el-icon-cellphone", + "perms": ["sam"] + }, + "component": "sam/order" + }, + { + "name": "samOrderitem", + "path": "/sam/samOrderitem", + "meta": { + "title": "订单详情", + "icon": "el-icon-cellphone", + "perms": ["sam"] + }, + "component": "sam/orderitem" + }, + ] + }, + //事件 + { + "name": "ecm", + "path": "/ecm", + "meta": { + "title": "事件", + "icon": "el-icon-camera-filled", + "type": "menu", + "perms": ["ecm"] + }, + "children": [ + { + "name": "event", + "path": "/ecm/event", + "meta": { + "title": "事件列表", + "icon": "el-icon-alarm-clock", + "perms": ["event"] + }, + "component": "ecm/event", + } + , + { + "name": "eventfrom", + "path": "/ecm/event_from", + "meta": { + "title": "事件详情", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["event"] + }, + "component": "ecm/event_from" + } + , + { + "name": "eventhandlefrom", + "path": "/ecm/event_handlefrom", + "meta": { + "title": "处理事件", + "icon": "el-icon-menu", + "perms": ["event"], + "hidden": true, + }, + "component": "ecm/event_handlefrom" + }, + { + "name": "myevent", + "path": "/ecm/myevent", + "meta": { + "title": "我的事件", + "icon": "el-icon-notification", + "perms": ["myevent"] + }, + "component": "ecm/myevent" + }, + { + "name": "notify_setting", + "path": "/ecm/notify_setting", + "meta": { + "title": "提醒配置", + "icon": "el-icon-setting", + "perms": ["notify_setting"] + }, + "component": "ecm/notify_setting" + }, + { + "name": "algo", + "path": "/ecm/algo", + "meta": { + "title": "算法布设", + "icon": "el-icon-set-up", + "perms": ["algo"] + }, + "component": "ecm/algo" + } + ] + }, + //风控 + { + "name": "opm", + "path": "/opm", + "meta": { + "title": "风控", + "icon": "el-icon-list", + "type": "menu", + "perms": ["opm"] + }, + "children": [ + { + "name": "operation", + "path": "/opm/operation", + "meta": { + "title": "作业列表", + "icon": "el-icon-tickets", + "perms": ["operation"] + }, + "component": "opm/operation" + }, + { + "name": "oplcate", + "path": "/opm/oplcate", + "meta": { + "title": "许可证分类", + "icon": "el-icon-ticket", + "perms": ["oplcate"] + }, + "component": "opm/oplcate" + }, + { + "name": "opl", + "path": "/opm/opl", + "meta": { + "title": "作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/opl" + }, + { + "name": "fire", + "path": "/opm/fire", + "meta": { + "title": "动火作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/fire" + }, + { + "name": "space", + "path": "/opm/space", + "meta": { + "title": "有限空间作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/space" + }, + { + "name": "clear", + "path": "/opm/clear", + "meta": { + "title": "清库作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/clear" + } , + { + "name": "high", + "path": "/opm/high", + "meta": { + "title": "高处作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/high" + }, + { + "name": "hoisting", + "path": "/opm/hoisting", + "meta": { + "title": "吊装作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/hoisting" + }, + { + "name": "preheat", + "path": "/opm/preheat", + "meta": { + "title": "预热器清堵作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/preheat" + }, + { + "name": "cooler", + "path": "/opm/cooler", + "meta": { + "title": "篦冷机清大块作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/cooler" + }, + { + "name": "soil", + "path": "/opm/soil", + "meta": { + "title": "动土作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/soil" + }, + { + "name": "usecl", + "path": "/opm/usecl", + "meta": { + "title": "临时用电作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/usecl" + }, + { + "name": "normal", + "path": "/opm/normal", + "meta": { + "title": "普通作业许可证", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["operation"] + }, + "component": "opm/normal" + } + ] + }, + //相关方 + { + "name": "rpm", + "path": "/rpm", + "meta": { + "title": "相关方", + "icon": "el-icon-avatar", + "type": "menu", + "perms": ["rpm"] + }, + "children": [ + { + "name": "rparty", + "path": "/rpm/rparty", + "meta": { + "title": "相关方列表", + "icon": "el-icon-tickets", + "perms": ["rparty"] + }, + "component": "rpm/rparty" + }, + { + "name": "blacklist", + "path": "/rpm/blacklist", + "meta": { + "title": "黑名单", + "icon": "el-icon-box", + "perms": ["blacklist"] + }, + "component": "rpm/blacklist" + }, + { + "name": "remployee", + "path": "/rpm/remployee", + "meta": { + "title": "人员列表", + "icon": "el-icon-user", + "perms": ["remployee"] + }, + "component": "rpm/remployee" + }, + { + "name": "rcertificate", + "path": "/rpm/rcertificate", + "meta": { + "title": "人员证书", + "icon": "el-icon-postcard", + "perms": ["rcertificate"] + }, + "component": "rpm/rcertificate" + }, + { + "name": "rfile", + "path": "/rpm/rfile", + "meta": { + "title": "企业资料", + "icon": "el-icon-shopping-bag", + "perms": ["rfile"] + }, + "component": "rpm/rfile" + }, + { + "name": "rpj", + "path": "/rpm/rpj", + "meta": { + "title": "入厂项目", + "icon": "el-icon-calendar", + "perms": ["rpj"] + }, + "component": "rpm/rpj" + }, + { + "name": "rpjadd", + "path": "/rpm/rpjadd", + "meta": { + "title": "入厂项目相关信息", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["rpj"] + }, + "component": "rpm/rpjadd" + }, + + ] + }, + //访客 + { + "name": "vm", + "path": "/vm", + "meta": { + "title": "访客", + "icon": "el-icon-user-filled", + "type": "menu", + "perms":['visit'] + }, + "children": [ + { + "name": "visit", + "path": "/vm/visit", + "meta": { + "title": "来访项目", + "icon": "el-icon-tickets", + "perms":['visit'] + }, + "component": "vm/visit" + }, + { + "name": "visitor", + "path": "/vm/visitor", + "meta": { + "title": "我的访客", + "icon": "el-icon-user", + "perms":['visit'] + }, + "component": "vm/visitor" + },{ + "name": "people", + "path": "/vm/people", + "meta": { + "title": "访客人员", + "icon": "el-icon-menu", + "perms":['visit'], + "hidden": true, + }, + "component": "vm/people" + } + ,{ + "name": "vistoradd", + "path": "/vm/vistoradd", + "meta": { + "title": "项目信息", + "icon": "el-icon-menu", + "hidden": true, + "perms":['visit'] + }, + "component": "vm/vistoradd" + }, + ] + }, + //审批 + { + "name": "wf", + "path": "/wf", + "meta": { + "title": "审批", + "icon": "el-icon-circle-check-filled", + "type": "menu", + "perms": ["wf"] + }, + "children": [ + { + "name": "workflow", + "path": "/wf/workflow", + "meta": { + "title": "工作流", + "icon": "el-icon-guide", + "perms": ["workflow"] + }, + "component": "wf/workflow" + }, + { + "name": "configuration", + "path": "/wf/configuration", + "meta": { + "title": "工作流配置", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["workflow"] + }, + "component": "wf/configuration" + } + , + { + "name": "allwork", + "path": "/wf/allwork", + "meta": { + "title": "全部工单", + "icon": "el-icon-folder", + "perms": ["allwork"] + + }, + "component": "wf/allwork" + } , + { + "name": "ownerwork", + "path": "/wf/ownerwork", + "meta": { + "title": "我创建的", + "icon": "el-icon-folder-add", + "perms": ["ownerwork"] + }, + "component": "wf/ownerwork" + } + , + + { + "name": "duty", + "path": "/wf/dutywork", + "meta": { + "title": "待办工单", + "icon": "el-icon-folder-opened", + "perms": ["duty"] + }, + "component": "wf/dutywork" + }, + { + "name": "worked", + "path": "/wf/worked", + "meta": { + "title": "我处理的", + "icon": "el-icon-expand", + "perms": ["worked"] + }, + "component": "wf/worked" + }, + { + "name": "ccwork", + "path": "/wf/ccwork", + "meta": { + "title": "抄送我的", + "icon": "el-icon-edit-pen", + "perms": ["ccwork"] + }, + "component": "wf/ccwork" + }, + { + "name": "ticketdetail", + "path": "/wf/ticketdetail", + "meta": { + "title": "工单详情", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["duty"] + }, + "component": "wf/ticketdetail" + }, + ] + }, + //区域 + { + "name": "am", + "path": "/am", + "meta": { + "title": "区域", + "icon": "el-icon-location-filled", + "type": "menu", + "perms": ["am"] + }, + "children": [ + { + "name": "area", + "path": "/am/area", + "meta": { + "title": "区域列表", + "icon": "el-icon-tickets", + "perms": ["area"] + }, + "component": "am/area" + }, + { + "name": "eqm", + "path": "/am/eqm", + "meta": { + "title": "门禁通道", + "icon": "el-icon-phone", + "perms": ["eqm"] + }, + "component": "am/em1" + }, + { + "name": "monitor", + "path": "/am/monitor", + "meta": { + "title": "视频通道", + "icon": "el-icon-video-camera", + "perms": ["monitor"] + }, + "component": "am/monitor" + }, + { + "name": "audio", + "path": "/am/audio", + "meta": { + "title": "喇叭通道", + "icon": "el-icon-mic", + "perms": ["audio"] + }, + "component": "am/audio" + },{ + "name": "blt", + "path": "/am/blt", + "meta": { + "title": "定位标签", + "icon": "el-icon-map-location", + "perms": ["blt"] + }, + "component": "am/blt" + }, + ] + }, + //人事 + { + "name": "hrm", + "path": "/hrm", + "meta": { + "title": "人事", + "icon": "el-icon-platform", + "type": "menu", + "perms": ["hrm"] + }, + "children": [ + + { + "name": "employee", + "path": "/hrm/employee", + "meta": { + "title": "人员信息", + "icon": "el-icon-user", + "perms": ["employee"] + }, + "component": "hrm/employee" + } + , + { + "name": "certificate", + "path": "/hrm/certificate", + "meta": { + "title": "证书列表", + "icon": "el-icon-tickets", + "perms": ["certificate"] + }, + "component": "hrm/certificate" + } + , + { + "name": "clockRecord", + "path": "/hrm/clock_record", + "meta": { + "title": "打卡记录", + "icon": "el-icon-check", + "perms": ["clock_record"] + }, + "component": "hrm/clock_record" + }, + { + "name": "certificate", + "path": "/hrm/certificate", + "meta": { + "title": "相关证书", + "icon": "el-icon-menu", + "hidden": true, + "perms": ["employee"] + + }, + "component": "hrm/certificate" + }, + + ] + }, + //基础配置 + { + "name": "base", + "path": "/base", + "meta": { + "title": "基础配置", + "icon": "el-icon-management", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "path": "/ungrouped/team", + "name": "team", + "meta": { + "title": "班组管理", + "icon": "el-icon-postcard", + "type": "menu", + "perms": ["enm"] + }, + "component": "ungrouped/team" + }, + { + "name": "mgruop", + "path": "/ungrouped/mgruop", + "meta": { + "title": "测点集", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/mgroup" + }, + { + "name": "mpoint", + "path": "/em/mpoint", + "meta": { + "title": "测点", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "em/mpoint" + }, + { + "name": "material", + "path": "/ungrouped/material", + "meta": { + "title": "物料", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/material" + } + ] + }, + //每月配置 + { + "name": "month", + "path": "/month", + "meta": { + "title": "每月配置", + "icon": "el-icon-checked", + "type": "menu", + "perms": ["enm"] + }, + "children": [ + { + "name": "priceset", + "path": "/ungrouped/priceset", + "meta": { + "title": "物料价格配置", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/priceset" + }, + { + "name": "feeset", + "path": "/ungrouped/feeset", + "meta": { + "title": "工段成本配置", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/feeset" + }, + { + "name": "goalSetting", + "path": "/ungrouped/goalSetting", + "meta": { + "title": "月度年度目标值", + "icon": "el-icon-grid", + "perms": ["enm"] + }, + "component": "ungrouped/goalSetting" + }, + ] + }, + // //系统 + { + "name": "sys", + "path": "/sys", + "meta": { + "title": "系统", + "icon": "el-icon-tools", + "type": "menu", + "perms": ["sys"] + }, + "children": [ + { + "path": "/sys/user", + "name": "user", + "meta": { + "title": "账户管理", + "icon": "el-icon-user", + "type": "menu", + "perms": ["user"] + }, + "component": "sys/user" + }, + { + "path": "/sys/dept", + "name": "dept", + "meta": { + "title": "部门管理", + "icon": "sc-icon-organization", + "type": "menu", + "perms": ["dept"] + }, + "component": "sys/dept" + }, + { + "path": "/sys/post", + "name": "post", + "meta": { + "title": "岗位管理", + "icon": "el-icon-postcard", + "type": "menu", + "perms": ["post"] + }, + "component": "sys/post" + }, + { + "path": "/sys/role", + "name": "role", + "meta": { + "title": "角色管理", + "icon": "el-icon-notebook", + "type": "menu", + "perms": ["role"] + }, + "component": "sys/role" + }, + { + "path": "/sys/dict", + "name": "dict", + "meta": { + "title": "字典管理", + "icon": "el-icon-document", + "type": "menu", + "perms": ["dict"] + }, + "component": "sys/dict" + }, + { + "path": "/sys/task", + "name": "task", + "meta": { + "title": "计划任务", + "icon": "el-icon-alarm-clock", + "type": "menu", + "perms": ["task"] + }, + "component": "sys/task" + } + ] + }, + // //运维 + { + "name": "ops", + "path": "/ops", + "meta": { + "title": "运维", + "icon": "el-icon-briefcase", + "type": "menu", + "perms": ["ops"] + }, + "children": [ + { + "name": "menu", + "path": "/ops/menu", + "meta": { + "title": "菜单管理", + "icon": "el-icon-fold", + "perms": ["menu"] + }, + "component": "ops/menu" + }, + { + "name": "log", + "path": "/ops/log", + "meta": { + "title": "请求日志", + "icon": "el-icon-document", + "perms": ["log"] + }, + "component": "ops/log_request" + }, + { + "name": "thirdLogs", + "path": "/ops/thirdLogs", + "meta": { + "title": "第三方日志", + "icon": "el-icon-document", + "perms": ["third_log"] + }, + "component": "ops/thirdLogs" + }, + { + "name": "fileLogs", + "path": "/ops/fileLogs", + "meta": { + "title": "文件日志", + "icon": "el-icon-document", + "perms": ["file_log"] + }, + "component": "ops/fileLogs" + }, + { + "name": "server", + "path": "/ops/server", + "meta": { + "title": "服务器", + "icon": "el-icon-document", + "perms": ["ops"] + }, + "component": "ops/server" + }, + { + "name": "setting", + "path": "/ops/setting", + "meta": { + "title": "配置", + "icon": "el-icon-document", + "perms": ["ops"] + }, + "component": "ops/setting" + }, + ] + }, + ] + }, + //数据看板 + { + "path": "/bigScreen", + "name": "bigScreen", + "meta": { + "title": "驾驶舱", + "icon": "el-icon-position", + "perms": ["bigScreen"], + "fullpage": true, + }, + "component": "bigScreen" + }, + //数据看板 + { + "path": "/bigScreen2", + "name": "bigScreen2", + "meta": { + "title": "能管大屏", + "icon": "el-icon-position", + "perms": ["bigScreen2"], + "fullpage": true, + }, + "component": "bigScreen/index_enm" + }, + //数据看板 + { + "path": "/bigScreenP", + "name": "bigScreenP", + "meta": { + "title": "能管大屏", + "icon": "el-icon-position", + "perms": ["bigScreenPhoton"], + "fullpage": true, + }, + "component": "bigScreen/index_enm" + }, + //首页 + // { + // "name": "home", + // "path": "/home", + // "meta": { + // "title": "首页", + // "icon": "el-icon-home-filled", + // "type": "menu", + // "perms": ["home"] + // }, + // "children": [ + // { + // "name": "dashboard", + // "path": "/dashboard", + // "meta": { + // "title": "控制台", + // "icon": "el-icon-monitor", + // "affix": true, + // "perms": ["dashboard"] + // }, + // "component": "home" + // }, + // { + // "name": "dashboard_enm", + // "path": "/dashboard_enm", + // "meta": { + // "title": "控制台", + // "icon": "el-icon-monitor", + // "affix": true, + // "perms": ["enm"] + // }, + // "component": "home/enm_home" + // }, + // { + // "name": "dashboard_photon", + // "path": "/dashboard_photon", + // "meta": { + // "title": "控制台", + // "icon": "el-icon-monitor", + // "affix": true, + // "perms": ["photondashboard"] + // }, + // "component": "home/photon_home" + // }, + // { + // "path": "/bigScreen", + // "name": "bigScreen", + // "meta": { + // "title": "驾驶舱", + // "icon": "el-icon-position", + // "perms": ["bigScreen"], + // "fullpage": true, + // }, + // "component": "bigScreen" + // }, + // { + // "path": "/bigScreen2", + // "name": "bigScreen2", + // "meta": { + // "title": "能管大屏", + // "icon": "el-icon-position", + // "perms": ["bigScreen2"], + // "fullpage": true, + // }, + // "component": "bigScreen/index_enm" + // }, + // { + // "path": "/track", + // "name": "track", + // "meta": { + // "title": "轨迹追踪", + // "icon": "el-icon-position", + // "fullpage": true, + // "hidden": true, + // }, + // "component": "bigScreen/track" + // }, + // { + // "name": "userCenter", + // "path": "/usercenter", + // "meta": { + // "title": "帐号信息", + // "icon": "el-icon-user", + // "perms": ["userCenter"] + // }, + // "component": "userCenter" + // }, + // { + // "name": "events", + // "path": "/events", + // "meta": { + // "title": "报警事件", + // "icon": "el-icon-user", + // "perms": ["bigScreen2"] + // }, + // "component": "home/event" + // }, + // ] + // }, + // //报表 + // { + // "name": "bi", + // "path": "/bi", + // "meta": { + // "title": "报表", + // "icon": "el-icon-trend-charts", + // "type": "menu", + // "perms": ["bi"] + // }, + // "children": [ + // { + // "name": "dataset", + // "path": "/bi/dataset", + // "meta": { + // "title": "数据集", + // "icon": "el-icon-grid", + // "perms": ["dataset"] + // }, + // "component": "bi/dataset" + // }, + // { + // "name": "graph", + // "path": "/bi/graph", + // "meta": { + // "title": "测试图", + // "icon": "el-icon-grid", + // "perms": ["dataset"] + // }, + // "component": "bi/graph" + // } + // ] + // }, + // //电石渣 + // { + // "name": "enm_slag", + // "path": "/enm_slag", + // "meta": { + // "title": "电石渣", + // "icon": "el-icon-opportunity", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + // { + // "name": "slag_report", + // "path": "/enm_slag/report", + // "meta": { + // "title": "生产报告", + // "icon": "el-icon-document", + // "perms": ["enm"] + // }, + // "component": "enm_slag/report" + // }, + // { + // "name": "slag_power", + // "path": "/enm_slag/power", + // "meta": { + // "title": "单位产品电耗", + // "icon": "el-icon-odometer", + // "perms": ["enm"] + // }, + // "component": "enm_slag/power" + // }, + // { + // "name": "slag_teamAnalysis", + // "path": "/enm_slag/teamAnalysis", + // "meta": { + // "title": "班组月度对比", + // "icon": "el-icon-operation", + // "perms": ["enm"] + // }, + // "component": "enm_slag/teamAnalysis" + // }, + // { + // "name": "slag_workshopAnalysis", + // "path": "/enm_slag/workshopAnalysis", + // "meta": { + // "title": "车间单耗分析", + // "icon": "el-icon-data-line", + // "perms": ["enm"] + // }, + // "component": "enm_slag/workshopAnalysis" + // }, + // { + // "name": "slag_handoverLog", + // "path": "/enm_slag/handoverLog", + // "meta": { + // "title": "交接班日志", + // "icon": "el-icon-document-copy", + // "perms": ["enm"] + // }, + // "component": "enm_slag/handoverLog" + // }, + // ] + // }, + // //原料磨 + // { + // "name": "enm_rm", + // "path": "/enm_rm", + // "meta": { + // "title": "原料磨", + // "icon": "el-icon-list", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + // { + // "name": "report", + // "path": "/enm_rm/report", + // "meta": { + // "title": "生产报告", + // "icon": "el-icon-document", + // "perms": ["enm"] + // }, + // "component": "enm_rm/report" + // }, + // { + // "name": "power", + // "path": "/enm_rm/power", + // "meta": { + // "title": "单位产品电耗", + // "icon": "el-icon-odometer", + // "perms": ["enm"] + // }, + // "component": "enm_rm/power" + // }, + // { + // "name": "teamAnalysis", + // "path": "/enm_rm/teamAnalysis", + // "meta": { + // "title": "班组月度对比", + // "icon": "el-icon-operation", + // "perms": ["enm"] + // }, + // "component": "enm_rm/teamAnalysis" + // }, + // { + // "name": "workshopAnalysis", + // "path": "/enm_rm/workshopAnalysis", + // "meta": { + // "title": "车间单耗分析", + // "icon": "el-icon-data-line", + // "perms": ["enm"] + // }, + // "component": "enm_rm/workshopAnalysis" + // }, + // { + // "name": "handoverLog", + // "path": "/enm_rm/handoverLog", + // "meta": { + // "title": "交接班日志", + // "icon": "el-icon-document-copy", + // "perms": ["enm"] + // }, + // "component": "enm_rm/handoverLog" + // }, + // { + // "name": "logDetail", + // "path": "/enm_rm/logDetail", + // "meta": { + // "title": "日志详情", + // "icon": "el-icon-document-copy", + // "perms": ["enm"], + // "hidden":true + // }, + // "component": "enm_rm/logDetail" + // }, + // ] + // }, + // //回转窑 + // { + // "name": "enm_kiln", + // "path": "/enm_kiln", + // "meta": { + // "title": "回转窑", + // "icon": "el-icon-menu", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + // { + // "name": "kiln_report", + // "path": "/enm_kiln/report", + // "meta": { + // "title": "生产报告", + // "icon": "el-icon-document", + // "perms": ["enm"] + // }, + // "component": "enm_kiln/report" + // }, + // { + // "name": "kiln_power", + // "path": "/enm_kiln/power", + // "meta": { + // "title": "单位产品电耗", + // "icon": "el-icon-odometer", + // "perms": ["enm"] + // }, + // "component": "enm_kiln/power" + // }, + // { + // "name": "kiln_teamAnalysis", + // "path": "/enm_kiln/teamAnalysis", + // "meta": { + // "title": "班组月度对比", + // "icon": "el-icon-operation", + // "perms": ["enm"] + // }, + // "component": "enm_kiln/teamAnalysis" + // }, + // { + // "name": "kiln_workshopAnalysis", + // "path": "/enm_kiln/workshopAnalysis", + // "meta": { + // "title": "车间单耗分析", + // "icon": "el-icon-data-line", + // "perms": ["enm"] + // }, + // "component": "enm_kiln/workshopAnalysis" + // }, + // { + // "name": "kiln_handoverLog", + // "path": "/enm_kiln/handoverLog", + // "meta": { + // "title": "交接班日志", + // "icon": "el-icon-document-copy", + // "perms": ["enm"] + // }, + // "component": "enm_kiln/handoverLog" + // }, + // ] + // }, + // //煤磨 + // { + // "name": "enm_coal", + // "path": "/enm_coal", + // "meta": { + // "title": "煤磨", + // "icon": "el-icon-brush-filled", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + // { + // "name": "coal_report", + // "path": "/enm_coal/report", + // "meta": { + // "title": "生产报告", + // "icon": "el-icon-document", + // "perms": ["enm"] + // }, + // "component": "enm_coal/report" + // }, + // { + // "name": "coal_power", + // "path": "/enm_coal/power", + // "meta": { + // "title": "单位产品电耗", + // "icon": "el-icon-odometer", + // "perms": ["enm"] + // }, + // "component": "enm_coal/power" + // }, + // { + // "name": "coal_teamAnalysis", + // "path": "/enm_coal/teamAnalysis", + // "meta": { + // "title": "班组月度对比", + // "icon": "el-icon-operation", + // "perms": ["enm"] + // }, + // "component": "enm_coal/teamAnalysis" + // }, + // { + // "name": "coal_workshopAnalysis", + // "path": "/enm_coal/workshopAnalysis", + // "meta": { + // "title": "车间单耗分析", + // "icon": "el-icon-data-line", + // "perms": ["enm"] + // }, + // "component": "enm_coal/workshopAnalysis" + // }, + // { + // "name": "coal_handoverLog", + // "path": "/enm_coal/handoverLog", + // "meta": { + // "title": "交接班日志", + // "icon": "el-icon-document-copy", + // "perms": ["enm"] + // }, + // "component": "enm_coal/handoverLog" + // }, + // ] + // }, + // //水泥磨 + // { + // "name": "enm_mill", + // "path": "/enm_mill", + // "meta": { + // "title": "水泥磨", + // "icon": "el-icon-help-filled", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + // { + // "name": "mill_report", + // "path": "/enm_mill/report", + // "meta": { + // "title": "生产报告", + // "icon": "el-icon-document", + // "perms": ["enm"] + // }, + // "component": "enm_mill/report" + // }, + // { + // "name": "mill_power", + // "path": "/enm_mill/power", + // "meta": { + // "title": "单位产品电耗", + // "icon": "el-icon-odometer", + // "perms": ["enm"] + // }, + // "component": "enm_mill/power" + // }, + // { + // "name": "mill_teamAnalysis", + // "path": "/enm_mill/teamAnalysis", + // "meta": { + // "title": "班组月度对比", + // "icon": "el-icon-operation", + // "perms": ["enm"] + // }, + // "component": "enm_mill/teamAnalysis" + // }, + // { + // "name": "mill_workshopAnalysis", + // "path": "/enm_mill/workshopAnalysis", + // "meta": { + // "title": "车间单耗分析", + // "icon": "el-icon-data-line", + // "perms": ["enm"] + // }, + // "component": "enm_mill/workshopAnalysis" + // }, + // { + // "name": "mill_handoverLog", + // "path": "/enm_mill/handoverLog", + // "meta": { + // "title": "交接班日志", + // "icon": "el-icon-document-copy", + // "perms": ["enm"] + // }, + // "component": "enm_mill/handoverLog" + // }, + // ] + // }, + // //水泥包装 + // { + // "name": "enm_pack", + // "path": "/enm_pack", + // "meta": { + // "title": "水泥包装", + // "icon": "el-icon-goods-filled", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + // { + // "name": "pack_report", + // "path": "/enm_pack/report", + // "meta": { + // "title": "生产报告", + // "icon": "el-icon-document", + // "perms": ["enm"] + // }, + // "component": "enm_pack/report" + // }, + // // { + // // "name": "pack_power", + // // "path": "/enm_pack/power", + // // "meta": { + // // "title": "单位产品电耗", + // // "icon": "el-icon-grid", + // // "perms": ["enm"] + // // }, + // // "component": "enm_pack/power" + // // }, + // { + // "name": "pack_teamAnalysis", + // "path": "/enm_pack/teamAnalysis", + // "meta": { + // "title": "班组月度对比", + // "icon": "el-icon-operation", + // "perms": ["enm"] + // }, + // "component": "enm_pack/teamAnalysis" + // }, + // { + // "name": "pack_workshopAnalysis", + // "path": "/enm_pack/workshopAnalysis", + // "meta": { + // "title": "车间单耗分析", + // "icon": "el-icon-data-line", + // "perms": ["enm"] + // }, + // "component": "enm_pack/workshopAnalysis" + // }, + // { + // "name": "pack_handoverLog", + // "path": "/enm_pack/handoverLog", + // "meta": { + // "title": "交接班日志", + // "icon": "el-icon-document-copy", + // "perms": ["enm"] + // }, + // "component": "enm_pack/handoverLog" + // }, + // ] + // }, + // //全厂能源 + // { + // "name": "energy", + // "path": "/energy", + // "meta": { + // "title": "全厂能源", + // "icon": "el-icon-share", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + + // { + // "name": "energy", + // "path": "/ungrouped/energy", + // "meta": { + // "title": "能源统计", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/energy" + // }, + // { + // "name": "value", + // "path": "/ungrouped/value", + // "meta": { + // "title": "工业产值", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/value" + // }, + // { + // "name": "electric", + // "path": "/ungrouped/electric", + // "meta": { + // "title": "全厂电量统计", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/electric" + // }, + // { + // "name": "electricHour", + // "path": "/ungrouped/electricHour", + // "meta": { + // "title": "全厂电量小时统计", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/electric_hour" + // }, + // { + // "name": "energyPicture", + // "path": "/ungrouped/energyPicture", + // "meta": { + // "title": "能源流向", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/energyPicture" + // }, + // { + // "name": "electricDay", + // "path": "/ungrouped/electricDay", + // "meta": { + // "title": "全厂电量日统计", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/electric_day" + // }, + // { + // "name": "electricMonth", + // "path": "/ungrouped/electricMonth", + // "meta": { + // "title": "全厂电量月统计", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/electric_month" + // } + // ] + // }, + // //全厂报表 + // { + // "name": "rforms", + // "path": "/rforms", + // "meta": { + // "title": "全厂报表", + // "icon": "el-icon-histogram", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + // { + // "name": "costing", + // "path": "/ungrouped/costing", + // "meta": { + // "title": "成本计算", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/costing" + // }, + // { + // "name": "quality", + // "path": "/ungrouped/quality", + // "meta": { + // "title": "质量报表", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/quality" + // } + // ,{ + // "name": "reportAll", + // "path": "/ungrouped/report", + // "meta": { + // "title": "生产日报表", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/report" + // },{ + // "name": "reportMonthAll", + // "path": "/ungrouped/reportMonth", + // "meta": { + // "title": "生产月报表", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/report_month" + // } + // // ,{ + // // "name": "echart", + // // "path": "/ungrouped/echart", + // // "meta": { + // // "title": "图表", + // // "icon": "el-icon-grid", + // // "perms": ["enm"] + // // }, + // // "component": "ungrouped/echart" + // // } + // ] + // }, + // //设备 + // { + // "name": "em", + // "path": "/em", + // "meta": { + // "title": "设备", + // "icon": "el-icon-grid", + // "type": "menu", + // "perms": ["em"] + // }, + // "children": [ + // { + // "name": "equipment", + // "path": "/em/equipment", + // "meta": { + // "title": "生产设备", + // "icon": "el-icon-cellphone", + // "perms": ["equipment"] + // }, + // "component": "em/equipment" + // }, + // { + // "name": "equipmentc", + // "path": "/em/equipmentc", + // "meta": { + // "title": "计量设备", + // "icon": "el-icon-cellphone", + // "perms": ["equipment"] + // }, + // "component": "em/equipmentc" + // }, + // ] + // }, + // //生产管理 pm + // { + // "name": "pm", + // "path": "/pm", + // "meta": { + // "title": "生产管理", + // "icon": "el-icon-grid", + // "type": "menu", + // "perms": ["inm"] + // }, + // "children": [ + // { + // "name": "mtask", + // "path": "/pm/mtask", + // "meta": { + // "title": "生产任务", + // "icon": "el-icon-cellphone", + // "perms": ["inm"] + // }, + // "component": "pm/mtask" + // } + // ] + // }, + // //库存 inm + // { + // "name": "inm", + // "path": "/inm", + // "meta": { + // "title": "库存管理", + // "icon": "el-icon-grid", + // "type": "menu", + // "perms": ["inm"] + // }, + // "children": [ + // { + // "name": "warehouse", + // "path": "/inm/warehouse", + // "meta": { + // "title": "仓库管理", + // "icon": "el-icon-cellphone", + // "perms": ["inm"] + // }, + // "component": "inm/warehouse" + // }, + // { + // "name": "material", + // "path": "/inm/material", + // "meta": { + // "title": "物料产品", + // "icon": "el-icon-cellphone", + // "perms": ["inm"] + // }, + // "component": "ungrouped/material" + // }, + // { + // "name": "materialbatch", + // "path": "/inm/materialbatch", + // "meta": { + // "title": "物料批次", + // "icon": "el-icon-cellphone", + // "perms": ["inm"] + // }, + // "component": "inm/materialbatch" + // }, + // ] + // }, + // //采购 pum + // { + // "name": "pum", + // "path": "/pum", + // "meta": { + // "title": "采购管理", + // "icon": "el-icon-grid", + // "type": "menu", + // "perms": ["pum"] + // }, + // "children": [ + // { + // "name": "order", + // "path": "/pum/order", + // "meta": { + // "title": "采购订单", + // "icon": "el-icon-cellphone", + // "perms": ["pum"] + // }, + // "component": "pum/order" + // }, + // { + // "name": "orderitem", + // "path": "/pum/orderitem", + // "meta": { + // "title": "采购订单详情", + // "icon": "el-icon-cellphone", + // "perms": ["pum"], + // "hidden": true, + // }, + // "component": "pum/orderitem" + // }, + // { + // "name": "plan", + // "path": "/pum/plan", + // "meta": { + // "title": "采购计划", + // "icon": "el-icon-cellphone", + // "perms": ["pum"] + // }, + // "component": "pum/plan" + // }, + // { + // "name": "planitem", + // "path": "/pum/planitem", + // "meta": { + // "title": "采购计划详情", + // "icon": "el-icon-cellphone", + // "perms": ["pum"], + // "hidden": true, + // }, + // "component": "pum/planitem" + // }, + // { + // "name": "supplier", + // "path": "/pum/supplier", + // "meta": { + // "title": "供应商", + // "icon": "el-icon-cellphone", + // "perms": ["pum"] + // }, + // "component": "pum/supplier" + // }, + // ] + // }, + // //销售 sam + // { + // "name": "sam", + // "path": "/sam", + // "meta": { + // "title": "销售管理", + // "icon": "el-icon-grid", + // "type": "menu", + // "perms": ["em"] + // }, + // "children": [ + // { + // "name": "contract", + // "path": "/sam/contract", + // "meta": { + // "title": "合同信息", + // "icon": "el-icon-cellphone", + // "perms": ["sam"] + // }, + // "component": "sam/contract" + // }, + // { + // "name": "customer", + // "path": "/sam/customer", + // "meta": { + // "title": "客户信息", + // "icon": "el-icon-cellphone", + // "perms": ["sam"] + // }, + // "component": "sam/customer" + // }, + // { + // "name": "samOrder", + // "path": "/sam/samOrder", + // "meta": { + // "title": "订单", + // "icon": "el-icon-cellphone", + // "perms": ["sam"] + // }, + // "component": "sam/order" + // }, + // { + // "name": "samOrderitem", + // "path": "/sam/samOrderitem", + // "meta": { + // "title": "订单详情", + // "icon": "el-icon-cellphone", + // "perms": ["sam"] + // }, + // "component": "sam/orderitem" + // }, + // ] + // }, + // //事件 + // { + // "name": "ecm", + // "path": "/ecm", + // "meta": { + // "title": "事件", + // "icon": "el-icon-camera-filled", + // "type": "menu", + // "perms": ["ecm"] + // }, + // "children": [ + // { + // "name": "event", + // "path": "/ecm/event", + // "meta": { + // "title": "事件列表", + // "icon": "el-icon-alarm-clock", + // "perms": ["event"] + // }, + // "component": "ecm/event", + // } + // , + // { + // "name": "eventfrom", + // "path": "/ecm/event_from", + // "meta": { + // "title": "事件详情", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["event"] + // }, + // "component": "ecm/event_from" + // } + // , + // { + // "name": "eventhandlefrom", + // "path": "/ecm/event_handlefrom", + // "meta": { + // "title": "处理事件", + // "icon": "el-icon-menu", + // "perms": ["event"], + // "hidden": true, + // }, + // "component": "ecm/event_handlefrom" + // }, + // { + // "name": "myevent", + // "path": "/ecm/myevent", + // "meta": { + // "title": "我的事件", + // "icon": "el-icon-notification", + // "perms": ["myevent"] + // }, + // "component": "ecm/myevent" + // }, + // { + // "name": "notify_setting", + // "path": "/ecm/notify_setting", + // "meta": { + // "title": "提醒配置", + // "icon": "el-icon-setting", + // "perms": ["notify_setting"] + // }, + // "component": "ecm/notify_setting" + // }, + // { + // "name": "algo", + // "path": "/ecm/algo", + // "meta": { + // "title": "算法布设", + // "icon": "el-icon-set-up", + // "perms": ["algo"] + // }, + // "component": "ecm/algo" + // } + // ] + // }, + // //风控 + // { + // "name": "opm", + // "path": "/opm", + // "meta": { + // "title": "风控", + // "icon": "el-icon-list", + // "type": "menu", + // "perms": ["opm"] + // }, + // "children": [ + // { + // "name": "operation", + // "path": "/opm/operation", + // "meta": { + // "title": "作业列表", + // "icon": "el-icon-tickets", + // "perms": ["operation"] + // }, + // "component": "opm/operation" + // }, + // { + // "name": "oplcate", + // "path": "/opm/oplcate", + // "meta": { + // "title": "许可证分类", + // "icon": "el-icon-ticket", + // "perms": ["oplcate"] + // }, + // "component": "opm/oplcate" + // }, + // { + // "name": "opl", + // "path": "/opm/opl", + // "meta": { + // "title": "作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/opl" + // }, + // { + // "name": "fire", + // "path": "/opm/fire", + // "meta": { + // "title": "动火作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/fire" + // }, + // { + // "name": "space", + // "path": "/opm/space", + // "meta": { + // "title": "有限空间作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/space" + // }, + // { + // "name": "clear", + // "path": "/opm/clear", + // "meta": { + // "title": "清库作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/clear" + // } , + // { + // "name": "high", + // "path": "/opm/high", + // "meta": { + // "title": "高处作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/high" + // }, + // { + // "name": "hoisting", + // "path": "/opm/hoisting", + // "meta": { + // "title": "吊装作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/hoisting" + // }, + // { + // "name": "preheat", + // "path": "/opm/preheat", + // "meta": { + // "title": "预热器清堵作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/preheat" + // }, + // { + // "name": "cooler", + // "path": "/opm/cooler", + // "meta": { + // "title": "篦冷机清大块作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/cooler" + // }, + // { + // "name": "soil", + // "path": "/opm/soil", + // "meta": { + // "title": "动土作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/soil" + // }, + // { + // "name": "usecl", + // "path": "/opm/usecl", + // "meta": { + // "title": "临时用电作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/usecl" + // }, + // { + // "name": "normal", + // "path": "/opm/normal", + // "meta": { + // "title": "普通作业许可证", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["operation"] + // }, + // "component": "opm/normal" + // } + // ] + // }, + // //相关方 + // { + // "name": "rpm", + // "path": "/rpm", + // "meta": { + // "title": "相关方", + // "icon": "el-icon-avatar", + // "type": "menu", + // "perms": ["rpm"] + // }, + // "children": [ + // { + // "name": "rparty", + // "path": "/rpm/rparty", + // "meta": { + // "title": "相关方列表", + // "icon": "el-icon-tickets", + // "perms": ["rparty"] + // }, + // "component": "rpm/rparty" + // }, + // { + // "name": "blacklist", + // "path": "/rpm/blacklist", + // "meta": { + // "title": "黑名单", + // "icon": "el-icon-box", + // "perms": ["blacklist"] + // }, + // "component": "rpm/blacklist" + // }, + // { + // "name": "remployee", + // "path": "/rpm/remployee", + // "meta": { + // "title": "人员列表", + // "icon": "el-icon-user", + // "perms": ["remployee"] + // }, + // "component": "rpm/remployee" + // }, + // { + // "name": "rcertificate", + // "path": "/rpm/rcertificate", + // "meta": { + // "title": "人员证书", + // "icon": "el-icon-postcard", + // "perms": ["rcertificate"] + // }, + // "component": "rpm/rcertificate" + // }, + // { + // "name": "rfile", + // "path": "/rpm/rfile", + // "meta": { + // "title": "企业资料", + // "icon": "el-icon-shopping-bag", + // "perms": ["rfile"] + // }, + // "component": "rpm/rfile" + // }, + // { + // "name": "rpj", + // "path": "/rpm/rpj", + // "meta": { + // "title": "入厂项目", + // "icon": "el-icon-calendar", + // "perms": ["rpj"] + // }, + // "component": "rpm/rpj" + // }, + // { + // "name": "rpjadd", + // "path": "/rpm/rpjadd", + // "meta": { + // "title": "入厂项目相关信息", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["rpj"] + // }, + // "component": "rpm/rpjadd" + // }, - ] - }, - //基础配置 - { - "name": "base", - "path": "/base", - "meta": { - "title": "基础配置", - "icon": "el-icon-management", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - { - "path": "/ungrouped/team", - "name": "team", - "meta": { - "title": "班组管理", - "icon": "el-icon-postcard", - "type": "menu", - "perms": ["enm"] - }, - "component": "ungrouped/team" - }, - { - "name": "mgruop", - "path": "/ungrouped/mgruop", - "meta": { - "title": "测点集", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/mgroup" - }, - { - "name": "mpoint", - "path": "/em/mpoint", - "meta": { - "title": "测点", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "em/mpoint" - }, - { - "name": "material", - "path": "/ungrouped/material", - "meta": { - "title": "物料", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/material" - } - ] - }, - //每月配置 - { - "name": "month", - "path": "/month", - "meta": { - "title": "每月配置", - "icon": "el-icon-checked", - "type": "menu", - "perms": ["enm"] - }, - "children": [ - { - "name": "priceset", - "path": "/ungrouped/priceset", - "meta": { - "title": "物料价格配置", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/priceset" - }, - { - "name": "feeset", - "path": "/ungrouped/feeset", - "meta": { - "title": "工段成本配置", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/feeset" - }, - { - "name": "goalSetting", - "path": "/ungrouped/goalSetting", - "meta": { - "title": "月度年度目标值", - "icon": "el-icon-grid", - "perms": ["enm"] - }, - "component": "ungrouped/goalSetting" - }, - ] - }, + // ] + // }, + // //访客 + // { + // "name": "vm", + // "path": "/vm", + // "meta": { + // "title": "访客", + // "icon": "el-icon-user-filled", + // "type": "menu", + // "perms":['visit'] + // }, + // "children": [ + // { + // "name": "visit", + // "path": "/vm/visit", + // "meta": { + // "title": "来访项目", + // "icon": "el-icon-tickets", + // "perms":['visit'] + // }, + // "component": "vm/visit" + // }, + // { + // "name": "visitor", + // "path": "/vm/visitor", + // "meta": { + // "title": "我的访客", + // "icon": "el-icon-user", + // "perms":['visit'] + // }, + // "component": "vm/visitor" + // },{ + // "name": "people", + // "path": "/vm/people", + // "meta": { + // "title": "访客人员", + // "icon": "el-icon-menu", + // "perms":['visit'], + // "hidden": true, + // }, + // "component": "vm/people" + // } + // ,{ + // "name": "vistoradd", + // "path": "/vm/vistoradd", + // "meta": { + // "title": "项目信息", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms":['visit'] + // }, + // "component": "vm/vistoradd" + // }, + // ] + // }, + // //审批 + // { + // "name": "wf", + // "path": "/wf", + // "meta": { + // "title": "审批", + // "icon": "el-icon-circle-check-filled", + // "type": "menu", + // "perms": ["wf"] + // }, + // "children": [ + // { + // "name": "workflow", + // "path": "/wf/workflow", + // "meta": { + // "title": "工作流", + // "icon": "el-icon-guide", + // "perms": ["workflow"] + // }, + // "component": "wf/workflow" + // }, + // { + // "name": "configuration", + // "path": "/wf/configuration", + // "meta": { + // "title": "工作流配置", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["workflow"] + // }, + // "component": "wf/configuration" + // } + // , + // { + // "name": "allwork", + // "path": "/wf/allwork", + // "meta": { + // "title": "全部工单", + // "icon": "el-icon-folder", + // "perms": ["allwork"] + + // }, + // "component": "wf/allwork" + // } , + // { + // "name": "ownerwork", + // "path": "/wf/ownerwork", + // "meta": { + // "title": "我创建的", + // "icon": "el-icon-folder-add", + // "perms": ["ownerwork"] + // }, + // "component": "wf/ownerwork" + // } + // , + + // { + // "name": "duty", + // "path": "/wf/dutywork", + // "meta": { + // "title": "待办工单", + // "icon": "el-icon-folder-opened", + // "perms": ["duty"] + // }, + // "component": "wf/dutywork" + // }, + // { + // "name": "worked", + // "path": "/wf/worked", + // "meta": { + // "title": "我处理的", + // "icon": "el-icon-expand", + // "perms": ["worked"] + // }, + // "component": "wf/worked" + // }, + // { + // "name": "ccwork", + // "path": "/wf/ccwork", + // "meta": { + // "title": "抄送我的", + // "icon": "el-icon-edit-pen", + // "perms": ["ccwork"] + // }, + // "component": "wf/ccwork" + // }, + // { + // "name": "ticketdetail", + // "path": "/wf/ticketdetail", + // "meta": { + // "title": "工单详情", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["duty"] + // }, + // "component": "wf/ticketdetail" + // }, + // ] + // }, + // //区域 + // { + // "name": "am", + // "path": "/am", + // "meta": { + // "title": "区域", + // "icon": "el-icon-location-filled", + // "type": "menu", + // "perms": ["am"] + // }, + // "children": [ + // { + // "name": "area", + // "path": "/am/area", + // "meta": { + // "title": "区域列表", + // "icon": "el-icon-tickets", + // "perms": ["area"] + // }, + // "component": "am/area" + // }, + // { + // "name": "eqm", + // "path": "/am/eqm", + // "meta": { + // "title": "门禁通道", + // "icon": "el-icon-phone", + // "perms": ["eqm"] + // }, + // "component": "am/em1" + // }, + // { + // "name": "monitor", + // "path": "/am/monitor", + // "meta": { + // "title": "视频通道", + // "icon": "el-icon-video-camera", + // "perms": ["monitor"] + // }, + // "component": "am/monitor" + // }, + // { + // "name": "audio", + // "path": "/am/audio", + // "meta": { + // "title": "喇叭通道", + // "icon": "el-icon-mic", + // "perms": ["audio"] + // }, + // "component": "am/audio" + // },{ + // "name": "blt", + // "path": "/am/blt", + // "meta": { + // "title": "定位标签", + // "icon": "el-icon-map-location", + // "perms": ["blt"] + // }, + // "component": "am/blt" + // }, + // ] + // }, + // //人事 + // { + // "name": "hrm", + // "path": "/hrm", + // "meta": { + // "title": "人事", + // "icon": "el-icon-platform", + // "type": "menu", + // "perms": ["hrm"] + // }, + // "children": [ + + // { + // "name": "employee", + // "path": "/hrm/employee", + // "meta": { + // "title": "人员信息", + // "icon": "el-icon-user", + // "perms": ["employee"] + // }, + // "component": "hrm/employee" + // } + // , + // { + // "name": "certificate", + // "path": "/hrm/certificate", + // "meta": { + // "title": "证书列表", + // "icon": "el-icon-tickets", + // "perms": ["certificate"] + // }, + // "component": "hrm/certificate" + // } + // , + // { + // "name": "clockRecord", + // "path": "/hrm/clock_record", + // "meta": { + // "title": "打卡记录", + // "icon": "el-icon-check", + // "perms": ["clock_record"] + // }, + // "component": "hrm/clock_record" + // }, + // { + // "name": "certificate", + // "path": "/hrm/certificate", + // "meta": { + // "title": "相关证书", + // "icon": "el-icon-menu", + // "hidden": true, + // "perms": ["employee"] + + // }, + // "component": "hrm/certificate" + // }, + + // ] + // }, + // //基础配置 + // { + // "name": "base", + // "path": "/base", + // "meta": { + // "title": "基础配置", + // "icon": "el-icon-management", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + // { + // "path": "/ungrouped/team", + // "name": "team", + // "meta": { + // "title": "班组管理", + // "icon": "el-icon-postcard", + // "type": "menu", + // "perms": ["enm"] + // }, + // "component": "ungrouped/team" + // }, + // { + // "name": "mgruop", + // "path": "/ungrouped/mgruop", + // "meta": { + // "title": "测点集", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/mgroup" + // }, + // { + // "name": "mpoint", + // "path": "/em/mpoint", + // "meta": { + // "title": "测点", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "em/mpoint" + // }, + // { + // "name": "material", + // "path": "/ungrouped/material", + // "meta": { + // "title": "物料", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/material" + // } + // ] + // }, + // //每月配置 + // { + // "name": "month", + // "path": "/month", + // "meta": { + // "title": "每月配置", + // "icon": "el-icon-checked", + // "type": "menu", + // "perms": ["enm"] + // }, + // "children": [ + // { + // "name": "priceset", + // "path": "/ungrouped/priceset", + // "meta": { + // "title": "物料价格配置", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/priceset" + // }, + // { + // "name": "feeset", + // "path": "/ungrouped/feeset", + // "meta": { + // "title": "工段成本配置", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/feeset" + // }, + // { + // "name": "goalSetting", + // "path": "/ungrouped/goalSetting", + // "meta": { + // "title": "月度年度目标值", + // "icon": "el-icon-grid", + // "perms": ["enm"] + // }, + // "component": "ungrouped/goalSetting" + // }, + // ] + // }, - //系统 - { - "name": "sys", - "path": "/sys", - "meta": { - "title": "系统", - "icon": "el-icon-tools", - "type": "menu", - "perms": ["sys"] - }, - "children": [ - { - "path": "/sys/user", - "name": "user", - "meta": { - "title": "账户管理", - "icon": "el-icon-user", - "type": "menu", - "perms": ["user"] - }, - "component": "sys/user" - }, - { - "path": "/sys/dept", - "name": "dept", - "meta": { - "title": "部门管理", - "icon": "sc-icon-organization", - "type": "menu", - "perms": ["dept"] - }, - "component": "sys/dept" - }, - { - "path": "/sys/post", - "name": "post", - "meta": { - "title": "岗位管理", - "icon": "el-icon-postcard", - "type": "menu", - "perms": ["post"] - }, - "component": "sys/post" - }, - { - "path": "/sys/role", - "name": "role", - "meta": { - "title": "角色管理", - "icon": "el-icon-notebook", - "type": "menu", - "perms": ["role"] - }, - "component": "sys/role" - }, - { - "path": "/sys/dict", - "name": "dict", - "meta": { - "title": "字典管理", - "icon": "el-icon-document", - "type": "menu", - "perms": ["dict"] - }, - "component": "sys/dict" - }, - { - "path": "/sys/task", - "name": "task", - "meta": { - "title": "计划任务", - "icon": "el-icon-alarm-clock", - "type": "menu", - "perms": ["task"] - }, - "component": "sys/task" - } - ] - }, - //运维 - { - "name": "ops", - "path": "/ops", - "meta": { - "title": "运维", - "icon": "el-icon-briefcase", - "type": "menu", - "perms": ["ops"] - }, - "children": [ - { - "name": "menu", - "path": "/ops/menu", - "meta": { - "title": "菜单管理", - "icon": "el-icon-fold", - "perms": ["menu"] - }, - "component": "ops/menu" - }, - { - "name": "log", - "path": "/ops/log", - "meta": { - "title": "请求日志", - "icon": "el-icon-document", - "perms": ["log"] - }, - "component": "ops/log_request" - }, - { - "name": "thirdLogs", - "path": "/ops/thirdLogs", - "meta": { - "title": "第三方日志", - "icon": "el-icon-document", - "perms": ["third_log"] - }, - "component": "ops/thirdLogs" - }, - { - "name": "fileLogs", - "path": "/ops/fileLogs", - "meta": { - "title": "文件日志", - "icon": "el-icon-document", - "perms": ["file_log"] - }, - "component": "ops/fileLogs" - }, - { - "name": "server", - "path": "/ops/server", - "meta": { - "title": "服务器", - "icon": "el-icon-document", - "perms": ["ops"] - }, - "component": "ops/server" - }, - { - "name": "setting", - "path": "/ops/setting", - "meta": { - "title": "配置", - "icon": "el-icon-document", - "perms": ["ops"] - }, - "component": "ops/setting" - }, - ] - }, + // //系统 + // { + // "name": "sys", + // "path": "/sys", + // "meta": { + // "title": "系统", + // "icon": "el-icon-tools", + // "type": "menu", + // "perms": ["sys"] + // }, + // "children": [ + // { + // "path": "/sys/user", + // "name": "user", + // "meta": { + // "title": "账户管理", + // "icon": "el-icon-user", + // "type": "menu", + // "perms": ["user"] + // }, + // "component": "sys/user" + // }, + // { + // "path": "/sys/dept", + // "name": "dept", + // "meta": { + // "title": "部门管理", + // "icon": "sc-icon-organization", + // "type": "menu", + // "perms": ["dept"] + // }, + // "component": "sys/dept" + // }, + // { + // "path": "/sys/post", + // "name": "post", + // "meta": { + // "title": "岗位管理", + // "icon": "el-icon-postcard", + // "type": "menu", + // "perms": ["post"] + // }, + // "component": "sys/post" + // }, + // { + // "path": "/sys/role", + // "name": "role", + // "meta": { + // "title": "角色管理", + // "icon": "el-icon-notebook", + // "type": "menu", + // "perms": ["role"] + // }, + // "component": "sys/role" + // }, + // { + // "path": "/sys/dict", + // "name": "dict", + // "meta": { + // "title": "字典管理", + // "icon": "el-icon-document", + // "type": "menu", + // "perms": ["dict"] + // }, + // "component": "sys/dict" + // }, + // { + // "path": "/sys/task", + // "name": "task", + // "meta": { + // "title": "计划任务", + // "icon": "el-icon-alarm-clock", + // "type": "menu", + // "perms": ["task"] + // }, + // "component": "sys/task" + // } + // ] + // }, + // //运维 + // { + // "name": "ops", + // "path": "/ops", + // "meta": { + // "title": "运维", + // "icon": "el-icon-briefcase", + // "type": "menu", + // "perms": ["ops"] + // }, + // "children": [ + // { + // "name": "menu", + // "path": "/ops/menu", + // "meta": { + // "title": "菜单管理", + // "icon": "el-icon-fold", + // "perms": ["menu"] + // }, + // "component": "ops/menu" + // }, + // { + // "name": "log", + // "path": "/ops/log", + // "meta": { + // "title": "请求日志", + // "icon": "el-icon-document", + // "perms": ["log"] + // }, + // "component": "ops/log_request" + // }, + // { + // "name": "thirdLogs", + // "path": "/ops/thirdLogs", + // "meta": { + // "title": "第三方日志", + // "icon": "el-icon-document", + // "perms": ["third_log"] + // }, + // "component": "ops/thirdLogs" + // }, + // { + // "name": "fileLogs", + // "path": "/ops/fileLogs", + // "meta": { + // "title": "文件日志", + // "icon": "el-icon-document", + // "perms": ["file_log"] + // }, + // "component": "ops/fileLogs" + // }, + // { + // "name": "server", + // "path": "/ops/server", + // "meta": { + // "title": "服务器", + // "icon": "el-icon-document", + // "perms": ["ops"] + // }, + // "component": "ops/server" + // }, + // { + // "name": "setting", + // "path": "/ops/setting", + // "meta": { + // "title": "配置", + // "icon": "el-icon-document", + // "perms": ["ops"] + // }, + // "component": "ops/setting" + // }, + // ] + // }, ] export default routes; diff --git a/src/views/em/equipment.vue b/src/views/em/equipment.vue index b15b8db9..3add5716 100644 --- a/src/views/em/equipment.vue +++ b/src/views/em/equipment.vue @@ -15,7 +15,7 @@ >
- +
diff --git a/src/views/em/equipmentc.vue b/src/views/em/equipmentc.vue index 7f0b9dc8..aa2cfa95 100644 --- a/src/views/em/equipmentc.vue +++ b/src/views/em/equipmentc.vue @@ -15,7 +15,7 @@ >
- +
@@ -48,8 +48,24 @@ + - + + + @@ -66,7 +82,7 @@ @click="table_record (scope.row)" v-auth="'equipment.update'" > - 记录 + 检定记录 - - + + @@ -137,7 +153,7 @@ - +