diff --git a/src/config/route.js b/src/config/route.js index b7f55fd1..6a4673cd 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -69,28 +69,6 @@ const routes = [ }, component: "home/enp_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", @@ -755,16 +733,6 @@ const routes = [ }, 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", @@ -1037,16 +1005,6 @@ const routes = [ }, component: "mtm/routepack", }, - // { - // "name": "process", - // "path": "/mtm/process", - // "meta": { - // "title": "工序管理", - // "icon": "el-icon-cellphone", - // "perms": ["mtm"] - // }, - // "component": "mtm/process" - // }, ], }, //生产管理 pm @@ -1062,14 +1020,13 @@ const routes = [ children: [ { name: "utask_1b", - path: "/pm/utask", + path: "/pm/utask_1b", meta: { title: "生产一部", type: "menu", icon: "el-icon-cellphone", perms: ["utask_1b"], }, - // "component": "pm/mtask" children: [ { name: "utask_dept7", @@ -1095,7 +1052,7 @@ const routes = [ }, { name: "utask_2b", - path: "/pm/utask", + path: "/pm/utask_2b", meta: { title: "生产二部", icon: "el-icon-cellphone", @@ -1114,18 +1071,17 @@ const routes = [ component: "pm/utask_dept6", }, ], - // "component": "pm/mtask2" }, - // { - // "name": "gantt", - // "path": "/pm/gantt", - // "meta": { - // "title": "gantt", - // "icon": "el-icon-cellphone", - // "perms": ["inm"] - // }, - // "component": "pm/gantt" - // } + { + name: "utask", + path: "/pm/utask", + meta: { + title: "车间任务", + icon: "el-icon-cellphone", + perms: ["pm"], + }, + component: "pm/utask", + }, ], }, //生产执行 wpm @@ -1190,7 +1146,6 @@ const routes = [ component: "wpm/mlog_dept10", }, ], - // "component": "wpm/worktask" }, { name: "worktaskFlog", @@ -1211,7 +1166,6 @@ const routes = [ icon: "el-icon-cellphone", perms: ["wpm"], }, - // "component": "wpm/worktask2" children: [ { name: "mlog_dept6", diff --git a/src/views/mtm/materials.vue b/src/views/mtm/materials.vue index 57ad61ec..b09f5a8d 100644 --- a/src/views/mtm/materials.vue +++ b/src/views/mtm/materials.vue @@ -127,7 +127,7 @@ > {{ scope.row.ticket_.state_.name }} - {{ act_states[scope.row.ticket_.act_state] }} - + --> + + + + +
+ 新增任务 + 任务分解 + 任务下达 +
+
+ + 搜索 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + + + + + diff --git a/src/views/pm/utask_form.vue b/src/views/pm/utask_form.vue index 04e11d1d..f373ca23 100644 --- a/src/views/pm/utask_form.vue +++ b/src/views/pm/utask_form.vue @@ -1,137 +1,252 @@