Ver código fonte

凌云集团更改公司

peiguo 5 anos atrás
pai
commit
2672c8c516
1 arquivos alterados com 7 adições e 2 exclusões
  1. 7 2
      whepi-ui/templates/user/home.ftl

+ 7 - 2
whepi-ui/templates/user/home.ftl

@@ -524,8 +524,13 @@
                 "doorplate": doorplate,
             },success: function (data) {
                 if (!data.success) {
-                    $.alert(data.msg);
-                    return false;
+                    if (uptownId == '1238790987234') {
+                        $.alert("该工号已经被占用,请输入身份证号码");
+                        return false;
+                    } else {
+                        $.alert(data.msg);
+                        return false;
+                    }
                 } else {
                     $.ajax({
                         url: '/home/saveUser.json',