Browse Source

更改一些说明表述

sandm 2 năm trước cách đây
mục cha
commit
1935d79a1f

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

@@ -30,7 +30,7 @@ class Talent extends AdminController {
         $request = $this->request;
         $params = $request->param();
         $id = $params["id"];
-        $info = VerifyApi::getTalentInfoById($id);
+        $info = VerifyApi::getTalentInfoById($id,true);
         if (in_array($info["checkState"], [TalentState::BASE_VERIFY_FAIL, TalentState::FST_SUBMIT, TalentState::BASE_VERIFY_PASS, TalentState::BASE_REVERIFY_REJECT, TalentState::BASE_REVERIFY_FAIL])) {
             return view("talentInfo_base_check", ["info" => $info]);
         } else {

+ 11 - 7
app/common/api/VerifyApi.php

@@ -16,7 +16,7 @@ use app\common\model\TalentCondition;
  */
 class VerifyApi {
 
-    public static function getTalentInfoById($id) {
+    public static function getTalentInfoById($id,$isAdmin = false) {//添加admin只为区别导入数据管理端的显示差异
         $where = [];
         $where[] = ["id", "=", $id];
         $info = Talent::findOrEmpty($id)->toArray();
@@ -82,9 +82,11 @@ class VerifyApi {
                 if (strtotime($timeStart)) {
                     $tmp_time = date("Y-m-d", strtotime($timeStart));
                     $qz_talent_info[1] = implode(":", [$tmp1, $tmp_time]);
-                    $batch_info = NoticeModel::where('batch',$tmp_time)->find();
-                    if($batch_info){
-                        $qz_talent_info[1] = "<a target='_blank' href='/common/notice/view/id/" . $batch_info['id'] ."'>".$qz_talent_info[1]."</a>";
+                    if($isAdmin){
+                        $batch_info = NoticeModel::where('batch',$tmp_time)->find();
+                        if($batch_info){
+                            $qz_talent_info[1] = "<a target='_blank' href='/common/notice/view/id/" . $batch_info['id'] ."'>".$qz_talent_info[1]."</a>";
+                        }
                     }
                 }
                 if (strtotime($timeEnd)) {
@@ -100,9 +102,11 @@ class VerifyApi {
                 if (strtotime($timeStart)) {
                     $tmp_time = date("Y-m-d", strtotime($timeStart));
                     $fj_talent_info[0] = implode(":", [$tmp1, $tmp_time]);
-                    $batch_info = NoticeModel::where('batch',$tmp_time)->find();
-                    if($batch_info){
-                        $fj_talent_info[0] = "<a target='_blank' href='/common/notice/view/id/" . $batch_info['id'] ."'>".$fj_talent_info[0]."</a>";
+                    if($isAdmin){
+                        $batch_info = NoticeModel::where('batch',$tmp_time)->find();
+                        if($batch_info){
+                            $fj_talent_info[0] = "<a target='_blank' href='/common/notice/view/id/" . $batch_info['id'] ."'>".$fj_talent_info[0]."</a>";
+                        }
                     }
                     if (strtotime($validYear)) {
                         $fj_talent_info[2] = implode(":", [$tmp2, date("Y-m-d", strtotime($validYear))]);

+ 1 - 1
app/common/view/auth/enterprise_edit.html

@@ -283,7 +283,7 @@
                                             <td>
                                                 <div class="rowGroup">
                                                     <label class="control-label spacing td-label"><span style="color: red">*</span>人才联络员手机号</label>
-                                                    <input autocomplete="off" type="text" class="form-control" id="agentPhone" name="agentPhone" value="{$ep.agentPhone}" readonly disabled  placeholder="用于找回密码" />
+                                                    <input autocomplete="off" type="text" class="form-control" id="agentPhone" name="agentPhone" value="{$ep.agentPhone}"  placeholder="用于找回密码" />
                                                 </div>
                                             </td>
                                             <td>

BIN
public/static/downloadFile/directly_identify_enterprise_template.xlsx


BIN
public/static/downloadFile/directly_identify_fj_talent_template.xlsx


BIN
public/static/downloadFile/directly_identify_qz_talent_template.xlsx


BIN
public/static/downloadFile/directly_identify_talent_template.xlsx