From b4138861d0a43daa9fdcd9c1adac490a146d22a3 Mon Sep 17 00:00:00 2001 From: WL Date: Fri, 28 Jun 2024 14:04:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E4=B8=8E=E4=BC=81=E4=B8=9A=E7=AB=AF?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=EF=BC=8C=E8=A7=86=E9=A2=91=E8=AF=BE=E4=BB=B6?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0=E5=9F=B9?= =?UTF-8?q?=E8=AE=AD=E7=B1=BB=E5=9E=8B=E3=80=81=E8=A1=8C=E4=B8=9A=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E3=80=81=E5=B2=97=E4=BD=8D=E7=B1=BB=E5=9E=8B=E4=B8=89?= =?UTF-8?q?=E6=A0=8F=E4=BD=8D=E7=9A=84=E5=BF=85=E5=A1=AB=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../videocourseware/components/complete.vue | 15 +++++++++++++-- .../videocourseware/components/edit.vue | 14 +++++++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/views/studyResource/videocourseware/components/complete.vue b/src/views/studyResource/videocourseware/components/complete.vue index 852973e..4d9fe13 100644 --- a/src/views/studyResource/videocourseware/components/complete.vue +++ b/src/views/studyResource/videocourseware/components/complete.vue @@ -10,7 +10,7 @@ - +
@@ -559,7 +559,18 @@ export default { // return false // } // } - + if (!this.TRAINTYPE) { + this.$message.warning('培训类型不能为空') + return false + } + if (!this.INDUSTRY_END_ID) { + this.$message.warning('行业类型不能为空') + return false + } + if (!this.POSTTYPE) { + this.$message.warning('岗位类型不能为空') + return false + } // if (!this.form.INDUSTRY_END_ID) { // this.$message.warning('请选择培训类型') // return false diff --git a/src/views/studyResource/videocourseware/components/edit.vue b/src/views/studyResource/videocourseware/components/edit.vue index 8e74c2f..37157d6 100644 --- a/src/views/studyResource/videocourseware/components/edit.vue +++ b/src/views/studyResource/videocourseware/components/edit.vue @@ -10,7 +10,7 @@ - +
@@ -535,6 +535,18 @@ export default { return false } } + if (!this.TRAINTYPE) { + this.$message.warning('培训类型不能为空') + return false + } + if (!this.INDUSTRY_END_ID) { + this.$message.warning('行业类型不能为空') + return false + } + if (!this.POSTTYPE) { + this.$message.warning('岗位类型不能为空') + return false + } this.$refs.form.validate(valid => { if (valid) { Object.keys(this.form).map(key => {