diff --git a/src/App.vue b/src/App.vue index 7ab55e6d..f3620e3e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,11 +18,13 @@ + + diff --git a/src/components/drawers/WorkManage.vue b/src/components/drawers/WorkManage.vue index 21afcbe8..cf404496 100644 --- a/src/components/drawers/WorkManage.vue +++ b/src/components/drawers/WorkManage.vue @@ -378,7 +378,7 @@ export default { state.name = ""; state.projectName = ""; state.tabledata = []; - getManageList(); + // getManageList(); }; return { diff --git a/src/store/index.js b/src/store/index.js index e58b00ac..fbdb9ea0 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1,3 +1,11 @@ +/* + * @Author: lixg lixg@dongwu-inc.com + * @Date: 2022-11-09 09:26:26 + * @LastEditors: lixg lixg@dongwu-inc.com + * @LastEditTime: 2022-11-20 16:06:52 + * @FilePath: /fe-manage/src/store/index.js + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ import { createStore } from "vuex"; export default createStore({ @@ -5,15 +13,17 @@ export default createStore({ openpages: localStorage.getItem("openpages") ? JSON.parse(localStorage.getItem("openpages")) : [ - { - pagename: "学习路径", - href: "/learningpath", - active: true, - }, - ], + { + pagename: "学习路径", + href: "/learningpath", + active: true, + }, + ], assessmentName: "", routerId: null, + + orgtreeList: [], }, getters: {}, mutations: { @@ -31,6 +41,9 @@ export default createStore({ console.log("state.assessmentName"); console.log(state.assessmentName); }, + getOrgtreeList(state, orgtreeList) { + state.orgtreeList = orgtreeList; + } }, actions: {}, modules: {}, diff --git a/src/views/learningpath/LearningPath.vue b/src/views/learningpath/LearningPath.vue index abbc4b6e..7e7a1fed 100644 --- a/src/views/learningpath/LearningPath.vue +++ b/src/views/learningpath/LearningPath.vue @@ -114,7 +114,7 @@ - + -->
+
- + 查看更多
@@ -220,12 +226,13 @@ - -
- + +
+ +
@@ -310,7 +317,7 @@ -->
- + 查看更多
@@ -344,8 +352,8 @@ - + +
路径信息
-
当前路径共0个关卡,0个任务
+
+ 当前路径共{{ routeChapters }}个关卡,{{ routeTasks }}个任务 +
学员信息
@@ -582,6 +592,49 @@ + + + +
+
+
路径图背景
+
+ +
+
+
+
+ +
+
+
+ + +
+
+