| | |
| | | // label: "工序排产", |
| | | // bgColor: "#E91E63", |
| | | // }, |
| | | // { |
| | | // icon: "/static/images/icon/shengchanbaogong@2x.png", |
| | | // label: "生产报工", |
| | | // bgColor: "#673AB7", |
| | | // }, |
| | | { |
| | | icon: "/static/images/icon/shengchanbaogong@2x.png", |
| | | icon: "/static/images/icon/caigoutaizhang@2x.png", |
| | | label: "生产报工", |
| | | bgColor: "#673AB7", |
| | | }, |
| | | // { |
| | | // icon: "/static/images/icon/shengchanhesuan@2x.png", |
| | |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/xunjianshangchuan@2x.png", |
| | | label: "巡检上传", |
| | | label: "巡检管理", |
| | | }, |
| | | ]); |
| | | |
| | |
| | | url: "/pages/productionManagement/processScheduling/index", |
| | | }); |
| | | break; |
| | | // case "生产报工": |
| | | // getcode(); |
| | | // break; |
| | | case "生产报工": |
| | | getcode(); |
| | | uni.navigateTo({ |
| | | url: "/pages/productionManagement/workOrder/index", |
| | | }); |
| | | break; |
| | | case "生产核算": |
| | | uni.navigateTo({ |
| | |
| | | url: "/pages/equipmentManagement/upkeep/index", |
| | | }); |
| | | break; |
| | | case "巡检上传": |
| | | case "巡检管理": |
| | | uni.navigateTo({ |
| | | url: "/pages/inspectionUpload/index", |
| | | }); |
| | |
| | | |
| | | // 过滤生产管控菜单 |
| | | const originalProduction = [ |
| | | // { |
| | | // icon: "/static/images/icon/shengchanbaogong@2x.png", |
| | | // label: "生产报工", |
| | | // bgColor: "#673AB7", |
| | | // }, |
| | | { |
| | | icon: "/static/images/icon/shengchanbaogong@2x.png", |
| | | icon: "/static/images/icon/caigoutaizhang@2x.png", |
| | | label: "生产报工", |
| | | bgColor: "#673AB7", |
| | | }, |
| | | ]; |
| | | const filteredProduction = originalProduction.filter(item => { |
| | |
| | | { icon: "/static/images/icon/shbeibaoxiu@2x.png", label: "运行管理" }, |
| | | { icon: "/static/images/icon/shbeibaoxiu@2x.png", label: "设备报修" }, |
| | | { icon: "/static/images/icon/shbeibaoyang@2x.png", label: "设备保养" }, |
| | | { icon: "/static/images/icon/xunjianshangchuan@2x.png", label: "巡检上传" }, |
| | | { icon: "/static/images/icon/xunjianshangchuan@2x.png", label: "巡检管理" }, |
| | | ]; |
| | | const filteredEquipment = originalEquipment.filter(item => { |
| | | return allowedMenuTitles.has(item.label); |