Browse Source

增加部分功能

sandm 2 years ago
parent
commit
7446b62e05
28 changed files with 516 additions and 75 deletions
  1. 169 0
      app/admin/controller/CurrencyFiletype.php
  2. 1 1
      app/admin/controller/Enterprise.php
  3. 103 0
      app/admin/view/currency_filetype/currency_filetype_add.html
  4. 107 0
      app/admin/view/currency_filetype/currency_filetype_update.html
  5. 1 1
      app/admin/view/currency_filetype/index.html
  6. 3 3
      app/admin/view/enterprise/goto_enterprise_detail_page.html
  7. 2 2
      app/admin/view/enterprise/goto_enterprise_page.html
  8. 4 4
      app/admin/view/enterprise_change_record/goto_enterprise_change_detail_page.html
  9. 1 1
      app/admin/view/talent/base_verify.html
  10. 1 1
      app/admin/view/talent/fst_verify.html
  11. 18 1
      app/common/controller/Auth.php
  12. 3 3
      app/common/validate/Enterprise.php
  13. 9 9
      app/common/view/auth/register.html
  14. 2 2
      app/enterprise/controller/Api.php
  15. 2 2
      app/enterprise/view/api/to_add.html
  16. 4 4
      app/enterprise/view/api/to_detail.html
  17. 2 2
      app/enterprise/view/api/to_update.html
  18. 4 4
      app/enterprise/view/index/center_page.html
  19. 1 1
      app/index/view/auth/login.html
  20. 0 0
      jjrcuniflat.sql
  21. 54 10
      public/static/js/register.js
  22. 3 3
      public/static/modular/enterprise/enterprise_list.js
  23. 3 3
      public/static/modular/filetype/currencyFiletype/currencyFiletype.js
  24. 3 2
      public/static/modular/filetype/currencyFiletype/currencyFiletype_info.js
  25. 1 1
      public/static/modular/gate/enterprise/enterprise_center.js
  26. 3 3
      public/static/modular/gate/enterprise/enterprise_change_edit.js
  27. 4 4
      public/static/modular/gate/enterprise/enterprise_edit.js
  28. 8 8
      public/static/modular/gate/register.js

+ 169 - 0
app/admin/controller/CurrencyFiletype.php

@@ -4,6 +4,7 @@ namespace app\admin\controller;
 
 use app\admin\common\AdminController;
 use app\common\api\DictApi;
