From 35f532bf0cf4a8d0dc483b59f47f461ea7198bcb Mon Sep 17 00:00:00 2001 From: kclf <1195754634@qq.com> Date: Tue, 6 Dec 2022 14:50:16 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E9=A2=84=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 38 --- src/views/examine/CourseReviewedN.vue | 318 +------------------ 2 files changed, 10 insertions(+), 346 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 70c902ca..b623b129 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -5191,8 +5191,6 @@ export default defineComponent({ }; const handleLook = async (itm, type) => { // state.isEdit = 0; - // console.log(45555); - // console.log(itm); if (type === "1") { return; } @@ -5206,42 +5204,6 @@ export default defineComponent({ state.lookCourseModal = true; item.attach = item.attach == "" ? [] : item.attach.split(","); state.faceDetailObj = item; - // // heroImg.value.src = item.picUrl; - // // valueHtmlRef.value = item.outline; - // // attachMap.value = item.attach == "" ? [] : item.attach.split(","); - // console.log("res222222222"); - // console.log(item); - // console.log(state.lookCourseModal); - - // state.qdms_inputV1 = item.name; - // state.imageUrl = item.picUrl; - // state.qdms_inputV2 = item.targetUser; - // state.qdms_inputV3 = item.meaning; - // state.fen_lei = String(item.categoryId); - // state.chang_jin = String(item.sceneId); - // state.tags_val = item.tips ? item.tips.split(",") : []; - // //state.qdms_inputV5 = item.teacherId; - // state.teacher = item.teacher; - // state.teacherId = item.teacherId; - // state.qdms_inputV6 = item.intro; - // state.member = { value: item.teacherId, name: item.teacher }; - - // if (item.attach == "") { - // state.imgList = []; - // } else { - // if (item.attach.indexOf(",")) { - // const arr = item.attach.split(","); - // arr.forEach((item) => { - // state.imgList.push({ img: item }); - // }); - // } else { - // state.imgList = [{ img: item.attach }]; - // } - // } - - // valueHtml.value = item.outline; - - // state.lookMs = true; }; // const handleTea = async () => { // console.log("item22224444"); diff --git a/src/views/examine/CourseReviewedN.vue b/src/views/examine/CourseReviewedN.vue index 1e1953b4..7eca2536 100644 --- a/src/views/examine/CourseReviewedN.vue +++ b/src/views/examine/CourseReviewedN.vue @@ -141,304 +141,11 @@ - -
-
- - 预览 -
-
- -
-
-
-
-
-
-
-
-
-
- -
- 课程名称: -
-
-
- {{ faceDetailObj !== null ? faceDetailObj.name : "" }} -
-
-
-
-
-
-
-
-
-
-
-
-
- -
- 封面图: -
- - -
-
-
-
- -
- 目标人群: -
-
-
- {{ - faceDetailObj !== null ? faceDetailObj.targetUser : "" - }} -
-
-
-
-
- 课程价值: -
-
-
- {{ faceDetailObj !== null ? faceDetailObj.meaning : "" }} -
-
-
- -
-
-
- -
- 内容分类: -
-
- -
- {{ - faceDetailObj !== null - ? contentList11.find( - (e) => e.dictCode == faceDetailObj.categoryId - )?.dictValue - : "" - }} -
-
-
-
-
- 场景: -
-
- -
- {{ - faceDetailObj !== null - ? sceneist11.find( - (e) => e.dictCode == faceDetailObj.sceneId - )?.dictValue - : "" - }} -
-
-
-
-
- 内容标签: -
-
- {{ faceDetailObj !== null ? faceDetailObj.tips : "" }} -
-
-
-
-
-
-
- asterisk -
- 授课教师: -
-
-
- {{ faceDetailObj !== null ? faceDetailObj.teacher : "" }} -
-
-
-
-
- 课程简介: -
-
-
- {{ faceDetailObj !== null ? faceDetailObj.intro : "" }} -
-
-
- -
-
-
- -
-
-
- {{ item.name }} -
- -
-
-
-
上传完成
-
-
- 100% -
-
-
-
-
- - 删除 - -
-
-
-
-
-
- -
-
-
取消
-
-
-
确定
-
-
-
-
-
-
+ /> { - state.lookCourseModal = true; getFaceDetail(value.record.offId); console.log(value.record); }} style="cursor:pointer;color:#387DF7" > - 预览 + 预览3 ); @@ -652,7 +357,10 @@ export default { .then((res) => { console.log("获取面授详情信息成功", res); let result = res.data.data; + state.lookCourseModal = true; + result.attach = result.attach == "" ? [] : result.attach.split(","); state.faceDetailObj = result; + heroImg.value.src = result.picUrl; valueHtml.value = result.outline; attachMap.value = result.attach == "" ? [] : result.attach.split(","); @@ -705,15 +413,10 @@ export default { }; // 预览弹框 开启和关闭 - const ft_exit = () => { state.lookCourseModal = false; }; - const handlePush = () => { - state.lookCourseModal = false; - }; - const setFaceData = (tableData) => { if (!tableData || !tableData.length) { state.tableData1 = []; @@ -832,7 +535,6 @@ export default { closeCourAuditModal, sureCourAuditModal, ft_exit, - handlePush, getFaceDetail, heroImg, valueHtml, From 89db35b9ce4853fab1bbcd0b14bb889bc928bdc5 Mon Sep 17 00:00:00 2001 From: kclf <1195754634@qq.com> Date: Tue, 6 Dec 2022 14:51:23 +0800 Subject: [PATCH 2/5] t --- src/views/examine/CourseReviewedN.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/examine/CourseReviewedN.vue b/src/views/examine/CourseReviewedN.vue index 7eca2536..1eb8b0c7 100644 --- a/src/views/examine/CourseReviewedN.vue +++ b/src/views/examine/CourseReviewedN.vue @@ -287,7 +287,7 @@ export default { }} style="cursor:pointer;color:#387DF7" > - 预览3 + 预览 ); From 9b6cc6f5062ffd647ed00c13ccdea44a6514e472 Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Tue, 6 Dec 2022 15:12:22 +0800 Subject: [PATCH 3/5] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=BB=BB=E5=8A=A1=E7=95=8C=E9=9D=A2=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E5=AE=A1=E6=A0=B8=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/projectcenter/TaskPage.vue | 83 ++++++++++++++++++++++++++-- 1 file changed, 79 insertions(+), 4 deletions(-) diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index 01a73b35..be2ea7de 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -32,11 +32,51 @@
{{ act }}
+ +
+ {{ act }} +
+ + +
+
+
+
+
+ 提示 +
+
+
+ 您确定要提交审核吗 +
+
+
+
+
取消
+
+
+
确定
+
+
+
+
+