Explorar o código

修改人才直认提示

sandm %!s(int64=2) %!d(string=hai) anos
pai
achega
1f02e49afb

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

@@ -109,6 +109,7 @@
                                 </button>
                             </div>
                         </div>
+                        <p style="font-size: 20px;color: #ff00000">直认数据请先选中后再点击下方菜单“修改申报”进行操作!</p>
                         <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;添加申报
@@ -123,6 +124,7 @@
                                 <i class="fa fa-remove"></i>&nbsp;删除申报
                             </button>
                         </div>
+
                         <table id="TalentInfoTable" class="table-condensed" style="font-size: 10px;table-layout: fixed!important;" data-mobile-responsive="true" data-click-to-select="true">
                             <thead>
                                 <tr>

+ 15 - 11
public/static/modular/gate/talentInfo/new_talentInfo.js

@@ -17,7 +17,11 @@ TalentInfo.initColumn = function () {
         isShow = false;
     }
     return [
-        {field: 'selectItem', radio: true},
+        {field: 'selectItem', radio: true,formatter: function (value, row, index) {
+                if (row.isImport == 1) {
+                    return '<span style="color:#ff0000">人才直认</span>';
+                }
+            }},
         {title: '申报年度', field: 'apply_year', visible: true, align: 'center', valign: 'middle', width: '80px'},
         {title: '姓名', field: 'name', visible: true, align: 'center', valign: 'middle', width: "100px",
             formatter: function (value, row, index) {
@@ -30,16 +34,16 @@ TalentInfo.initColumn = function () {
                 }
             }
         },
-        {title: '人才类别', field: 'type', visible: true, align: 'center', valign: 'middle', width: "100px",
-            formatter: function (value, row, index) {
-                if (value == 1) {
-                    return '晋江市现代产业体系人才';
-                }
-                if (value == 2) {
-                    return '集成电路优秀人才';
-                }
-            }
-        },
+        // {title: '人才类别', field: 'type', visible: true, align: 'center', valign: 'middle', width: "100px",
+        //     formatter: function (value, row, index) {
+        //         if (value == 1) {
+        //             return '晋江市现代产业体系人才';
+        //         }
+        //         if (value == 2) {
+        //             return '集成电路优秀人才';
+        //         }
+        //     }
+        // },
         {title: '人才层次', field: 'talentArrangeName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "80px", },
         {title: '单位标签', field: 'enterpriseTagName', visible: isShow, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "80px"},
         {title: '证件号码', field: 'card_number', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "120px"},