Explorar el Código

注释注册驳回

sugangqiang hace 2 años
padre
commit
7d540c9d53

+ 1 - 1
app/common/controller/Auth.php

@@ -245,7 +245,7 @@ class Auth extends BaseController {
         $ep = EnterpriseApi::getOne(session('temp')['uid']);
         if ($this->request->isPost()) {
             $response_object = new \StdClass();
-            $data = $ep->toArray();
+            //注释注册驳回$data = $ep->toArray();
             $data = [
                 'name' => \StrUtil::getRequestDecodeParam($this->request, 'name'), //单位名称
                 'idCard' => \StrUtil::getRequestDecodeParam($this->request, 'idCard'), //统一社会信用代码

+ 1 - 1
public/static/modular/gate/enterprise/enterprise_edit.js

@@ -229,7 +229,7 @@ $("#imgurl,#bankImg,#beian,#domainImg,#typeImg").change(function (e) {
     };
 });
 Register.setFieldDisabled = function () {
-    $("#ep_form :input").not("button").prop("disabled", true);
+    //注释驳回限制$("#ep_form :input").not("button").prop("disabled", true);
     var fields = $("#fields").val().split(",");
     for (var i in fields) {
         $("#" + fields[i]).removeAttr("disabled");