+use app\common\api\UploadApi;
 use think\facade\Db;
 
 class CurrencyFiletype extends AdminController{
@@ -50,4 +51,172 @@ class CurrencyFiletype extends AdminController{
 
         return ["total" => $count, "rows" => $rows];
     }
+
+    public function currencyFiletype_add(){
+        return view("");
+    }
+
+    public function add(){
+        $response_obj = new \StdClass();
+        $name = trim($this->request['name']);
+        if(\StrUtil::isEmpOrNull($name)){
+            $response_obj->code = 500;
+            $response_obj->msg = '附件名称不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $type = trim($this->request['type']);
+        if(\StrUtil::isEmpOrNull($type)){
+            $response_obj->code = 500;
+            $response_obj->msg = '申报类别不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $api = trim($this->request['api']);
+        if(\StrUtil::isEmpOrNull($api)){
+            $response_obj->code = 500;
+            $response_obj->msg = 'api不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $must = trim($this->request['must']);
+        if(\StrUtil::isEmpOrNull($must)){
+            $response_obj->code = 500;
+            $response_obj->msg = '是否必传不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $active = trim($this->request['active']);
+        if(\StrUtil::isEmpOrNull($active)){
+            $response_obj->code = 500;
+            $response_obj->msg = '是否有效不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $sn = trim($this->request['sn']);
+        if(\StrUtil::isEmpOrNull($sn)){
+            $response_obj->code = 500;
+            $response_obj->msg = '排序不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+
+
+        if($this->request['templateFile']){
+            $uploadapi = new UploadApi();
+            $file_check_res = $uploadapi->uploadOne($this->request->file('templateFile'), 'system');
+            if ($file_check_res->code == 500) {
+                return \StrUtil::back($file_check_res, "CurrencyFiletypeInfoDlg.callBack");
+            }
+            $templateUrl = $file_check_res->filepath;
+        }else{
+            $templateUrl = "";
+        }
+
+
+        $data = [
+            'id' => getStringId(),
+            'type' => $type,
+            'name' => $name,
+            'api' => $api,
+            'must' => $must,
+            'active' => $active,
+            'sn' => $sn,
+            'checkCompany' => '1158293574504660993',
+            'description' => $this->request['description'],
+            'createTime' => date("Y-m-d H:i:s"),
+            'createUser' => session('user')['uid'],
+            'templateUrl' => $templateUrl
+        ];
+
+        \app\admin\model\CurrencyFiletype::create($data);
+        $response_obj->code = 200;
+        $response_obj->msg = '添加成功';
+        return \StrUtil::back($response_obj, "CurrencyFiletypeInfoDlg.callBack");
+    }
+
+    public function currencyFiletype_update(){
+        $id = trim($this->request->get('id'));
+        if(\StrUtil::isEmpOrNull($id)){
+            return json(['msg'=>'id不能为空']);
+        }
+        $cft = \app\admin\model\CurrencyFiletype::findOrEmpty($id);
+        return view("",['item'=>$cft]);
+    }
+
+    public function update(){
+        $response_obj = new \StdClass();
+        $id = \StrUtil::getRequestDecodeParam($this->request,'id');
+        if(\StrUtil::isEmpOrNull($id)){
+            $response_obj->code = 500;
+            $response_obj->msg = 'id不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $cft = \app\admin\model\CurrencyFiletype::findOrEmpty($id);
+        if(!$cft){
+            $response_obj->code = 500;
+            $response_obj->msg = '找不到记录';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+
+        $cft->name = $name = trim($this->request['name']);
+        if(\StrUtil::isEmpOrNull($name)){
+            $response_obj->code = 500;
+            $response_obj->msg = '附件名称不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $cft->type = $type = trim($this->request['type']);
+        if(\StrUtil::isEmpOrNull($type)){
+            $response_obj->code = 500;
+            $response_obj->msg = '申报类别不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $cft->api = $api = trim($this->request['api']);
+        if(\StrUtil::isEmpOrNull($api)){
+            $response_obj->code = 500;
+            $response_obj->msg = 'api不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $cft->must = $must = trim($this->request['must']);
+        if(\StrUtil::isEmpOrNull($must)){
+            $response_obj->code = 500;
+            $response_obj->msg = '是否必传不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $cft->active = $active = trim($this->request['active']);
+        if(\StrUtil::isEmpOrNull($active)){
+            $response_obj->code = 500;
+            $response_obj->msg = '是否有效不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+        $cft->sn = $sn = trim($this->request['sn']);
+        if(\StrUtil::isEmpOrNull($sn)){
+            $response_obj->code = 500;
+            $response_obj->msg = '排序不能为空';
+            return \StrUtil::back($response_obj,'CurrencyFiletypeInfoDlg.callBack');
+        }
+
+
+
+        if($this->request['templateFile']){
+            $uploadapi = new UploadApi();
+            $file_check_res = $uploadapi->uploadOne($this->request->file('templateFile'), 'system');
+            if ($file_check_res->code == 500) {
+                return \StrUtil::back($file_check_res, "CurrencyFiletypeInfoDlg.callBack");
+            }
+            $cft->templateUrl = $templateUrl = $file_check_res->filepath;
+        }else{
+            $cft->templateUrl = $templateUrl = "";
+        }
+
+        $cft->updateTime = date("Y-m-d H:i:s");
+        $cft->updateUser = session('user')['uid'];
+        $cft->save();
+        $response_obj->code = 200;
+        $response_obj->msg = '修改成功';
+        return \StrUtil::back($response_obj, "CurrencyFiletypeInfoDlg.callBack");
+    }
+
+    public function delete(){
+        $id = \StrUtil::getRequestDecodeParam($this->request,'currencyFiletypeId');
+        if(\StrUtil::isEmpOrNull($id)){
+            return json(['code' => 500,'msg' => '缺少参数']);
+        }
+        \app\admin\model\CurrencyFiletype::destroy($id);
+        return json(['code' => 200,'msg' => '删除成功']);
+    }
 }

+ 1 - 1
app/admin/controller/Enterprise.php

@@ -290,7 +290,7 @@ class Enterprise extends AdminController {
 
         $sheet->getstyle('A1:O1')->getFill()->setFillType(\PHPExcel_style_Fill::FILL_SOLID)->getStartColor()->setRGB("87CEEB");
 
-        $header = ["单位名称", " 社会信用代码","产业领域" ,"单位标签"," 所属街道", "单位地址", " 法人代表", " 单位电话", "经办人", "经办人电话", "经办人邮箱", "审核状态", "账号状态", "注册时间","备注"];
+        $header = ["单位名称", " 社会信用代码","产业领域" ,"单位标签"," 所属街道", "单位地址", " 法人代表", " 单位电话", "人才联络员", "人才联络员电话", "人才联络员邮箱", "审核状态", "账号状态", "注册时间","备注"];
 
         foreach ($header as $key => $value) {
             $sheet->setCellValueByColumnAndRow($key+1, 1, $value);

+ 103 - 0
app/admin/view/currency_filetype/currency_filetype_add.html

@@ -0,0 +1,103 @@
+{extend name="layout/content"}
+{block name="content"}
+<div class="ibox float-e-margins">
+  <div class="ibox-content">
+    <form id="currencyFileTypeInfoForm" action="/admin/currencyFiletype/add" method="post" enctype="multipart/form-data" target="hiddenIframe">
+      <div class="form-horizontal">
+        <input id="id" name="id" type="hidden"/>
+        <div class="row">
+          <div class="col-sm-6">
+            <div class="form-group">
+              <label class="col-sm-3 control-label">
+                申报类别
+              </label>
+              <div class="col-sm-9">
+                <select class="form-control" id="type" name="type">
+
+                </select>
+              </div>
+            </div>
+            <div class="form-group">
+              <label class="col-sm-3 control-label">
+                附件api
+              </label>
+              <div class="col-sm-9">
+                <input class="form-control" id="api" name="api" type="text">
+              </div>
+            </div>
+            <div class="form-group">
+              <label class="col-sm-3 control-label">
+                是否生效
+              </label>
+              <div class="col-sm-9">
+                <select class="form-control" id="active" name="active">
+                  <option value="1">是</option>
+                  <option value="2">否</option>
+                </select>
+              </div>
+            </div>
+        <input type="file" name="templateFile" id="templateFile" onchange="CurrencyFiletypeInfoDlg.fileChange(this)" style="display: none">
+            <div class="form-group">
+              <label class="col-sm-3 control-label">
+                附件模板
+              </label>
+              <div class="col-sm-9">
+                <input class="form-control" id="templateUrl" name="templateUrl" type="text" onclick="$('#templateFile').click();">
+              </div>
+            </div>
+      </div>
+      <div class="col-sm-6">
+        <div class="form-group">
+          <label class="col-sm-3 control-label">
+            附件名称
+          </label>
+          <div class="col-sm-9">
+            <input class="form-control" id="name" name="name" type="text">
+          </div>
+        </div>
+        <div class="form-group">
+          <label class="col-sm-3 control-label">
+            是否必传
+          </label>
+          <div class="col-sm-9">
+            <select class="form-control" id="must" name="must">
+              <option value="1">是</option>
+              <option value="2">否</option>
+            </select>
+          </div>
+        </div>
+        <div class="form-group">
+          <label class="col-sm-3 control-label">
+            排序
+          </label>
+          <div class="col-sm-9">
+            <input class="form-control" id="sn" name="sn" type="text">
+          </div>
+        </div>
+        <div class="form-group">
+          <label class="col-sm-3 control-label">
+            备注
+          </label>
+          <div class="col-sm-9">
+            <input class="form-control" id="description" name="description" type="text">
+          </div>
+        </div>
+  </div>
+</div>
+<div class="row btn-group-m-t">
+  <div class="col-sm-12" style="text-align: center;">
+    <button type="button" class="btn btn-sm btn-info " onclick="CurrencyFiletypeInfoDlg.addSubmit()" id="ensure">
+      <i class="fa fa-check"></i>&nbsp;提交
+    </button>
+    <button type="button" class="btn btn-sm btn-danger " onclick="CurrencyFiletypeInfoDlg.close()" id="cancel">
+      <i class="fa fa-eraser"></i>&nbsp;取消
+    </button>
+  </div>
+</div>
+</div>
+</form>
+</div>
+</div>
+<iframe id="hiddenIframe" name="hiddenIframe" style="display: none;"></iframe>
+<script src="/static/modular/filetype/currencyFiletype/currencyFiletype_info.js?V=1"></script>
+{/block}

+ 107 - 0
app/admin/view/currency_filetype/currency_filetype_update.html

@@ -0,0 +1,107 @@
+{extend name="layout/content"}
+{block name="content"}
+<div class="ibox float-e-margins">
+    <div class="ibox-content">
+        <form id="currencyFileTypeInfoForm" action="/admin/currencyFiletype/update" method="post"
+              enctype="multipart/form-data" target="hiddenIframe">
+            <div class="form-horizontal">
+                <input id="id" name="id" value="{$item.id}" type="hidden"/>
+                <div class="row">
+                    <div class="col-sm-6">
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">
+                                申报类别
+                            </label>
+                            <div class="col-sm-9">
+                                <select class="form-control" id="type" name="type" selectVal="{$item.type}">
+
+                                </select>
+                            </div>
+                        </div>
+
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">附件api</label>
+                            <div class="col-sm-9">
+                                <input class="form-control" id="api" name="api" value="{$item.api}"/>
+                            </div>
+                        </div>
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">
+                                是否生效
+                            </label>
+                            <div class="col-sm-9">
+                                <select class="form-control" id="active" name="active" selectVal="{$item.active}">
+                                    <option value="1">是</option>
+                                    <option value="2">否</option>
+                                </select>
+                            </div>
+                        </div>
+
+                        <input type="file" name="templateFile" id="templateFile"
+                               onchange="CurrencyFiletypeInfoDlg.fileChange(this)" style="display: none">
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">
+                                附件模板
+                            </label>
+                            <div class="col-sm-9">
+                                <input class="form-control" id="templateUrl" name="templateUrl" type="text"
+                                       onclick="$('#templateFile').click();" value="{$item.templateUr}">
+                            </div>
+                        </div>
+                    </div>
+                    <div class="col-sm-6">
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">
+                                附件名称
+                            </label>
+                            <div class="col-sm-9">
+                                <input class="form-control" id="name" name="name" type="text" value="{$item.name}">
+                            </div>
+                        </div>
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">
+                                是否必传
+                            </label>
+                            <div class="col-sm-9">
+                                <select class="form-control" id="must" name="must" selectVal="{$item.must}">
+                                    <option value="1">是</option>
+                                    <option value="2">否</option>
+                                </select>
+                            </div>
+                        </div>
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">
+                                排序
+                            </label>
+                            <div class="col-sm-9">
+                                <input class="form-control" id="sn" name="sn" type="text" value="{$item.sn}">
+                            </div>
+                        </div>
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">
+                                备注
+                            </label>
+                            <div class="col-sm-9">
+                                <input class="form-control" id="description" name="description" type="text"
+                                       value="{$item.descriptio}">
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="row btn-group-m-t">
+                    <div class="col-sm-12" style="text-align: center;">
+                        <button type="button" class="btn btn-sm btn-info " onclick="CurrencyFiletypeInfoDlg.editSubmit()" id="ensure">
+                            <i class="fa fa-check"></i>&nbsp;提交
+                        </button>
+                        <button type="button" class="btn btn-sm btn-danger " onclick="CurrencyFiletypeInfoDlg.close()" id="cancel">
+                            <i class="fa fa-eraser"></i>&nbsp;取消
+                        </button>
+                    </div>
+                </div>
+            </div>
+        </form>
+    </div>
+</div>
+<iframe id="hiddenIframe" name="hiddenIframe" style="display: none;"></iframe>
+<script src="/static/modular/filetype/currencyFiletype/currencyFiletype_info.js?v=8"></script>
+{/block}

+ 1 - 1
app/admin/view/currency_filetype/index.html

@@ -100,5 +100,5 @@
 </div>
 </div>
 </div>
-<script src="/static/modular/filetype/currencyFiletype/currencyFiletype.js?v=3"></script>
+<script src="/static/modular/filetype/currencyFiletype/currencyFiletype.js?v=9"></script>
 {/block}

+ 3 - 3
app/admin/view/enterprise/goto_enterprise_detail_page.html

@@ -105,19 +105,19 @@
             </div>
           </div>
           <div class="rowGroup"  style="margin-bottom: 0px;">
-            <label class="col-sm-2 control-label spacing">经办人</label>
+            <label class="col-sm-2 control-label spacing">人才联络员</label>
             <div class="col-sm-4 spacing">
               <input type="text" class="form-control" readonly="readonly" id="agentName" name="agentName" value="{$ep.agentName}"  />
             </div>
           </div>
           <div class="rowGroup"  style="margin-bottom: 0px;">
-            <label class="col-sm-2 control-label spacing">经办人电话</label>
+            <label class="col-sm-2 control-label spacing">人才联络员电话</label>
             <div class="col-sm-4 spacing">
               <input type="text" class="form-control" readonly="readonly" id="agentPhone" name="agentPhone" value="{$ep.agentPhone}"  />
             </div>
           </div>
           <div class="rowGroup"  style="margin-bottom: 0px;">
-            <label class="col-sm-2 control-label spacing">经办人邮箱</label>
+            <label class="col-sm-2 control-label spacing">人才联络员邮箱</label>
             <div class="col-sm-4 spacing">
               <input type="text" class="form-control" readonly="readonly" id="agentEmail" name="agentEmail" value="{$ep.agentEmail}"  />
             </div>

+ 2 - 2
app/admin/view/enterprise/goto_enterprise_page.html

@@ -53,7 +53,7 @@
                         <div class="input-group input-group-sm">
                             <div class="input-group-btn">
                                 <button data-toggle="dropdown" class="btn btn-white dropdown-toggle"
-                                        type="button">经办
+                                        type="button">人才联络员
                                 </button>
                             </div>
                             <input type="text" class="form-control" id="agentName" placeholder=""/>
@@ -63,7 +63,7 @@
                         <div class="input-group input-group-sm">
                             <div class="input-group-btn">
                                 <button data-toggle="dropdown" class="btn btn-white dropdown-toggle"
-                                        type="button">经办人电话
+                                        type="button">人才联络员电话
                                 </button>
                             </div>
                             <input type="text" class="form-control" id="agentPhone" placeholder=""/>

+ 4 - 4
app/admin/view/enterprise_change_record/goto_enterprise_change_detail_page.html

@@ -105,13 +105,13 @@
                             </div>
                           </div>
                           <div class="rowGroup"  style="margin-bottom: 0px;">
-                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人</label>
+                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员</label>
                             <div class="col-sm-4 spacing">
                               <input type="text" class="form-control" id="oldAgentName" name="oldAgentName" value="{$ecr.oldAgentName}"/>
                             </div>
                           </div>
                           <div class="rowGroup"  style="margin-bottom: 0px;">
-                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人电话</label>
+                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员电话</label>
                             <div class="col-sm-4 spacing">
                               <input type="text" class="form-control" id="oldAgentPhone" name="oldAgentPhone" value="{$ecr.oldAgentPhone}"/>
                             </div>
@@ -182,13 +182,13 @@
                             </div>
                           </div>
                           <div class="rowGroup"  style="margin-bottom: 0px;">
-                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人</label>
+                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员</label>
                             <div class="col-sm-4 spacing">
                               <input type="text" class="form-control" id="newAgentName" name="newAgentName" value="{$ecr.newAgentName}"/>
                             </div>
                           </div>
                           <div class="rowGroup"  style="margin-bottom: 0px;">
-                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人电话</label>
+                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员电话</label>
                             <div class="col-sm-4 spacing">
                               <input type="text" class="form-control" id="newAgentPhone" name="newAgentPhone" value="{$ecr.newAgentPhone}"/>
                             </div>

+ 1 - 1
app/admin/view/talent/base_verify.html

@@ -204,7 +204,7 @@
                             </if>
                             <if condition="chkCommission('/admin/talent/getEnterprisePhones','')">
                                 <button type="button" class="btn btn-sm btn-primary " onclick="TalentInfo.getEnterprisePhones()" id="">
-                                    <i class="fa fa-phone"></i>&nbsp;获取经办人手机号
+                                    <i class="fa fa-phone"></i>&nbsp;获取人才联络员手机号
                                 </button>
                             </if>
                         </div>

+ 1 - 1
app/admin/view/talent/fst_verify.html

@@ -204,7 +204,7 @@
                             </if>
                             <if condition="chkCommission('/admin/talent/getEnterprisePhones','')">
                                 <button type="button" class="btn btn-sm btn-primary " onclick="TalentInfo.getEnterprisePhones()" id="">
-                                    <i class="fa fa-phone"></i>&nbsp;获取经办人手机号
+                                    <i class="fa fa-phone"></i>&nbsp;获取人才联络员手机号
                                 </button>
                             </if>
                         </div>

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

@@ -58,16 +58,33 @@ class Auth extends BaseController
                     $response_object->msg = '验证码过期,请重新发送';
                     return \StrUtil::back($response_object,"Register.epCallBack");
                 }
-                //检验附件
+                //检验附件 营业执照
                 $uploadapi = new UploadApi();
                 $upload_result = $uploadapi->uploadOne($this->request->file('imgurl'),'image');
                 if($upload_result->code == 500){
                     return \StrUtil::back($upload_result,"Register.epCallBack");
                 }
+                //检验附件 开户许可证
+                $upload_result1 = $uploadapi->uploadOne($this->request->file('bankImg'),'image');
+                if($upload_result->code == 500){
+                    return \StrUtil::back($upload_result1,"Register.epCallBack");
+                }
+                if($this->request['domainImg']){
+                    $upload_result2 = $uploadapi->uploadOne($this->request->file('domainImg'),'image');
+                    if($upload_result->code == 500){
+                        return \StrUtil::back($upload_result2,"Register.epCallBack");
+                    }
+                    $domainImg = $upload_result2->filepath;
+                }else{
+                    $domainImg = '';
+                }
+
                 $data['id'] = getStringId();
                 $data['password'] = hash('md5',$data['password']);
                 $data['source'] = $source;
                 $data['imgurl'] = $upload_result->filepath;
+                $data['bankImg'] = $upload_result1->filepath;
+                $data['domainImg'] = $domainImg;
                 $data['createTime'] = date("Y-m-d H:i:s",time());
                 $data['updateTime'] = date("Y-m-d H:i:s",time());
                 $data['active'] = 1;

+ 3 - 3
app/common/validate/Enterprise.php

@@ -49,9 +49,9 @@ class Enterprise extends Validate{
         'industryFieldNew.require' => '产业领域必须选择',
         'enterpriseTag.require' => '单位标签必须选择',
         'enterpriseType.require' => '单位类型必须选择',
-        'agentName.require' => '请填写经办人',
-        'agentPhone.require' => '请填写经办人手机号',
-        'agentPhone.unique' => '该经办人手机号已存在',
+        'agentName.require' => '请填写人才联络员',
+        'agentPhone.require' => '请填写人才联络员手机号',
+        'agentPhone.unique' => '该人才联络员手机号已存在',
         'verificationCode.require' => '请输入手机验证码',
         'legal.require' => '请输入单位法人',
         'street.require' => '请选择所属镇(街道)',

+ 9 - 9
app/common/view/auth/register.html

@@ -27,7 +27,7 @@
                                 <br/>
                                 <div class="panel-body" >
                                     <div class="panel panel-default">
-                                        <form id="ep_form1" action="/common/auth/register" method="post" class="form-horizontal" enctype="multipart/form-data" target="hiddenIframe">
+                                        <form id="ep_form" action="/common/auth/register" method="post" class="form-horizontal" enctype="multipart/form-data" target="hiddenIframe">
                                             <input type="hidden" id="source" name="source" value="1">
                                             <div class="panel-heading">单位基础信息</div>
                                             <div class="panel-body">
@@ -123,8 +123,8 @@
                                                         <div class="rowGroup"  >
                                                             <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>开户许可证</label>
                                                             <div class="col-sm-4 spacing">
-                                                                <img id="photoImg" src="/static/img/yyzz.png" style="height: 60px;" onclick="$('#imgurl').click()" >
-                                                                <input style="display: none" autocomplete="off" type="file" class="form-control" id="imgurl" name="imgurl" />
+                                                                <img id="photoImg1" src="/static/img/yyzz.png" style="height: 60px;" onclick="$('#bankImg').click()" >
+                                                                <input style="display: none" autocomplete="off" type="file" class="form-control" id="bankImg" name="bankImg" />
                                                             </div>
                                                         </div>
                                                     </div>
@@ -174,10 +174,10 @@
                                                         </div>
                                                     </div>
                                                     <div class="rowGroup"  >
-                                                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>行业领域上传材料 </label>
+                                                        <label class="col-sm-2 control-label spacing">行业领域上传材料 </label>
                                                         <div class="col-sm-4 spacing">
-                                                            <img id="photoImg" src="/static/img/yyzz.png" style="height: 60px;" onclick="$('#imgurl').click()" >
-                                                            <input style="display: none" autocomplete="off" type="file" class="form-control" id="imgurl" name="imgurl" />
+                                                            <img id="photoImg2" src="/static/img/yyzz.png" style="height: 60px;" onclick="$('#domainImg').click()" >
+                                                            <input style="display: none" autocomplete="off" type="file" class="form-control" id="domainImg" name="domainImg" />
                                                         </div>
                                                     </div>
                                                 </div>
@@ -187,7 +187,7 @@
                                             <div class="panel-body">
                                                 <div class="row">
                                                     <div class="rowGroup" >
-                                                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人</label>
+                                                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员</label>
                                                         <div class="col-sm-4 spacing">
                                                             <input autocomplete="off" type="text" class="form-control" id="agentName" name="agentName" />
                                                         </div>
@@ -201,7 +201,7 @@
                                                 </div>
                                                 <div class="row">
                                                     <div class="rowGroup form-inline" >
-                                                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人手机号</label>
+                                                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员手机号</label>
                                                         <div class="col-sm-4 spacing">
                                                             <input autocomplete="off" type="text" class="form-control" id="agentPhone" name="agentPhone"  style="width: 60%" />
                                                             <button id="enterprise_sms_btn" style="margin-bottom: 0px;" onclick="Register.getEnterpriseSms()" type="button" class="btn btn-xs btn-info" style="width: 38%">获取验证码</button>
@@ -318,6 +318,6 @@
 </div>
 <iframe id="hiddenIframe" name="hiddenIframe" style="display: none;"></iframe>
 
-<script src="/static/js/register.js?v=11"></script>
+<script src="/static/js/register.js?v=12"></script>
 
 {/block}

+ 2 - 2
app/enterprise/controller/Api.php

@@ -90,8 +90,8 @@ class Api extends EnterpriseController {
             'id' => \StrUtil::getRequestDecodeParam($this->request,'enterprise_id'),
             'name' => \StrUtil::getRequestDecodeParam($this->request,'newName'),//单位名称
             'idCard' => \StrUtil::getRequestDecodeParam($this->request,'newIdCard'),//社会信用代码
-            'agentName' => \StrUtil::getRequestDecodeParam($this->request,'newAgentName'),//经办
-            'agentPhone' => \StrUtil::getRequestDecodeParam($this->request,'newAgentPhone'),//经办人电话
+            'agentName' => \StrUtil::getRequestDecodeParam($this->request,'newAgentName'),//人才联络员
+            'agentPhone' => \StrUtil::getRequestDecodeParam($this->request,'newAgentPhone'),//人才联络员电话
             'legal' => \StrUtil::getRequestDecodeParam($this->request,'newLegal'),//法人
             'street' => \StrUtil::getRequestDecodeParam($this->request,'newStreet'),//镇街
             'address' => \StrUtil::getRequestDecodeParam($this->request,'newAddress'),//地址

+ 2 - 2
app/enterprise/view/api/to_add.html

@@ -108,13 +108,13 @@
                         </div>
                       </div>
                       <div class="rowGroup"  style="margin-bottom: 0px;">
-                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人</label>
+                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员</label>
                         <div class="col-sm-4 spacing">
                           <input type="text" class="form-control" id="newAgentName" name="newAgentName" value="{$ecr.newAgentName}"/>
                         </div>
                       </div>
                       <div class="rowGroup"  style="margin-bottom: 0px;">
-                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人电话</label>
+                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员电话</label>
                         <div class="col-sm-4 spacing">
                           <input type="text" class="form-control" id="newAgentPhone" name="newAgentPhone" value="{$ecr.newAgentPhone}"/>
                         </div>

+ 4 - 4
app/enterprise/view/api/to_detail.html

@@ -111,13 +111,13 @@
                             </div>
                           </div>
                           <div class="rowGroup"  style="margin-bottom: 0px;">
-                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人</label>
+                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员</label>
                             <div class="col-sm-4 spacing">
                               <input type="text" class="form-control" id="oldAgentName" name="oldAgentName" value="{$ecr.oldAgentName}" readonly disabled />
                             </div>
                           </div>
                           <div class="rowGroup"  style="margin-bottom: 0px;">
-                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人电话</label>
+                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员电话</label>
                             <div class="col-sm-4 spacing">
                               <input type="text" class="form-control" id="oldAgentPhone" name="oldAgentPhone" value="{$ecr.oldAgentPhone}" readonly disabled />
                             </div>
@@ -200,13 +200,13 @@
                             </div>
                           </div>
                           <div class="rowGroup"  style="margin-bottom: 0px;">
-                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人</label>
+                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员</label>
                             <div class="col-sm-4 spacing">
                               <input type="text" class="form-control" id="newAgentName" name="newAgentName" value="{$ecr.newAgentName}" readonly disabled />
                             </div>
                           </div>
                           <div class="rowGroup"  style="margin-bottom: 0px;">
-                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人电话</label>
+                            <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员电话</label>
                             <div class="col-sm-4 spacing">
                               <input type="text" class="form-control" id="newAgentPhone" name="newAgentPhone" value="{$ecr.newAgentPhone}" readonly disabled />
                             </div>

+ 2 - 2
app/enterprise/view/api/to_update.html

@@ -109,13 +109,13 @@
                         </div>
                       </div>
                       <div class="rowGroup"  style="margin-bottom: 0px;">
-                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人</label>
+                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员</label>
                         <div class="col-sm-4 spacing">
                           <input type="text" class="form-control" id="newAgentName" name="newAgentName" value="{$ecr.newAgentName}"/>
                         </div>
                       </div>
                       <div class="rowGroup"  style="margin-bottom: 0px;">
-                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>经办人电话</label>
+                        <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>人才联络员电话</label>
                         <div class="col-sm-4 spacing">
                           <input type="text" class="form-control" id="newAgentPhone" name="newAgentPhone" value="{$ecr.newAgentPhone}"/>
                         </div>

+ 4 - 4
app/enterprise/view/index/center_page.html

@@ -101,19 +101,19 @@
                         </div>
                       </div>
                       <div class="rowGroup" >
-                        <label class="col-sm-2 control-label spacing">经办人</label>
+                        <label class="col-sm-2 control-label spacing">人才联络员</label>
                         <div class="col-sm-4 spacing">
                           <input type="text" class="form-control" readonly="readonly" name="agentName" value="{$ep.agentName}" />
                         </div>
                       </div>
                       <div class="rowGroup"  style="margin-bottom: 0px;">
-                        <label class="col-sm-2 control-label spacing">经办人电话</label>
+                        <label class="col-sm-2 control-label spacing">人才联络员电话</label>
                         <div class="col-sm-4 spacing">
                           <input type="text" class="form-control" readonly="readonly" name="agentPhone" value="{$ep.agentPhone}" />
                         </div>
                       </div>
                       <div class="rowGroup"  style="margin-bottom: 0px;">
-                        <label class="col-sm-2 control-label spacing">经办人邮箱</label>
+                        <label class="col-sm-2 control-label spacing">人才联络员邮箱</label>
                         <div class="col-sm-4 spacing">
                           <input type="text" class="form-control" readonly="readonly" name="agentEmail" value="{$ep.agentEmail}" />
                         </div>
@@ -227,7 +227,7 @@
                   <div class="row">
                     <div class="col-sm-12 ">
                       <div class="rowGroup form-inline"  style="margin-bottom: 0px;">
-                        <label class="col-sm-2 control-label">经办人手机验证码</label>
+                        <label class="col-sm-2 control-label">人才联络员手机验证码</label>
                         <div class="col-sm-10">
                           <input autocomplete="off" type="text" style="width: 80%" class="form-control" id="verificationCode" name="verificationCode"  />
                           <button id="enterprise_sms_btn" style="margin-bottom: 0px;width: 18%" onclick="EnterpriseCenter.getEnterpriseSms()" type="button" class="btn btn-sm btn-info">获取验证码</button>

+ 1 - 1
app/index/view/auth/login.html

@@ -151,7 +151,7 @@
                             '<div class="row">\n' +
                             '<label class="col-sm-3 control-label spacing"><span class="text-danger">*</span>手机号</label>\n' +
                             '<div class="col-sm-9 spacing form-inline">\n' +
-                            '<input autocomplete="off" type="text" style="width: 250px;" class="form-control" id="phone" name="phone" placeholder="企业账号请填写经办人手机号码"/>\n' +
+                            '<input autocomplete="off" type="text" style="width: 250px;" class="form-control" id="phone" name="phone" placeholder="企业账号请填写人才联络员手机号码"/>\n' +
                             '<button id="smsBtn" style="margin-bottom: 0px;" onclick="Login.sendSms()" type="button" class="btn btn-xs btn-info">获取验证码</button>\n' +
                             '</div>\n' +
                             '</div>\n' +

File diff suppressed because it is too large
+ 0 - 0
jjrcuniflat.sql


+ 54 - 10
public/static/js/register.js

@@ -2,21 +2,21 @@ var Register = {
     registData: {},
     validateFields: {
         username: {validators: {notEmpty: {message: '登录账号不能为空'}}},
-        name: {validators: {notEmpty: {message: '单位名称不能为空'}}},
+        name: {validators: {notEmpty: {message: '单位名称不能为空'},regexp:{regexp:/^[\u4e00-\u9fa5]{2,4}$/,message:"单位名称只允许中文"}}},
         idCard: {validators: {notEmpty: {message: '社会信用代码不能为空'}}},
-        agentName: {validators: {notEmpty: {message: '经办人不能为空'}}},
+        agentName: {validators: {notEmpty: {message: '人才联络员不能为空'}}},
         agentPhone: {
             validators: {
                 notEmpty: {
-                    message: '经办人手机号不能为空'
+                    message: '人才联络员手机号不能为空'
                 }, regexp: {
                     regexp: /((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)/,
-                    message: "经办人手机号格式不合法"
+                    message: "人才联络员手机号格式不合法"
                 }
             }
         },
         verificationCode: {validators: {notEmpty: {message: '手机验证码不能为空'}}},
-        legal: {validators: {notEmpty: {message: '法人代表不能为空'}}},
+        legal: {validators: {notEmpty: {message: '法人代表不能为空'},regexp:{regexp:/^[\u4e00-\u9fa5]{2,4}$/,message:"法人代表只允许中文"}}},
         street: {validators: {notEmpty: {message: '所属街道不能为空'}}},
         address: {validators: {notEmpty: {message: '单位地址不能为空'}}},
         ephone: {
@@ -128,6 +128,10 @@ Register.enterpriseUserRegister = function() {
         Feng.info("请填写单位名称!");
         return;
     }
+    if(!/^[\u4e00-\u9fa5]{2,4}$/.test(name)){
+        Feng.info("单位名称只能输入中文 !");
+        return;
+    }
     if (name.length > 100) {
         Feng.info("单位名称最多100个字符!");
         return;
@@ -145,15 +149,15 @@ Register.enterpriseUserRegister = function() {
         return;
     }
     if (agentName==null || agentName=='') {
-        Feng.info("请填写经办人!");
+        Feng.info("请填写人才联络员!");
         return;
     }
     if (agentName.length > 30) {
-        Feng.info("经办人最多30个字符!");
+        Feng.info("人才联络员最多30个字符!");
         return;
     }
     if (agentPhone==null || agentPhone=='') {
-        Feng.info("请填写经办人电话!");
+        Feng.info("请填写人才联络员电话!");
         return;
     }
     if(ephone == null || ephone==''){
@@ -168,6 +172,10 @@ Register.enterpriseUserRegister = function() {
         Feng.info("请填写法人代表!");
         return;
     }
+    if(!/^[\u4e00-\u9fa5]{2,4}$/.test(legal)){
+        Feng.info("法人代表只能输入中文 !");
+        return;
+    }
     if (street==null || street=='') {
         Feng.info("请选择所属街道!");
         return;
@@ -216,7 +224,7 @@ Register.enterpriseUserRegister = function() {
         return;
     }
     if(!/((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)/.test(agentPhone)){
-        Feng.info("经办人电话格式不合法!");
+        Feng.info("人才联络员电话格式不合法!");
         return;
     }
     if(!/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/.test(agentEmail)){
@@ -308,7 +316,7 @@ Register.personUserRegister = function() {
 Register.getEnterpriseSms = function() {
     var agentPhone = $("#agentPhone").val();
     if (agentPhone==null || agentPhone=="") {
-        Feng.info("请填写经办人手机号!");
+        Feng.info("请填写人才联络员手机号!");
         return;
     }
     agentPhone = $.trim(agentPhone);
@@ -473,4 +481,40 @@ $(function(){
             }
         };
     });
+    $("#bankImg").change(function (e) {
+        var tag = e.target;
+        var file = tag.files[0];
+        var imgSrc;
+        var reader = new FileReader();
+        reader.readAsDataURL(file);
+        reader.onload = function() {
+            var src = $("#bankImg").val();
+            var sn = src.lastIndexOf(".");
+            var suffix = src.substring(sn+1,src.length);
+            if(suffix == 'pdf' || suffix == 'PDF'){
+                $("#photoImg1").attr("src", Feng.ctxPath + "/static/img/Pdf.png");
+            }else{
+                imgSrc = this.result;
+                $("#photoImg1").attr("src", imgSrc);
+            }
+        };
+    });
+    $("#domainImg").change(function (e) {
+        var tag = e.target;
+        var file = tag.files[0];
+        var imgSrc;
+        var reader = new FileReader();
+        reader.readAsDataURL(file);
+        reader.onload = function() {
+            var src = $("#domainImg").val();
+            var sn = src.lastIndexOf(".");
+            var suffix = src.substring(sn+1,src.length);
+            if(suffix == 'pdf' || suffix == 'PDF'){
+                $("#photoImg2").attr("src", Feng.ctxPath + "/static/img/Pdf.png");
+            }else{
+                imgSrc = this.result;
+                $("#photoImg2").attr("src", imgSrc);
+            }
+        };
+    });
 });

+ 3 - 3
public/static/modular/enterprise/enterprise_list.js

@@ -31,8 +31,8 @@ Enterprise.initColumn = function(){
         {title: '单位标签', field: 'enterpriseTagName', visible: isShow,align: 'center', width:120, valign: 'middle', 'class': 'uitd_showTip'},
         {title: '法人代表', field: 'legal', align: 'center', width:120, valign: 'middle', 'class': 'uitd_showTip'},
         {title: '单位电话', field: 'ephone', align: 'center', width:120, valign: 'middle', 'class': 'uitd_showTip'},
-        {title: '经办人', field: 'agentName', align: 'center', width:120, valign: 'middle', 'class': 'uitd_showTip'},
-        {title: '经办人电话', field: 'agentPhone', align: 'center', width:120, valign: 'middle', 'class': 'uitd_showTip'},
+        {title: '人才联络员', field: 'agentName', align: 'center', width:120, valign: 'middle', 'class': 'uitd_showTip'},
+        {title: '人才联络员电话', field: 'agentPhone', align: 'center', width:120, valign: 'middle', 'class': 'uitd_showTip'},
         {title: '审核状态', field: 'checkState', align: 'center', width:120, valign: 'middle', 'class': 'uitd_showTip',
         	formatter: function (value, row, index){
                 if (value==null || value==''){
@@ -257,7 +257,7 @@ Enterprise.doExport = function() {
 }
 
 /**
- * 批量获取经办人手机号码
+ * 批量获取人才联络员手机号码
  */
 Enterprise.getPhones = function(){
     var ajax = new $ax(Feng.ctxPath + "/enterprise/getPhones", function(data){

+ 3 - 3
public/static/modular/filetype/currencyFiletype/currencyFiletype.js

@@ -80,7 +80,7 @@ CurrencyFiletype.openAddCurrencyFiletype = function () {
         area: ['800px', '420px'], //宽高
         fix: false, //不固定
         maxmin: true,
-        content: Feng.ctxPath + '/currencyFiletype/currencyFiletype_add'
+        content: Feng.ctxPath + '/admin/currencyFiletype/currencyFiletype_add'
     });
     CurrencyFiletype.layerIndex = index;
 };
@@ -96,7 +96,7 @@ CurrencyFiletype.openCurrencyFiletypeDetail = function () {
             area: ['800px', '420px'], //宽高
             fix: false, //不固定
             maxmin: true,
-            content: Feng.ctxPath + '/currencyFiletype/currencyFiletype_update/' + CurrencyFiletype.seItem.id
+            content: Feng.ctxPath + '/admin/currencyFiletype/currencyFiletype_update?id=' + CurrencyFiletype.seItem.id
         });
         CurrencyFiletype.layerIndex = index;
     }
@@ -108,7 +108,7 @@ CurrencyFiletype.openCurrencyFiletypeDetail = function () {
 CurrencyFiletype.delete = function () {
     if (this.check()) {
         var operation = function() {
-            var ajax = new $ax(Feng.ctxPath + "/currencyFiletype/delete", function (data) {
+            var ajax = new $ax(Feng.ctxPath + "/admin/currencyFiletype/delete", function (data) {
                 Feng.success("删除成功!");
                 CurrencyFiletype.table.refresh();
             }, function (data) {

+ 3 - 2
public/static/modular/filetype/currencyFiletype/currencyFiletype_info.js

@@ -153,17 +153,18 @@ CurrencyFiletypeInfoDlg.fileChange = function(context){
 }
 
 $(function() {
-    Feng.initValidator("currencyFileTypeInfoForm", CurrencyFiletypeInfoDlg.validateFields);
+
     //下拉框数据动态加载 - 申报类别
     Feng.addAjaxSelect({
         "id": "type",
         "displayCode": "code",
         "displayName": "name",
         "type": "GET",
-        "url": Feng.ctxPath + "/dict/findChildDictByCode?code=un_common_declareType"
+        "url": Feng.ctxPath + "/admin/dict/findChildDictByCode?code=common_declareType"
     });
     //下拉框数据回显
     $("select").each(function () {
         $(this).val($(this).attr("selectVal"));
     });
+    Feng.initValidator("currencyFileTypeInfoForm", CurrencyFiletypeInfoDlg.validateFields);
 });

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

@@ -222,7 +222,7 @@ EnterpriseCenter.showLog = function(id){
 EnterpriseCenter.getEnterpriseSms = function(){
 	var agentPhone = $("#tab-1").find("input[name='agentPhone']").val();
 	if (agentPhone==null || agentPhone=="") {
-		Feng.info("经办人手机号码为空!");
+		Feng.info("人才联络员手机号码为空!");
 		return;
 	}
 	agentPhone = $.trim(agentPhone);

+ 3 - 3
public/static/modular/gate/enterprise/enterprise_change_edit.js

@@ -9,7 +9,7 @@ var EpChangeEdit = {
 		newLegal: {validators: {notEmpty: {message: '法人代表不能为空'}}},
 		newAddress: {validators: {notEmpty: {message: '单位地址不能为空'}}},
 		newStreet: {validators: {notEmpty: {message: '所属街道不能为空'}}},
-		newAgentName: {validators: {notEmpty: {message: '经办人不能为空'}}},
+		newAgentName: {validators: {notEmpty: {message: '人才联络员不能为空'}}},
 		newEphone: {
 			validators: {
 				notEmpty: {
@@ -24,11 +24,11 @@ var EpChangeEdit = {
 		newAgentPhone: {
 			validators: {
 				notEmpty: {
-					message: '经办人电话不能为空'
+					message: '人才联络员电话不能为空'
 				},
 				regexp :{
 					regexp:/((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)/,
-					message:"经办人电话格式不正确"
+					message:"人才联络员电话格式不正确"
 				}
 			}
 		},

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

@@ -49,15 +49,15 @@ Register.enterpriseUserRegister = function() {
         return;
     }
     if (agentName==null || agentName=='') {
-        Feng.info("请填写经办人!");
+        Feng.info("请填写人才联络员!");
         return;
     }
     if (agentName.length > 30) {
-        Feng.info("经办人最多30个字符!");
+        Feng.info("人才联络员最多30个字符!");
         return;
     }
     if (agentPhone==null || agentPhone=='') {
-        Feng.info("请填写经办人电话!");
+        Feng.info("请填写人才联络员电话!");
         return;
     }
     if(ephone == null || ephone==''){
@@ -99,7 +99,7 @@ Register.enterpriseUserRegister = function() {
         return;
     }
     if(!/((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)/.test(agentPhone)){
-        Feng.info("经办人电话格式不合法!");
+        Feng.info("人才联络员电话格式不合法!");
         return;
     }
     if(!/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/.test(agentEmail)){

+ 8 - 8
public/static/modular/gate/register.js

@@ -4,14 +4,14 @@ var Register = {
 		username: {validators: {notEmpty: {message: '登录账号不能为空'}}},
 		name: {validators: {notEmpty: {message: '单位名称不能为空'}}},
 		idCard: {validators: {notEmpty: {message: '社会信用代码不能为空'}}},
-		agentName: {validators: {notEmpty: {message: '经办人不能为空'}}},
+		agentName: {validators: {notEmpty: {message: '人才联络员不能为空'}}},
 		agentPhone: {
 			validators: {
 				notEmpty: {
-					message: '经办人手机号不能为空'
+					message: '人才联络员手机号不能为空'
 				}, regexp: {
 					regexp: /((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)/,
-					message: "经办人手机号格式不合法"
+					message: "人才联络员手机号格式不合法"
 				}
 			}
 		},
@@ -141,15 +141,15 @@ Register.enterpriseUserRegister = function() {
 		return;
 	}
 	if (agentName==null || agentName=='') {
-		Feng.info("请填写经办人!");
+		Feng.info("请填写人才联络员!");
 		return;
 	}
 	if (agentName.length > 30) {
-		Feng.info("经办人最多30个字符!");
+		Feng.info("人才联络员最多30个字符!");
 		return;
 	}
 	if (agentPhone==null || agentPhone=='') {
-		Feng.info("请填写经办人电话!");
+		Feng.info("请填写人才联络员电话!");
 		return;
 	}
 	if(ephone == null || ephone==''){
@@ -200,7 +200,7 @@ Register.enterpriseUserRegister = function() {
 		return;
 	}
 	if(!/((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)/.test(agentPhone)){
-		Feng.info("经办人电话格式不合法!");
+		Feng.info("人才联络员电话格式不合法!");
 		return;
 	}
 	if(!/[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/.test(agentEmail)){
@@ -292,7 +292,7 @@ Register.personUserRegister = function() {
 Register.getEnterpriseSms = function() {	
 	var agentPhone = $("#agentPhone").val();
 	if (agentPhone==null || agentPhone=="") {
-		Feng.info("请填写经办人手机号!");
+		Feng.info("请填写人才联络员手机号!");
 		return;
 	}
 	agentPhone = $.trim(agentPhone);

Some files were not shown because too many files changed in this diff