仅内网可见-管理员端 调试

This commit is contained in:
670788339
2025-07-23 17:10:19 +08:00
parent 5d0d64abbf
commit 2ee3daedf6
2 changed files with 21 additions and 6 deletions

View File

@@ -571,6 +571,7 @@ export default {
}
},
mounted() {
this.getDictIds();
let extendFlag=this.$route.query.f; //是否是管理端过来的
this.extendRefId=this.$route.query.refId;
this.extendRefType=this.$route.query.refType;
@@ -917,6 +918,17 @@ export default {
this.courseCoverurl = '';
this.courseInfo.coverImg = '';
},
//获取字典信息
getDictIds() {
console.log("--- 获取字典信息 1 = ",this.dicts)
const { result, status } = apiCourse.getDictIds(637,1);
console.log("--- 获取字典信息 2 result= ",result)
if (status === 200) {
console.log("--- 获取字典信息 3 = ",this.dicts)
this.dicts = result.dicts;
console.log("--- 获取字典信息 4 = ",this.dicts)
}
},
//获取课程信息
async getDetail(id) {
this.curCourseId = id;