-
-
+
+
+
选择{{indexss+1}}:
+
+
+
+ {{itteems.multipleOptionName}}
-
- {{itteems.multipleOptionName}}
+
![]()
+
@@ -217,10 +226,31 @@ export default {
}
};
+ // 判断当前题目中是否有的选项有图片有的没有
+ const isExistImg = (data, index) => {
+ let exist = false;
+ data.forEach((i,n)=>{
+ console.log(i,n)
+ if(index==1){
+ if(i.singleOptionPictureAddress){
+ exist = true;
+ return exist;
+ }
+ }else{
+ if(i.multipleOptionPictureAddress){
+ exist = true;
+ return exist;
+ }
+ }
+ })
+ return exist;
+ }
+
return {
...toRefs(state),
afterVisibleChange,
closeDrawer,
+ isExistImg
// change,
};
},
diff --git a/src/components/drawers/project/ProjectExamManage.vue b/src/components/drawers/project/ProjectExamManage.vue
index d856d88a..c983fe8c 100644
--- a/src/components/drawers/project/ProjectExamManage.vue
+++ b/src/components/drawers/project/ProjectExamManage.vue
@@ -370,10 +370,10 @@ export default {
'courseId': props.datasource.courseId,//任务的Id
'courseName': props.title,//任务的名称
'logo': '1',//项目或径的标识 1-项目 2-路径图 3面授课
- 'routerTaskId': props.datasource.routerId,//任务的routerTaskld或projectTaskld
- 'targetId': props.datasource.routerId,//路径图的就是routerId,项目的是projectId;根据这张图来看的话
+ 'routerTaskId': props.datasource.projectId,//任务的routerTaskld或projectTaskld
+ 'targetId': props.datasource.projectId,//路径图的就是routerId,项目的是projectId;根据这张图来看的话
'taskType': props.datasource.type,//催促的任务的类型
- 'chapterId': props.datasource.chapterId,//阶段或关卡Id
+ 'chapterId': props.datasource.stageId,//阶段或关卡Id
};
batchSendMessage(obj).then(res => {
console.log(res)
diff --git a/src/components/drawers/project/ProjectExternalExamManage.vue b/src/components/drawers/project/ProjectExternalExamManage.vue
index d1925f05..a7909ceb 100644
--- a/src/components/drawers/project/ProjectExternalExamManage.vue
+++ b/src/components/drawers/project/ProjectExternalExamManage.vue
@@ -366,10 +366,10 @@
'courseId': props.datasource.courseId,//任务的Id
'courseName': props.title,//任务的名称
'logo': '1',//项目或径的标识 1-项目 2-路径图 3面授课
- 'routerTaskId': props.datasource.routerId,//任务的routerTaskld或projectTaskld
- 'targetId': props.datasource.routerId,//路径图的就是routerId,项目的是projectId;根据这张图来看的话
+ 'routerTaskId': props.datasource.projectId,//任务的routerTaskld或projectTaskld
+ 'targetId': props.datasource.projectId,//路径图的就是routerId,项目的是projectId;根据这张图来看的话
'taskType': props.datasource.type,//催促的任务的类型
- 'chapterId': props.datasource.chapterId,//阶段或关卡Id
+ 'chapterId': props.datasource.stageId,//阶段或关卡Id
};
batchSendMessage(obj).then(res => {
message.success("催促" + props.title + "成功");
diff --git a/src/components/project/NameInput.vue b/src/components/project/NameInput.vue
index efd00ba2..d7f2c3c9 100644
--- a/src/components/project/NameInput.vue
+++ b/src/components/project/NameInput.vue
@@ -5,12 +5,12 @@
:show-count="showCount"
:maxlength="maxlength"
/>
-