diff --git a/src/App.vue b/src/App.vue index 268dc112..2d613ab7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -33,7 +33,7 @@ import {USER_PERMISSION} from "@/api/ThirdApi"; const store = useStore(); const isLogin = ref(false); -console.log("版本2.3.4------------"); +console.log("版本2.3.5------------"); // 监听关闭浏览器 let time1 = ref(0); diff --git a/src/components/drawers/AddOpenCourse.vue b/src/components/drawers/AddOpenCourse.vue index f1fbb424..5577840a 100644 --- a/src/components/drawers/AddOpenCourse.vue +++ b/src/components/drawers/AddOpenCourse.vue @@ -570,6 +570,8 @@ async function coursePlanConfirm() { } offCourseNewVisiable.value = false; tableRef.value.toLoading(); + // TODO 当点击选择了是否评估按钮 点击保存的时候没有选择评估 则是否需要评估重置为 0 不需要 + formData.value.evalFlag = formData.value.assessmentName ? 1 : 0; await request(COURSE_PLAN_EDIT, { ...formData.value }); handleCancelStu(); tableRef.value.fetch(); @@ -614,6 +616,10 @@ const changevalue = (e) => { console.log("changevalue", e, newarr, formData.value.attach); } +const logT = () => { + formData.value.examInfo = {}; +}; + defineExpose({ openDrawer });