Quellcode durchsuchen

会员管理添加校验

corn vor 6 Monaten
Ursprung
Commit
4647846b44
1 geänderte Dateien mit 36 neuen und 0 gelöschten Zeilen
  1. 36 0
      src/views/members/memberDetails.vue

+ 36 - 0
src/views/members/memberDetails.vue

@@ -301,6 +301,42 @@
           });
           return
         }
+        if (this.vipPostTimes == '') {
+          this.$notify({
+            title: '提示',
+            duration: 1800,
+            message: '请输入普通招聘次数',
+            type: 'warning'
+          });
+          return
+        }
+        if (this.vipViewTimes == '') {
+          this.$notify({
+            title: '提示',
+            duration: 1800,
+            message: '请输入职位查看次数',
+            type: 'warning'
+          });
+          return
+        }
+        if (this.vipConTimes == '') {
+          this.$notify({
+            title: '提示',
+            duration: 1800,
+            message: '请输入交流次数',
+            type: 'warning'
+          });
+          return
+        }
+        if (this.vipDueTimes == '') {
+          this.$notify({
+            title: '提示',
+            duration: 1800,
+            message: '请输入急聘次数',
+            type: 'warning'
+          });
+          return
+        }
         this.$http({
           url: this.$http.adornUrl('vipDetails/insertVipDetails'),
           method: 'post',