2 Commits 63d96a8735 ... 61e0fa0cc5

Autor SHA1 Mensagem Data
  yby 61e0fa0cc5 Merge remote-tracking branch 'origin/master' 2 months atrás
  yby 7b1be6e959 yby 2 months atrás
1 changed files with 8 additions and 0 deletions
  1. 8 0
      web/WEB-INF/page/pc/Doctor_Manage.jsp

+ 8 - 0
web/WEB-INF/page/pc/Doctor_Manage.jsp

@@ -344,6 +344,13 @@
         var info = $("#info").val();
         var power = $("input[name='power']:checked").val();
 
+        if(id==='' || name==='' || age==='' || sex==='' || selectedOption==='' || value==='' || secondDeptId===''
+           || name1==='' || secondDeptName ==='' || degree ==='' || status ==='' || phone ==='' ||
+            account ==='' || password ==='' || info ==='' || power ==='')
+        {
+            showAlert("有空输入")
+            return
+        }
         var n = {
             id: id,
             name: name,
@@ -360,6 +367,7 @@
             power: power
         };
 
+
         console.log(n);
 
         $.ajax({