feat:增加学习路径id以及项目id

This commit is contained in:
李晓鸽
2022-11-04 15:50:19 +08:00
13 changed files with 5397 additions and 4700 deletions

View File

@@ -899,6 +899,8 @@ import WorkManage from "../../components/drawers/WorkManage";
// import { useRoute } from "vue-router";
// import { useStore } from "vuex";
import * as api from "../../api/index1";
import { storage } from "../../api/storage";
export default {
name: "LevelAdd",
components: {
@@ -917,7 +919,7 @@ export default {
// const routers = useRoute();
// const store = useStore();
const state = reactive({
routerId: localStorage.getItem("routerId"), //学习路径页面传的学习路径id
routerId: storage.get("routerId") ? storage.get("routerId") : null, //学习路径页面传的学习路径id
gatename: null, //关卡名称
gatenamee: null, //学员管理关卡名称
deleteAll: false, //批量删除学员弹窗
@@ -1236,7 +1238,7 @@ export default {
},
],
});
console.log("store", state.routerId);
// console.log("store", state.routerId);
const selectProjectName = (value, index) => {
console.log("value", value, index);
if (value === "批量删除") {