@@ -332,7 +332,7 @@
-
+
{
state.pathName = "";
state.pathBg = "";
- state.pathBgId =1;
+ state.pathBgId = 1;
state.organizationSelectName = null;
state.organizationSelectId = null;
state.pathIntro = "";
@@ -908,12 +908,12 @@ export default {
let stuobj = {
pageNo: 1,
pageSize: 10,
- routerId: router.id,
+ pid: router.id,
+ type: 2,
};
- api
- .getStudent(stuobj)
+ getStuPage(stuobj)
.then((res) => {
- console.log("获取学员列表", res.data.data.total);
+ console.log("获取学员列表", res.data);
if (res.data.code === 200) {
state.routeStudentsNum = res.data.data.total;
state.pubLoading = false;
@@ -1175,7 +1175,7 @@ export default {
key: "opacation",
width: "20%",
align: "center",
- // fixed: "right",
+ // fixed: "right",
scopedSlots: { customRender: "action" }, //引入的插槽
customRender: (text) => {
// console.log(text);
@@ -1626,17 +1626,16 @@ export default {
arr.forEach((item) => {
if (item.dictValue === state.pathBg) {
state.pathBgId = item.dictCode;
-
}
});
//for (let i = 0; i < arr.length; i++) {
- // console.log("arr[i].dictValue", arr[i].dictValue, state.pathBg);
+ // console.log("arr[i].dictValue", arr[i].dictValue, state.pathBg);
// if (arr[i].dictValue === state.pathBg) {
- // state.pathBgId = arr[i].dictCode;
+ // state.pathBgId = arr[i].dictCode;
- // }
- // }
+ // }
+ // }
}
})
.catch((err) => {
@@ -1745,7 +1744,7 @@ export default {
state.searchdate = null;
state.startTime = null;
state.endTime = null;
- state.createUser=null;
+ state.createUser = null;
getLearnPath();
};
@@ -1803,7 +1802,7 @@ export default {
// state.imgData = ;
// }
});
- const imgData = computed(()=>store.state.pathmapPic)
+ const imgData = computed(() => store.state.pathmapPic);
//添加权限
watch(
() => state.addAuthList,
diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue
index adb871c6..f7ed9e15 100644
--- a/src/views/learningpath/LevelAdd.vue
+++ b/src/views/learningpath/LevelAdd.vue
@@ -10,26 +10,27 @@
创建时间:{{ cretime }}