评估设置
@@ -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 @@
+
+
+
+ sss
+ {{ title }}
+
+
+
-->
+
{
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)"
+ >
+
@@ -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) {
}