From 171823f462a35d03ccb93bdcb5bcddaf333bc9f4 Mon Sep 17 00:00:00 2001 From: Vce Date: Thu, 23 May 2024 20:50:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../examSystem2/trainRecord/trainPlan.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/projectFront/examSystem2/trainRecord/trainPlan.vue b/src/views/projectFront/examSystem2/trainRecord/trainPlan.vue index 8289c371..265e002b 100644 --- a/src/views/projectFront/examSystem2/trainRecord/trainPlan.vue +++ b/src/views/projectFront/examSystem2/trainRecord/trainPlan.vue @@ -92,8 +92,8 @@
- + + @@ -101,8 +101,8 @@
- + + @@ -508,7 +508,7 @@ export default { }) }, getTeamInfoList (){ - // this.workerInfo.departmentAndTeam = '' + this.workerInfo.departmentAndTeam = '' let data = { projectSn: this.projectSn, enterpriseId: this.workerInfo.enterpriseId?this.workerInfo.enterpriseId:'', @@ -566,6 +566,11 @@ export default { // return // } + if(!this.addCourseForm.courseId && !this.addCourseForm.examPaperId){ + this.$message.error('试卷和课件至少选择一项') + return + } + }, last() {