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 => {