Browse Source

去掉集成电路人才直认提示

sandm 1 year ago
parent
commit
c454005ed6
2 changed files with 3 additions and 1 deletions
  1. 1 1
      app/enterprise/controller/Talent.php
  2. 2 0
      app/enterprise/view/talent/newIndex.html

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

@@ -31,7 +31,7 @@ class Talent extends EnterpriseController {
         if ($isMix == 1) {
             $tpl = "newIndex";
         }
-        return view($tpl);
+        return view($tpl,['type'=>session("user")['type']]);
     }
 
     public function list() {

+ 2 - 0
app/enterprise/view/talent/newIndex.html

@@ -109,7 +109,9 @@
                                 </button>
                             </div>
                         </div>
+                        {if condition="$type == 1"}
                         <p style="font-size: 20px;color: #ff0000">直认数据请先选中后再点击下方菜单“修改申报”进行操作!</p>
+                        {/if}
                         <div class="hidden-xs" id="TalentInfoTableToolbar" role="group">
                             <button type="button" class="btn btn-sm btn-primary " onclick="TalentInfo.addTalentInfo()" id="">
                                 <i class="fa fa-plus"></i>&nbsp;添加申报