diff --git a/package.json b/package.json index 40d532d8..f38b0814 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "d3": "^7.6.1", "dagre": "^0.8.5", "dagre-d3": "^0.6.4", - + "dhtmlx-gantt": "^8.0.6", "echarts": "5.4.1", "element-plus": "2.2.32", "file-saver": "^2.0.5", diff --git a/src/components/GanttComponent.vue b/src/components/GanttComponent.vue new file mode 100644 index 00000000..89133e14 --- /dev/null +++ b/src/components/GanttComponent.vue @@ -0,0 +1,79 @@ + + + + + \ No newline at end of file diff --git a/src/config/route.js b/src/config/route.js index 50570415..a028bd65 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -754,7 +754,17 @@ const routes = [ "perms": ["inm"] }, "component": "pm/mtask2" - } + }, + // { + // "name": "gantt", + // "path": "/pm/gantt", + // "meta": { + // "title": "gantt", + // "icon": "el-icon-cellphone", + // "perms": ["inm"] + // }, + // "component": "pm/gantt" + // } ] }, //生产执行 wpm diff --git a/src/views/pm/gantt.vue b/src/views/pm/gantt.vue new file mode 100644 index 00000000..beef935c --- /dev/null +++ b/src/views/pm/gantt.vue @@ -0,0 +1,163 @@ + + + \ No newline at end of file diff --git a/src/views/pm/mtask.vue b/src/views/pm/mtask.vue index d229dc9d..1497cd72 100644 --- a/src/views/pm/mtask.vue +++ b/src/views/pm/mtask.vue @@ -1,75 +1,77 @@