From d4a36e2bb62af5ce57c4cf84d56f53a401f9fc9b Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Sun, 4 Dec 2022 17:28:14 +0800 Subject: [PATCH] =?UTF-8?q?style:=E5=A2=9E=E5=8A=A0=E9=9D=A2=E6=8E=88?= =?UTF-8?q?=E8=AF=BE=E6=9F=A5=E7=9C=8B=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 472 ++++++++++++++++++- 1 file changed, 471 insertions(+), 1 deletion(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 9c7f63bd..28dc35e0 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -678,6 +678,418 @@ + + +
+
+ + 查看面授课 +
+
+ +
+
+
+
+
+
课程信息
+
+
+
+
+
+ +
+ 课程名称 +
+
+
+ +
+ + {{ qdms_inputV1.length }}/90 + +
+
+
+
+
+
+
+ 课程命名规则 +
+
+
+ 收起 +
+
+ 展开 +
+
+
+
+
+ + 1、课程名称统一不加书名号。
+ 2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息 + 之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先 + 看到的是课程内容主题。
+ 3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用 + 版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。 +
+
+
+
+
+
+ +
+ 封面图 +
+
+ + avatar +
+
+
+
+
+
+
+
+ + 高宽比为16:9 (如:800*450) png或jpg图片 + +
+
+
+
+
+
+ +
+ 目标人群 +
+
+
+ +
+ + {{ qdms_inputV2.length }}/50 + +
+
+
+
+
+
+ 课程价值 +
+
+
+ +
+ + {{ qdms_inputV3.length }}/200 + +
+
+
+
+
+
+
+ +
+ 内容分类 +
+
+
+ +
+
+
+
+
+ 场景 +
+
+
+ +
+
+
+
+
+ 内容标签 +
+
+ +
+
+
+
+
+
+
+ asterisk +
+ 授课教师 +
+
+
+ +
+
+
+
+
+ 课程简介 +
+
+
+ +
+ + {{ qdms_inputV6.length }}/150 + +
+
+
+
+
+
+ 附件 +
+
+ +
+
+ enclosure +
+ 添加附件 +
+
+ + 支持.pdf,.ppt,.pptx,.doc,.docx,.xls,.xlsx,.jpg,.jpeg,.png,.gif,.zip + +
+
+
+
+
+
+ + + +
+
+
+
上传完成
+ + +
+
+ 100% +
+
+ +
+
+
+ + 删除 + +
+ + +
+
+
+
+
+ +
+
+
取消
+
+
+
确定
+
+
+
+
+
+
+
@@ -904,7 +1316,7 @@ 查看 { + state.lookMs = false + } //保存面授课 const handlePush = (param) => { //state.isEdit = 1; @@ -4611,6 +5028,57 @@ export default defineComponent({ state.ft_hs = true; state.ft_eidt = true; }; + + + const handleLook = async (itm, type) => { + state.isEdit = 0; + console.log(45555); + console.log(itm); + if (type === "1") { + return; + } + state.offcourseId = itm.offcourseId; + + const item = await detail({ + offcourseId: Number(state.offcourseId), + }).then((res) => { + if (res.data.code === 200) return res.data.data; + }); + console.log("res"); + console.log(item); + console.log(options2.value); + console.log(options3.value); + + 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"); // // const item = await getMemberInfo({ @@ -5038,6 +5506,8 @@ export default defineComponent({ showManagePrower, closeOnlineCoursevisible, + handlelookMs, + handleLook }; }, });