From bd275165694372e0c7965c531d5ef1b710e8c145 Mon Sep 17 00:00:00 2001
From: kclf <1195754634@qq.com>
Date: Tue, 6 Dec 2022 17:11:58 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=AF=E7=94=A8=20=E5=81=9C=E7=94=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/courselibrary/CoursewareManage.vue | 36 +++++++++-----------
1 file changed, 17 insertions(+), 19 deletions(-)
diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue
index 30238c8e..90b88ea2 100644
--- a/src/views/courselibrary/CoursewareManage.vue
+++ b/src/views/courselibrary/CoursewareManage.vue
@@ -695,7 +695,11 @@
-
@@ -3761,6 +3765,7 @@ export default defineComponent({
valueE2: "",
//确定面授
ft_eidt: false,
+ statusTingQi: 1,
qdms_inputV1: "",
qdms_inputV2: "",
qdms_inputV3: "",
@@ -3892,23 +3897,6 @@ export default defineComponent({
if (editor == null) return;
editor.destroy();
});
- watch(
- () => state,
- (newVal) => {
- console.log("newVal3333333333333333333");
- console.log(newVal.ft_hs);
- if (!newVal.ft_hs) {
- console.log("newVal.ft_hs11111111111111");
- // const editor = editorRef.value;
- // if (editor == null) return;
- // editor.destroy();
- // router.go(0);
- }
- },
- {
- deep: true,
- }
- );
// 富文本 eeeeeeeeeeeeee
const route = useRoute();
@@ -4567,6 +4555,7 @@ export default defineComponent({
state.hideshow = true;
state.offcourseId = null;
+ state.statusTingQi = 1;
state.qdms_inputV1 = "";
state.imageUrl = "";
state.qdms_inputV2 = "";
@@ -5165,11 +5154,20 @@ export default defineComponent({
}).then((res) => {
if (res.data.code === 200) return res.data.data;
});
- console.log("res");
+ console.log("res33333333333");
console.log(item);
console.log(options2.value);
console.log(options3.value);
+ if (Number(item.auditStatus) === 2 && Number(item.status) === 1) {
+ state.statusTingQi = 1;
+ }
+ if (Number(item.auditStatus) === 2 && Number(item.status) === 0) {
+ state.statusTingQi = 0;
+ }
+
+ console.log("res3333333444444444444433333");
+ console.log(state.statusTingQi);
state.qdms_inputV1 = item.name;
// state.imageUrl = item.picUrl;
state.feng_mian_1 = item.picUrl;