Răsfoiți Sursa

会员管理添加校验

corn 6 luni în urmă
părinte
comite
4647846b44
1 a modificat fișierele cu 36 adăugiri și 0 ștergeri
  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',