From fecf60549edd85b0eb11bc5ba2d5aa356cb9217f Mon Sep 17 00:00:00 2001 From: kclf <1195754634@qq.com> Date: Mon, 5 Dec 2022 23:46:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E8=A7=88=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 17 +- .../courselibrary/components/seeModal.vue | 204 ++++++++---------- 2 files changed, 86 insertions(+), 135 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 24002989..0ec915fb 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -4188,7 +4188,7 @@ export default defineComponent({ const getDictList = (param) => { let obj = { pageNo: 1, - pageSize: 20, + pageSize: 10000, setCode: param, }; api1 @@ -5104,18 +5104,6 @@ export default defineComponent({ }; // 预览弹框 开启和关闭 - // 内容分类 场景 -- 目前直接写死的 - const sceneist11 = [ - { dictCode: "6", dictValue: "场景一" }, - { dictCode: "7", dictValue: "场景二" }, - ]; - const contentList11 = [ - { dictCode: "8", dictValue: "分类一" }, - { dictCode: "5", dictValue: "分类二" }, - ]; - // const heroImg = ref(null); - // // const valueHtmlRef = ref(null); - // const attachMap = ref([]); const ft_exit_see = () => { state.lookCourseModal = false; }; @@ -5134,6 +5122,7 @@ export default defineComponent({ if (res.data.code === 200) return res.data.data; }); state.lookCourseModal = true; + item.attach = item.attach == "" ? [] : item.attach.split(","); state.faceDetailObj = item; // heroImg.value.src = item.picUrl; // valueHtmlRef.value = item.outline; @@ -5542,8 +5531,6 @@ export default defineComponent({ ftsr_exit, stm_exit, ft_exit_see, - contentList11, - sceneist11, createkk, handleCancelStu, handleSureStu, diff --git a/src/views/courselibrary/components/seeModal.vue b/src/views/courselibrary/components/seeModal.vue index a1db13aa..19619fe4 100644 --- a/src/views/courselibrary/components/seeModal.vue +++ b/src/views/courselibrary/components/seeModal.vue @@ -44,21 +44,10 @@