// 静态路由配置 // 书写格式与动态路由格式一致,全部经由框架统一转换 // 比较动态路由在meta中多加入了role角色权限,为数组类型。一个菜单是否有权限显示,取决于它以及后代菜单是否有权限。 // routes 显示在左侧菜单中的路由(显示顺序在动态路由之前) const routes = [ //工作台 { name: "workSpace", path: "/", meta: { title: "工作台", icon: "el-icon-home-filled", type: "menu", perms: ["home"], }, children: [ //首页 { name: "home", path: "/", 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", }, { name: "dashboard_enp", path: "/dashboard_enp", meta: { title: "控制台", icon: "el-icon-monitor", affix: true, perms: ["dashboardEnp"], }, component: "home/enp_home", }, { name: "dashboard_ly", path: "/dashboard_ly", meta: { title: "控制台", icon: "el-icon-monitor", affix: true, perms: ["dashboard_ly"], }, component: "home/enm_home", }, { name: "dashboard_gx", path: "/dashboard_gx", meta: { title: "控制台", icon: "el-icon-monitor", affix: true, perms: ["dashboard_gx"], }, component: "home/gx_home", }, { 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_slag"], }, children: [ { name: "slag_report", path: "/enm_slag/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_slag"], }, component: "enm_slag/report", }, { name: "slag_power", path: "/enm_slag/power", meta: { title: "单位产品电耗", icon: "el-icon-odometer", perms: ["enm_slag"], }, component: "enm_slag/power", }, { name: "slag_teamAnalysis", path: "/enm_slag/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_slag"], }, component: "enm_slag/teamAnalysis", }, { name: "slag_workshopAnalysis", path: "/enm_slag/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_slag"], }, component: "enm_slag/workshopAnalysis", }, { name: "slag_handoverLog", path: "/enm_slag/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_slag"], }, component: "enm_slag/handoverLog", }, ], }, //石灰石破碎 { name: "enm_limestone", path: "/enm_limestone", meta: { title: "石灰石破碎", icon: "el-icon-list", type: "menu", perms: ["enm_limestone"], }, children: [ { name: "limestone_report", path: "/enm_limestone/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_limestone"], }, component: "enm_limestone/report", }, { name: "limestone_workshopAnalysis", path: "/enm_limestone/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_limestone"], }, component: "enm_limestone/workshopAnalysis", }, { name: "limestone_handoverLog", path: "/enm_limestone/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_limestone"], }, component: "enm_limestone/handoverLog", }, ], }, //原料磨 { name: "enm_rm", path: "/enm_rm", meta: { title: "原料磨", icon: "el-icon-list", type: "menu", perms: ["enm_rm"], }, children: [ { name: "report", path: "/enm_rm/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_rm"], }, component: "enm_rm/report", }, { name: "power", path: "/enm_rm/power", meta: { title: "单位产品电耗", icon: "el-icon-odometer", perms: ["enm_rm"], }, component: "enm_rm/power", }, { name: "teamAnalysis", path: "/enm_rm/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_rm"], }, component: "enm_rm/teamAnalysis", }, { name: "workshopAnalysis", path: "/enm_rm/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_rm"], }, component: "enm_rm/workshopAnalysis", }, { name: "handoverLog", path: "/enm_rm/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_rm"], }, component: "enm_rm/handoverLog", }, ], }, //原料磨——基础 { name: "enm_rmbase", path: "/enm_rmbase", meta: { title: "原料磨", icon: "el-icon-list", type: "menu", perms: ["enm_rmbase"], }, children: [ { name: "report", path: "/enm_rmbase/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_rmbase"], }, component: "enm_rmbase/report", }, { name: "power", path: "/enm_rmbase/power", meta: { title: "主要设备单位电耗", icon: "el-icon-odometer", perms: ["enm_rmbase"], }, component: "enm_rmbase/power", }, { name: "teamAnalysis", path: "/enm_rmbase/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_rmbase"], }, component: "enm_rmbase/teamAnalysis", }, { name: "workshopAnalysis", path: "/enm_rmbase/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_rmbase"], }, component: "enm_rmbase/workshopAnalysis", }, { name: "handoverLog", path: "/enm_rmbase/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_rmbase"], }, component: "enm_rmbase/handoverLog", }, ], }, //煤磨 { name: "enm_coal", path: "/enm_coal", meta: { title: "煤磨", icon: "el-icon-brush-filled", type: "menu", perms: ["enm_coal"], }, children: [ { name: "coal_report", path: "/enm_coal/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_coal"], }, component: "enm_coal/report", }, { name: "coal_power", path: "/enm_coal/power", meta: { title: "单位产品电耗", icon: "el-icon-odometer", perms: ["enm_coal"], }, component: "enm_coal/power", }, { name: "coal_teamAnalysis", path: "/enm_coal/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_coal"], }, component: "enm_coal/teamAnalysis", }, { name: "coal_workshopAnalysis", path: "/enm_coal/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_coal"], }, component: "enm_coal/workshopAnalysis", }, { name: "coal_handoverLog", path: "/enm_coal/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_coal"], }, component: "enm_coal/handoverLog", }, ], }, //煤磨——基础 { name: "enm_coalbase", path: "/enm_coalbase", meta: { title: "煤磨", icon: "el-icon-brush-filled", type: "menu", perms: ["enm_coalbase"], }, children: [ { name: "coalbase_report", path: "/enm_coalbase/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_coalbase"], }, component: "enm_coalbase/report", }, { name: "coalbase_power", path: "/enm_coalbase/power", meta: { title: "主要设备单位电耗", icon: "el-icon-odometer", perms: ["enm_coalbase"], }, component: "enm_coalbase/power", }, { name: "coalbase_teamAnalysis", path: "/enm_coalbase/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_coalbase"], }, component: "enm_coalbase/teamAnalysis", }, { name: "coalbase_workshopAnalysis", path: "/enm_coalbase/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_coalbase"], }, component: "enm_coalbase/workshopAnalysis", }, { name: "coalbase_handoverLog", path: "/enm_coalbase/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_coalbase"], }, component: "enm_coalbase/handoverLog", }, ], }, //回转窑 { name: "enm_kiln", path: "/enm_kiln", meta: { title: "回转窑", icon: "el-icon-menu", type: "menu", perms: ["enm_kiln"], }, children: [ { name: "kiln_report", path: "/enm_kiln/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_kiln"], }, component: "enm_kiln/report", }, { name: "kiln_power", path: "/enm_kiln/power", meta: { title: "单位产品电耗", icon: "el-icon-odometer", perms: ["enm_kiln"], }, component: "enm_kiln/power", }, { name: "kiln_teamAnalysis", path: "/enm_kiln/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_kiln"], }, component: "enm_kiln/teamAnalysis", }, { name: "kiln_workshopAnalysis", path: "/enm_kiln/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_kiln"], }, component: "enm_kiln/workshopAnalysis", }, { name: "kiln_handoverLog", path: "/enm_kiln/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_kiln"], }, component: "enm_kiln/handoverLog", }, ], }, //回转窑——基础 { name: "enm_kilnbase", path: "/enm_kilnbase", meta: { title: "回转窑", icon: "el-icon-menu", type: "menu", perms: ["enm_kilnbase"], }, children: [ { name: "kilnbase_report", path: "/enm_kilnbase/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_kilnbase"], }, component: "enm_kilnbase/report", }, { name: "kilnbase_power", path: "/enm_kilnbase/power", meta: { title: "主要设备单位电耗", icon: "el-icon-odometer", perms: ["enm_kilnbase"], }, component: "enm_kilnbase/power", }, { name: "kilnbase_teamAnalysis", path: "/enm_kilnbase/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_kilnbase"], }, component: "enm_kilnbase/teamAnalysis", }, { name: "kilnbase_workshopAnalysis", path: "/enm_kilnbase/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_kilnbase"], }, component: "enm_kilnbase/workshopAnalysis", }, { name: "kilnbase_handoverLog", path: "/enm_kilnbase/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_kilnbase"], }, component: "enm_kilnbase/handoverLog", }, { name: "mgroupData", path: "/enm_kilnbase/mgroupData", meta: { title: "数据校正", icon: "el-icon-document-copy", perms: ["enm_kilnbase"], }, component: "enm_kilnbase/mgroupData", }, ], }, //余热发电 cogeneration { name: "enm_cogeneration", path: "/enm_cogeneration", meta: { title: "余热发电", icon: "el-icon-menu", type: "menu", perms: ["enm_cogeneration"], }, children: [ { name: "cogeneration_report", path: "/enm_cogeneration/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_cogeneration"], }, component: "enm_cogeneration/report", }, { name: "cogeneration_teamAnalysis", path: "/enm_cogeneration/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_cogeneration"], }, component: "enm_cogeneration/teamAnalysis", }, { name: "cogeneration_workshopAnalysis", path: "/enm_cogeneration/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_cogeneration"], }, component: "enm_cogeneration/workshopAnalysis", }, { name: "cogeneration_handoverLog", path: "/enm_cogeneration/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_cogeneration"], }, component: "enm_cogeneration/handoverLog", }, ], }, //水泥磨 { name: "enm_mill", path: "/enm_mill", meta: { title: "水泥磨", icon: "el-icon-help-filled", type: "menu", perms: ["enm_mill"], }, children: [ { name: "mill_report", path: "/enm_mill/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_mill"], }, component: "enm_mill/report", }, { name: "mill_power", path: "/enm_mill/power", meta: { title: "单位产品电耗", icon: "el-icon-odometer", perms: ["enm_mill"], }, component: "enm_mill/power", }, { name: "mill_teamAnalysis", path: "/enm_mill/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_mill"], }, component: "enm_mill/teamAnalysis", }, { name: "mill_workshopAnalysis", path: "/enm_mill/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_mill"], }, component: "enm_mill/workshopAnalysis", }, { name: "mill_handoverLog", path: "/enm_mill/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_mill"], }, component: "enm_mill/handoverLog", }, ], }, //水泥包装 { name: "enm_pack", path: "/enm_pack", meta: { title: "水泥包装", icon: "el-icon-goods-filled", type: "menu", perms: ["enm_pack"], }, children: [ { name: "pack_report", path: "/enm_pack/report", meta: { title: "生产报告", icon: "el-icon-document", perms: ["enm_pack"], }, component: "enm_pack/report", }, { name: "pack_teamAnalysis", path: "/enm_pack/teamAnalysis", meta: { title: "班组月度对比", icon: "el-icon-operation", perms: ["enm_pack"], }, component: "enm_pack/teamAnalysis", }, { name: "pack_workshopAnalysis", path: "/enm_pack/workshopAnalysis", meta: { title: "车间单耗分析", icon: "el-icon-data-line", perms: ["enm_pack"], }, component: "enm_pack/workshopAnalysis", }, { name: "pack_handoverLog", path: "/enm_pack/handoverLog", meta: { title: "交接班日志", icon: "el-icon-document-copy", perms: ["enm_pack"], }, component: "enm_pack/handoverLog", }, ], }, //环保-排放口 { name: "enp", path: "/enp", meta: { title: "环保模块", icon: "el-icon-grid", type: "menu", perms: ["enm_hb"], }, children: [ { name: "pfk", path: "/enp/pfk", meta: { title: "排放口", icon: "el-icon-cellphone", perms: ["enm_hb"], }, component: "enp/pfk", }, ], }, //电量报表 { name: "enm_energy", path: "/enm_energy", meta: { title: "电量报表", icon: "el-icon-share", type: "menu", perms: ["enm_energy"], }, children: [ { name: "energy", path: "/enm_energy/energy", meta: { title: "能源统计", icon: "el-icon-grid", perms: ["enm_energy_energy"], }, component: "enm_energy/energy", }, { name: "value", path: "/enm_energy/value", meta: { title: "工业产值", icon: "el-icon-grid", perms: ["enm_energy_value"], }, component: "enm_energy/value", }, { name: "electric", path: "/enm_energy/electric", meta: { title: "全厂电量统计", icon: "el-icon-grid", perms: ["enm_energy_electric"], }, component: "enm_energy/electric", }, { name: "electricHour", path: "/enm_energy/electricHour", meta: { title: "全厂电量小时统计", icon: "el-icon-grid", perms: ["enm_energy_hour"], }, component: "enm_energy/electric_hour", }, { name: "electricDay", path: "/enm_energy/electricDay", meta: { title: "全厂电量日统计", icon: "el-icon-grid", perms: ["enm_energy_day"], }, component: "enm_energy/electric_day", }, { name: "electricMonth", path: "/enm_energy/electricMonth", meta: { title: "全厂电量月统计", icon: "el-icon-grid", perms: ["enm_energy_month"], }, component: "enm_energy/electric_month", }, { name: "hourBase", path: "/enm_energy/hourBase", meta: { title: "电量消耗小时报表", icon: "el-icon-grid", perms: ["hour_base"], }, component: "enm_energy/hour_base", }, { name: "dayBase", path: "/enm_energy/dayBase", meta: { title: "电量消耗日报表", icon: "el-icon-grid", perms: ["day_base"], }, component: "enm_energy/day_base", }, { name: "monthBase", path: "/enm_energy/monthBase", meta: { title: "电量消耗月报表", icon: "el-icon-grid", perms: ["month_base"], }, component: "enm_energy/month_base", }, { name: "energyPicture", path: "/enm_energy/energyPicture", meta: { title: "能源流向", icon: "el-icon-grid", perms: ["enm_energy_picture"], }, component: "enm_energy/energyPicture", }, ], }, //全厂报表 { name: "enm_report", path: "/enm_report", meta: { title: "全厂报表", icon: "el-icon-histogram", type: "menu", perms: ["enm_report"], }, children: [ { name: "costing", path: "/enm_report/costing", meta: { title: "成本计算", icon: "el-icon-grid", perms: ["enm_report"], }, component: "enm_report/costing", }, { name: "quality", path: "/enm_report/quality", meta: { title: "质量报表", icon: "el-icon-grid", perms: ["enm_report"], }, component: "enm_report/quality", }, { name: "reportDay", path: "/enm_report/reportDay", meta: { title: "生产日报表", icon: "el-icon-grid", perms: ["enm_report"], }, component: "enm_report/reportDay", }, { name: "reportMonth", path: "/enm_report/reportMonth", meta: { title: "生产月报表", icon: "el-icon-grid", perms: ["enm_report"], }, component: "enm_report/reportMonth", }, ], }, //制造管理 mtm { name: "mtm", path: "/mtm", meta: { title: "制造管理", icon: "el-icon-grid", type: "menu", perms: ["mtm"], }, children: [ { name: "materials_gx", path: "/mtm/materials_gx", meta: { title: "物料产品", icon: "el-icon-cellphone", perms: ["material_gx"], }, component: "mtm/materials_gx", }, { name: "materials", path: "/mtm/materials", meta: { title: "物料产品", icon: "el-icon-cellphone", perms: ["material"], }, component: "mtm/materials", }, { name: "process", path: "/mtm/process", meta: { title: "工序管理", icon: "el-icon-grid", perms: ["process"], }, component: "mtm/process", }, { name: "mgruops", path: "/mtm/mgruops", meta: { title: "工段管理", icon: "el-icon-grid", perms: ["mgroup"], }, component: "mtm/mgroup", }, { name: "route", path: "/mtm/route", meta: { title: "加工路线", icon: "el-icon-share", perms: ["route"], }, component: "mtm/route", }, { name: "routepack", path: "/mtm/routepack", meta: { title: "加工工艺", icon: "el-icon-share", perms: ["routepack"], }, component: "mtm/routepack", }, ], }, //生产管理 pm { name: "pm", path: "/pm", meta: { title: "生产管理", icon: "el-icon-grid", type: "menu", perms: ["pm"], }, children: [ { name: "utask_1b", path: "/pm/utask_1b", meta: { title: "生产一部", type: "menu", icon: "el-icon-cellphone", perms: ["utask_1b"], }, children: [ { name: "utask_dept7", path: "/pm/utask_dept7", meta: { title: "7车间", icon: "el-icon-cellphone", perms: ["utask_dept7"], }, component: "pm/utask_dept7", }, { name: "utask_dept10", path: "/pm/utask_dept10", meta: { title: "10车间", icon: "el-icon-cellphone", perms: ["utask_dept10"], }, component: "pm/utask_dept10", }, ], }, { name: "utask_2b", path: "/pm/utask_2b", meta: { title: "生产二部", icon: "el-icon-cellphone", type: "menu", perms: ["utask_2b"], }, children: [ { name: "utask_dept6", path: "/pm/utask_dept6", meta: { title: "6车间", icon: "el-icon-cellphone", perms: ["utask_dept6"], }, component: "pm/utask_dept6", }, ], }, { name: "utask", path: "/pm/utask", meta: { title: "车间任务", icon: "el-icon-cellphone", perms: ["utask_gx"], }, component: "pm/utask", }, ], }, //生产执行 wpm { name: "wpm", path: "/wpm", meta: { title: "生产执行", icon: "el-icon-grid", type: "menu", perms: ["wpm"], }, children: [ { name: "mlog_1b", path: "/wpm/mlog_1b", meta: { title: "生产一部", icon: "el-icon-cellphone", type: "menu", perms: ["mlog_1b"], }, children: [ { name: "mlog_hun", path: "/wpm/mlog_hun", meta: { title: "混料", icon: "el-icon-cellphone", perms: ["mlog_hun"], }, component: "wpm/mlog_hun", }, { name: "mlog_tui", path: "/wpm/mlog_tui", meta: { title: "退火", icon: "el-icon-cellphone", perms: ["mlog_tui"], }, component: "wpm/mlog_tui", }, { name: "mlog_dept7", path: "/wpm/mlog_dept7", meta: { title: "7车间", icon: "el-icon-cellphone", perms: ["mlog_dept7"], }, component: "wpm/mlog_dept7", }, { name: "mlog_dept10", path: "/wpm/mlog_dept10", meta: { title: "10车间", icon: "el-icon-cellphone", perms: ["mlog_dept10"], }, component: "wpm/mlog_dept10", }, ], }, { name: "worktaskFlog", path: "/wpm/worktaskFlog", meta: { title: "生产二部记录", icon: "el-icon-cellphone", perms: ["wpm"], hidden: true, }, component: "wpm/worktaskFlog", }, { name: "mlog_2b", path: "/wpm/mlog_2b", meta: { title: "生产二部", icon: "el-icon-cellphone", perms: ["wpm"], }, children: [ { name: "mlog_dept6", path: "/pm/mlog_dept6", meta: { title: "6车间", icon: "el-icon-cellphone", perms: ["mlog_dept6"], }, component: "wpm/mlog_dept6", }, { name: "mlogDept6Detail", path: "/pm/mlogDept6Detail", meta: { title: "6车间", icon: "el-icon-cellphone", perms: ["mlog_dept6"], hidden: true, }, component: "wpm/mlog_dept6_detail", }, ], }, { name: "otherlog", path: "/wpm/otherlog", meta: { title: "其他日志", icon: "el-icon-grid", perms: ["otherlog"], }, component: "wpm/otherlog", }, ], }, //光芯生产执行 wpm_gx { name: "wpm_gx", path: "/wpm_gx", meta: { title: "生产执行gx", icon: "el-icon-grid", type: "menu", perms: ["wpm_gx"], }, children: [ // { // name: "chart", // path: "/wpm_gx/chart", // meta: { // title: "chart", // icon: "el-icon-files", // perms: ["wpm_gx"], // }, // component: "wpm_gx/chart", // }, // { // name: "printTest", // path: "/wpm_gx/print", // meta: { // title: "打印测试", // icon: "el-icon-files", // perms: ["wpm_gx"], // }, // component: "wpm_gx/print", // }, { name: "qiepian", path: "/wpm_gx/qiepian", meta: { title: "切片", icon: "el-icon-files", perms: ["wpm_gx"], }, component: "wpm_gx/qiepian", }, { name: "saobian", path: "/wpm_gx/saobian", meta: { title: "扫边", icon: "el-icon-cellphone", perms: ["wpm_gx"], }, component: "wpm_gx/saobian", }, { name: "heihua", path: "/wpm_gx/heihua", meta: { title: "黑化", icon: "el-icon-cellphone", perms: ["wpm_gx"], }, component: "wpm_gx/heihua", }, { name: "shaojie", path: "/wpm_gx/shaojie", meta: { title: "烧结", icon: "el-icon-cellphone", perms: ["wpm_gx"], }, component: "wpm_gx/shaojie", }, { name: "jianbo", path: "/wpm_gx/jianbo", meta: { title: "减薄", icon: "el-icon-cellphone", perms: ["wpm_gx"], }, component: "wpm_gx/jianbo", }, { name: "jingdiao", path: "/wpm_gx/jingdiao", meta: { title: "精雕", icon: "el-icon-cellphone", perms: ["wpm_gx"], }, component: "wpm_gx/jingdiao", }, { name: "mopao", path: "/wpm_gx/mopao", meta: { title: "磨抛", icon: "el-icon-cellphone", perms: ["wpm_gx"], }, component: "wpm_gx/mopao", }, { name: "daojiao", path: "/wpm_gx/daojiao", meta: { title: "倒角", icon: "el-icon-cellphone", perms: ["wpm_gx"], }, component: "wpm_gx/daojiao", }, { name: "chaoxi", path: "/wpm_gx/chaoxi", meta: { title: "超洗", icon: "el-icon-cellphone", perms: ["wpm_gx"], }, component: "wpm_gx/chaoxi", }, ], }, //检验管理 qm { name: "qm", path: "/qm", meta: { title: "检验管理", icon: "el-icon-grid", type: "menu", perms: ["qm"], }, children: [ { name: "income", path: "/qm/income", meta: { title: "入厂检验", icon: "el-icon-cellphone", perms: ["itest"], }, component: "qm/income", }, { name: "first", path: "/qm/first", meta: { title: "首件检验", icon: "el-icon-cellphone", perms: ["ftest"], }, component: "qm/first", }, { name: "qmProcess", path: "/qm/qmProcess", meta: { title: "过程检验", icon: "el-icon-cellphone", perms: ["ptest"], }, component: "qm/process", }, { name: "qmInm", path: "/qm/inm", meta: { title: "库存检验", icon: "el-icon-cellphone", perms: ["intest"], }, component: "qm/inm", }, { name: "behavior", path: "/qm/behavior", meta: { title: "性能检验", icon: "el-icon-cellphone", perms: ["btest"], }, component: "qm/behavior", }, { name: "product", path: "/qm/product", meta: { title: "成品检验", icon: "el-icon-cellphone", perms: ["producttest"], }, component: "qm/product", }, { name: "productDetail", path: "/qm/productDetail", meta: { title: "成品检验", icon: "el-icon-cellphone", perms: ["producttest"], hidden: true, }, component: "qm/productCheck", }, ], }, //库存 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: ["warehouse"], }, component: "inm/warehouse", }, { name: "good", path: "/inm/good", meta: { title: "成品库", icon: "el-icon-cellphone", perms: ["good"], }, children: [ { name: "good", path: "/inm/good", meta: { title: "成品库", icon: "el-icon-cellphone", perms: ["good"], }, component: "inm/good", }, { name: "good_mio", path: "/inm/good_mio", meta: { title: "出入库记录", icon: "el-icon-cellphone", perms: ["good_mio"], }, component: "inm/good_mio", }, ], }, { name: "halfgood", path: "/inm/halfgood", meta: { title: "半成品库", icon: "el-icon-cellphone", perms: ["halfgood"], }, children: [ { name: "halfgood", path: "/inm/halfgood", meta: { title: "半成品库", icon: "el-icon-cellphone", perms: ["halfgood"], }, component: "inm/halfgood", }, { name: "halfgood_mio", path: "/inm/halfgood_mio", meta: { title: "出入库记录", icon: "el-icon-cellphone", perms: ["halfgood_mio"], }, component: "inm/halfgood_mio", }, ], }, { name: "mainso", path: "/inm/mainso", meta: { title: "原料库", icon: "el-icon-cellphone", perms: ["mainso"], }, children: [ { name: "mainso", path: "/inm/mainso", meta: { title: "原料库", icon: "el-icon-cellphone", perms: ["mainso"], }, component: "inm/mainso", }, { name: "mainso_mio", path: "/inm/mainso_mio", meta: { title: "出入库记录", icon: "el-icon-cellphone", perms: ["mainso_mio"], }, component: "inm/mainso_mio", }, ], }, { name: "helpso", path: "/inm/helpso", meta: { title: "辅料库", icon: "el-icon-cellphone", perms: ["helpso"], }, children: [ { name: "helpso", path: "/inm/helpso", meta: { title: "辅料库", icon: "el-icon-cellphone", perms: ["helpso"], }, component: "inm/helpso", }, { name: "helpso_mio", path: "/inm/helpso_mio", meta: { title: "出入库记录", icon: "el-icon-cellphone", perms: ["helpso_mio"], }, component: "inm/helpso_mio", }, ], }, // { // "name": "materialbatch", // "path": "/inm/materialbatch", // "meta": { // "title": "物料批次", // "icon": "el-icon-cellphone", // "perms": ["inm"] // }, // "component": "inm/materialbatch" // }, { name: "mio", path: "/inm/mio", meta: { title: "出入库记录", icon: "el-icon-cellphone", perms: ["mio"], }, component: "inm/mio", }, { name: "mioitem", path: "/inm/mioitem", meta: { title: "出入库记录明细", icon: "el-icon-cellphone", perms: ["inm"], hidden: true, }, component: "inm/mioitem", }, ], }, //采购 pum { name: "pum", path: "/pum", meta: { title: "采购管理", icon: "el-icon-grid", type: "menu", perms: ["pum"], }, children: [ { name: "supplier", path: "/pum/supplier", meta: { title: "供应商", icon: "el-icon-cellphone", perms: ["pum"], }, component: "pum/supplier", }, { name: "plan", path: "/pum/plan", meta: { title: "采购计划", icon: "el-icon-cellphone", perms: ["pu_plan"], }, component: "pum/plan", }, { name: "planitem", path: "/pum/planitem", meta: { title: "采购计划详情", icon: "el-icon-cellphone", perms: ["pu_plan"], hidden: true, }, component: "pum/planitem", }, { name: "order", path: "/pum/order", meta: { title: "采购订单", icon: "el-icon-cellphone", perms: ["pu_order"], }, component: "pum/order", }, { name: "orderitem", path: "/pum/orderitem", meta: { title: "采购订单详情", icon: "el-icon-cellphone", perms: ["pu_order"], hidden: true, }, component: "pum/orderitem", }, ], }, //销售 sam { name: "sam", path: "/sam", meta: { title: "销售管理", icon: "el-icon-grid", type: "menu", perms: ["sam"], }, children: [ { name: "customer", path: "/sam/customer", meta: { title: "客户信息", icon: "el-icon-cellphone", perms: ["customer"], }, component: "sam/customer", }, { name: "contract", path: "/sam/contract", meta: { title: "合同信息", icon: "el-icon-cellphone", perms: ["contract"], }, component: "sam/contract", }, { name: "samOrder", path: "/sam/samOrder", meta: { title: "订单管理", icon: "el-icon-cellphone", perms: ["order"], }, component: "sam/order", }, { name: "samOrderitem", path: "/sam/samOrderitem", meta: { title: "订单详情", icon: "el-icon-cellphone", hidden: true, perms: ["order"], }, 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: "em", path: "/em", meta: { title: "设备管理", icon: "el-icon-grid", type: "menu", perms: ["em"], }, children: [ { name: "ecate", path: "/em/ecate", meta: { title: "设备分类", icon: "el-icon-cellphone", perms: ["ecate"], }, component: "em/ecate", }, { 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: ["equipmentjl"], }, component: "em/equipmentjl", }, { name: "equipmentz", path: "/em/equipmentz", meta: { title: "治理设备", icon: "el-icon-cellphone", perms: ["equipmentzl"], }, component: "em/equipmentzl", }, { name: "equipmentj", path: "/em/equipmentjc", meta: { title: "监测设备", icon: "el-icon-cellphone", perms: ["equipmentjc"], }, component: "em/equipmentjc", }, { name: "equipmentjk", path: "/em/equipmentjk", meta: { title: "监控设备", icon: "el-icon-cellphone", perms: ["equipmentjk"], }, component: "em/equipmentjk", }, { name: "xjRecord", path: "/em/xjRecord", meta: { title: "巡检记录", icon: "el-icon-cellphone", perms: ["einspect"], }, component: "em/xjRecord", }, ], }, //人事 { 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: "employee_photon", path: "/hrm/employee_photon", meta: { title: "人员信息", icon: "el-icon-user", perms: ["employee_photon"], }, component: "hrm/employee_photon", }, { name: "team_photon", path: "/hrm/team_photon", meta: { title: "班组管理", icon: "el-icon-user", perms: ["team_photon"], }, component: "hrm/team_photon", }, { 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: "attendance", path: "/hrm/attendance", meta: { title: "到岗记录", icon: "el-icon-check", perms: ["attendance"], }, component: "hrm/attendance", }, { name: "performance", path: "/hrm/performance", meta: { title: "绩效考核", icon: "el-icon-check", perms: ["kpi"], }, component: "hrm/performance", }, { name: "certificate", path: "/hrm/certificate", meta: { title: "相关证书", icon: "el-icon-menu", hidden: true, perms: ["certificate"], }, component: "hrm/certificate", }, { name: "dchannelAuth", path: "/hrm/dchannel_auth", meta: { title: "门禁权限", icon: "el-icon-key", perms: ["dchannel_auth"], }, component: "hrm/dchannel_auth", }, ], }, // 风险管控 { name: "dpm", path: "/dpm", meta: { title: "风险管控", icon: "el-icon-aim", type: "menu", perms: ["dpm"], }, children: [ { name: "riskpoint", path: "/dpm/riskpoint", meta: { title: "风险管理", icon: "el-icon-aim", perms: ["riskpoint"], }, component: "dpm/riskpoint", }, { name: "checkwork", path: "/dpm/checkwork", meta: { title: "排查工作", icon: "el-icon-aim", perms: ["checkwork"], }, component: "dpm/checkwork", }, { name: "隐患管理", path: "/dpm/hazard", meta: { title: "隐患管理", icon: "el-icon-aim", perms: ["hazard"], }, component: "dpm/hazard", }, ], }, //考试 { name: "edu", path: "/edu", meta: { title: "培训考试", icon: "el-icon-notebook", type: "menu", perms: ["edu"], }, children: [ { name: "question", path: "/edu/question", meta: { title: "题库", icon: "el-icon-notebook", perms: ["question"], }, component: "edu/question", }, { name: "paper", path: "/edu/paper", meta: { title: "试卷库", icon: "el-icon-notebook", perms: ["paper"], }, component: "edu/paper", }, { name: "exam", path: "/edu/exam", meta: { title: "在线考试", icon: "el-icon-notebook", perms: ["exam"], }, component: "edu/exam", }, { name: "train", path: "/edu/train", meta: { title: "线下培训", icon: "el-icon-notebook", perms: ["train"], }, component: "edu/train", }, { name: "examrecord", path: "/edu/examrecord", meta: { title: "考试记录", icon: "el-icon-notebook", perms: ["examrecord"], }, component: "edu/examrecord", }, ], }, { path: "/enm_base/search", name: "search", meta: { title: "综合对比", icon: "el-icon-postcard", type: "menu", perms: ["enm_compare"], }, component: "enm_base/search", }, //基础配置 { name: "enm_base", path: "/enm_base", meta: { title: "基础配置", icon: "el-icon-management", type: "menu", perms: ["enm_base"], }, children: [ { path: "/enm_base/team", name: "team", meta: { title: "班组管理", icon: "el-icon-postcard", type: "menu", perms: ["team"], }, component: "enm_base/team", }, { name: "mgruop", path: "/enm_base/mgruop", meta: { title: "工段", icon: "el-icon-grid", perms: ["mgroup"], }, component: "enm_base/mgroup", }, { name: "mpoint", path: "/enm_base/mpoint", meta: { title: "测点", icon: "el-icon-grid", perms: ["mpoint"], }, component: "em/mpoint", }, { name: "material", path: "/enm_base/material", meta: { title: "物料", icon: "el-icon-grid", perms: ["material"], }, component: "enm_base/material", }, { path: "/enm_base/testItem", name: "testItem", meta: { title: "检测项目", icon: "el-icon-postcard", type: "menu", perms: ["testitem"], }, component: "enm_base/testItem", }, { name: "logDetail", path: "/enm_rm/logDetail", meta: { title: "日志详情", icon: "el-icon-document-copy", perms: ["enm_base"], hidden: true, }, component: "enm_rm/logDetail", }, { name: "formula", path: "/enm_base/formula", meta: { title: "计算系数", icon: "el-icon-grid", perms: ["enm_formula"], }, component: "enm_base/formulaSetting", }, ], }, //每月配置 { name: "enm_monthSet", path: "/enm_monthSet", meta: { title: "每月配置", icon: "el-icon-checked", type: "menu", perms: ["enm"], }, children: [ { name: "priceset", path: "/enm_monthSet/priceset", meta: { title: "物料价格配置", icon: "el-icon-grid", perms: ["enm_priceset"], }, component: "enm_monthSet/priceset", }, { name: "feeset", path: "/enm_monthSet/feeset", meta: { title: "工段成本配置", icon: "el-icon-grid", perms: ["enm_feeset"], }, component: "enm_monthSet/feeset", }, { name: "goalSetting", path: "/enm_monthSet/goalSetting", meta: { title: "月度年度目标值", icon: "el-icon-grid", perms: ["enm"], }, component: "enm_monthSet/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", }, ], }, ], }, //曲阳驾驶舱 { 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: "/bigScreenly", name: "bigScreenly", meta: { title: "数智大屏", icon: "el-icon-position", perms: ["bigScreenly"], fullpage: true, }, component: "bigScreen/index_enm_ly", }, //光子科技——数据大屏 { path: "/bigScreenP", name: "bigScreenP", meta: { title: "数据大屏", icon: "el-icon-platform", perms: ["bigScreenP"], fullpage: true, }, component: "bigScreen/index_photon", }, //排放——数据大屏 { path: "/bigScreenEnp", name: "bigScreenEnp", meta: { title: "环保大屏", icon: "el-icon-platform", perms: ["bigScreenEnp"], fullpage: true, }, component: "bigScreen/index_enp_blue", }, //车间看板 { path: "/bigS", name: "bigS", meta: { type: "menu", title: "车间看板", icon: "el-icon-trend-charts", perms: ["bigScreenP_dept"], }, children: [ { path: "/bigScreenP_10", name: "bigScreenP_10", meta: { title: "10车间", icon: "el-icon-trend-charts", perms: ["bigScreenP_dept10"], fullpage: true, }, component: "bigScreen/index_10dept.vue", }, { path: "/bigScreenP_7", name: "bigScreenP_7", meta: { title: "7车间", icon: "el-icon-trend-charts", perms: ["bigScreenP_dept7"], fullpage: true, }, component: "bigScreen/index_7dept.vue", }, { path: "/bigScreenP_6", name: "bigScreenP_6", meta: { title: "6车间", icon: "el-icon-trend-charts", perms: ["bigScreenP_dept6"], fullpage: true, }, component: "bigScreen/index_6dept.vue", }, ], }, //统计分析 { path: "/statistic", name: "statistic", meta: { title: "统计分析", icon: "el-icon-histogram", perms: ["statistic"], }, children: [ //生产统计 { name: "statistic", path: "/statistic1", meta: { title: "生产统计", icon: "el-icon-grid", type: "menu", perms: ["statistic_wpm"], }, children: [ { name: "hunliao", path: "/statistic/hunliao", meta: { title: "混料统计", icon: "el-icon-DataAnalysis", perms: ["statistic_wpm"], }, component: "statistics/hunliao.vue", }, { name: "pass_num", path: "/statistic/pass_num", meta: { title: "合格数统计", icon: "el-icon-DataAnalysis", perms: ["statistic_wpm"], }, component: "statistics/pass_num.vue", }, { name: "task_rate", path: "/statistic/task_rate", meta: { title: "任务进度", icon: "el-icon-DataAnalysis", perms: ["statistic_wpm"], }, component: "statistics/task_rate.vue", }, { name: "ppass_num", path: "/statistic/ppass_num", meta: { title: "工序合格数", icon: "el-icon-DataAnalysis", perms: ["statistic_wpm"], }, component: "statistics/ppass_num.vue", }, ], }, //检验统计 { name: "statistic", path: "/statistic2", meta: { title: "检验统计", icon: "el-icon-grid", type: "menu", perms: ["statistic_qm"], }, children: [ { name: "product_check", path: "/statistic/product_check", meta: { title: "生产检验统计", icon: "el-icon-DataAnalysis", perms: ["statistic_qm"], }, component: "statistics/product_check.vue", }, { name: "product_check2", path: "/statistic/product_check2", meta: { title: "生产检验统计(粗加工)", icon: "el-icon-DataAnalysis", perms: ["statistic_qm"], }, component: "statistics/product_check2.vue", }, // { // "name": "inm_check", // "path": "/statistic/inm_check", // "meta": { // "title": "库存检验统计", // "icon": "el-icon-DataAnalysis", // "perms": ["statistic_qm"] // }, // "component": "statistics/inm_check.vue" // }, { name: "good_check", path: "/statistic/good_check", meta: { title: "成品检验统计", icon: "el-icon-DataAnalysis", perms: ["statistic_qm"], }, component: "statistics/good_check.vue", }, // { // "name": "behavior_check", // "path": "/statistic/behavior_check", // "meta": { // "title": "性能检验", // "icon": "el-icon-cellphone", // "perms": ["statistic_qm"] // }, // "component": "statistics/behavior_check.vue" // }, // { // "name": "enter_check", // "path": "/statistic/enter_check", // "meta": { // "title": "入厂检验", // "icon": "el-icon-cellphone", // "perms": ["statistic_qm"] // }, // "component": "statistics/enter_check.vue" // }, ], }, //物料统计 { path: "/material_statistics", name: "material_statistics", meta: { title: "采购统计", icon: "el-icon-trend-charts", perms: ["statistic_material"], }, component: "statistics/material_statistics.vue", }, //人员统计 { path: "/user_statistics", name: "user_statistics", meta: { title: "绩效统计", icon: "el-icon-trend-charts", perms: ["statistic_kpi"], }, component: "statistics/user_statistics.vue", }, //销售统计 { path: "/inm_statistics", name: "inm_statistics", meta: { title: "销售统计", icon: "el-icon-trend-charts", perms: ["statistic_sale"], }, component: "statistics/inm_statistics.vue", }, //库存统计 { path: "/stock_statistics", name: "stock_statistics", meta: { title: "库存统计", icon: "el-icon-trend-charts", perms: ["statistic_stock"], }, component: "statistics/stock_statistics.vue", }, //综合查询 { name: "total_statistics", path: "/statistic/total_statistics", meta: { title: "综合查询", icon: "el-icon-DataAnalysis", perms: ["statistic_total"], }, component: "statistics/total_statistics.vue", }, ], // children:[ // { // "path": "/product_statistics", // "name": "product_statistics", // "meta": { // "title": "生产统计", // "icon": "el-icon-trend-charts", // "perms": ["bigScreenP"], // }, // "component": "statistics/product_statistics.vue" // }, // { // "path": "/quality_statistics", // "name": "quality_statistics", // "meta": { // "title": "质量统计", // "icon": "el-icon-trend-charts", // "perms": ["bigScreenP"], // }, // "component": "statistics/quality_statistics.vue" // }, // { // "path": "/sale_statistics", // "name": "sale_statistics", // "meta": { // "title": "销售统计", // "icon": "el-icon-trend-charts", // "perms": ["bigScreenP"], // }, // "component": "statistics/sale_statistics.vue" // }, // { // "path": "/material_statistics", // "name": "material_statistics", // "meta": { // "title": "物料统计", // "icon": "el-icon-trend-charts", // "perms": ["bigScreenP"], // }, // "component": "statistics/material_statistics.vue" // }, // ], }, //报表 { 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: "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: ["sysconfig"], }, component: "ops/setting", }, ], }, ]; export default routes;