diff --git a/.gitignore b/.gitignore index 5e297b87..92a8e40b 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ package-lock.json src/api/config.js src/api/config.js src/api/config.js +src/api/config.js diff --git a/src/components/BreadCrumb.vue b/src/components/BreadCrumb.vue index 65dbfae8..b5e57c20 100644 --- a/src/components/BreadCrumb.vue +++ b/src/components/BreadCrumb.vue @@ -70,7 +70,7 @@ export default { href: "/leveladd", }, { - name: "管理", + name: "关卡", }, ]; } diff --git a/src/components/drawers/ProjCheckPower.vue b/src/components/drawers/ProjCheckPower.vue index 3f3779e6..2e4271e9 100644 --- a/src/components/drawers/ProjCheckPower.vue +++ b/src/components/drawers/ProjCheckPower.vue @@ -143,32 +143,32 @@ style="overflow-y: auto" >
-
-
组织:
- -
-
-
-
- -
-
搜索
-
-
-
- -
-
重置
-
-
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
评估设置 @@ -5074,7 +5078,7 @@ export default defineComponent({ completeType: item.completeType, endTime: new Date(item.endTime) / 1000, evalFlag: item.evalFlag, - name: item.name + "1", + name: item.name + "(1)", signFlag: item.signFlag, //是否允许未报名的签到:1是0否 //signWordFlag: item.signWordFlag, //签到是否需要口令:1是0否 teacherId: item.teacherId, @@ -5100,7 +5104,7 @@ export default defineComponent({ }); const postData = { offcourseId: null, //不传代表新增 - name: item.name + "1", + name: item.name + "(1)", picUrl: item.picUrl, targetUser: item.targetUser, meaning: item.meaning, diff --git a/src/views/courselibrary/courseModal.vue b/src/views/courselibrary/courseModal.vue index 104673b8..adf79a38 100644 --- a/src/views/courselibrary/courseModal.vue +++ b/src/views/courselibrary/courseModal.vue @@ -426,7 +426,7 @@ export default defineComponent({ hideshow: true, ft_eidt: false, attach: "", - validate:false, + validate:true, ft_hs: false, addLoading: false, statusJuJue: 0, diff --git a/src/views/examine/CourseReviewed.vue b/src/views/examine/CourseReviewed.vue index b5d214fc..9babe163 100644 --- a/src/views/examine/CourseReviewed.vue +++ b/src/views/examine/CourseReviewed.vue @@ -14,6 +14,7 @@
+ + + +
+
--> +
{ state.pathName = ""; state.pathBg = ""; - state.pathBgId = ""; + state.pathBgId =1; state.organizationSelectName = null; state.organizationSelectId = null; state.pathIntro = ""; @@ -1624,14 +1622,21 @@ export default { state.organizationSelectId = detail.organizationId; state.pathIntro = detail.remark; state.editPathId = id; - // console.log("state.imgData", state.imgData); - let arr = state.imgData; - for (let i = 0; i < arr.length; i++) { - // console.log("arr[i].dictValue", arr[i].dictValue, state.pathBg); - if (arr[i].dictValue === state.pathBg) { - state.pathBgId = arr[i].dictCode; + let arr = imgData.value; + 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); + // if (arr[i].dictValue === state.pathBg) { + // state.pathBgId = arr[i].dictCode; + + // } + // } } }) .catch((err) => { @@ -1782,6 +1787,7 @@ export default { // }; // getDictList("pathmapPic"); //显示更多路径背景弹窗 + const showLearnBgMore = () => { state.learnBgMore = true; }; @@ -1792,11 +1798,12 @@ export default { onMounted(() => { // console.log("执行"); getLearnPath(); - if (store.state.pathmapPic.length > 0) { - console.log("store.state.pathmapPic", store.state.pathmapPic); - state.imgData = store.state.pathmapPic; - } + // if (store.state.pathmapPic.length > 0) { + // console.log("store.state.pathmapPic", store.state.pathmapPic); + // state.imgData = ; + // } }); + const imgData = computed(()=>store.state.pathmapPic) //添加权限 watch( () => state.addAuthList, @@ -1830,6 +1837,7 @@ export default { return { ...toRefs(state), + imgData, selectProjectName, expandTable, handleOut, diff --git a/src/views/projectcenter/ProjectManage.vue b/src/views/projectcenter/ProjectManage.vue index f641a035..aaab9c1e 100644 --- a/src/views/projectcenter/ProjectManage.vue +++ b/src/views/projectcenter/ProjectManage.vue @@ -44,7 +44,7 @@ >
-
创建时间:
+
项目起止时间:
封面图
-
- - +
-
- - 高宽比为16:9 (如:800*450) png或jpg图片 - + v-for="(src, index) in projectPic" + :key="index" + @click="() => (projectInfo.picUrl = src.value)" + > + avatar
@@ -266,10 +261,6 @@ const backPage = () => { router.back(); }; -const handleChangeSelect = (value) => { - projectInfo.value.picUrl = value; -}; - function timeChange(e) { if (e && e.length === 2) { projectInfo.value.beginTime = e[0]; @@ -317,6 +308,9 @@ function managerChange(e, l, d, t) { }