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;