瀏覽代碼

提交一些修改

sandm 2 年之前
父節點
當前提交
20cf9254ab

+ 6 - 0
app/admin/view/talent_condition/add.html

@@ -8,6 +8,12 @@
     }
     .rowGroup{height:50px;}
     .table td{border:1px solid #ddd;}
+    .word-wrap{
+        width:100%;
+        white-space:normal;
+        word-wrap:break-word;
+        word-break:break-all;
+    }
 </style>
 <div class="ibox float-e-margins">
     <div class="ibox-content">

+ 6 - 0
app/admin/view/talent_condition/edit.html

@@ -6,6 +6,12 @@
         padding-right:4px;
         padding-left: 4px;
     }
+    .word-wrap{
+        width:100%;
+        white-space:normal;
+        word-wrap:break-word;
+        word-break:break-all;
+    }
 </style>
 <div class="ibox float-e-margins">
     <div class="ibox-content">

+ 2 - 2
app/common/api/MenuApi.php

@@ -172,8 +172,8 @@ class MenuApi {
         $menus[] = ["type" => [1, 2, 3], "code" => "qyzx", "pcode" => "0", "name" => "机构用户中心", "url" => "/enterprise/index/centerPage", "icon" => "fa-user", "status" => 1];
         $menus[] = ["type" => [1, 2], "code" => "yhfk", "pcode" => "0", "name" => "用户反馈", "url" => "", "icon" => "fa-bug", "status" => 1];
         $menus[] = ["type" => [1, 2], "code" => "rcrd", "pcode" => "0", "name" => "人才认定", "url" => "#", "icon" => "fa-thumbs-o-up", "status" => 1];
-        $menus[] = ["type" => [1, 2], "code" => "jctjsb", "pcode" => "rcrd", "name" => "基础条件申报", "url" => "/enterprise/base", "icon" => "fa-thumbs-o-up", "status" => 1];
-        $menus[] = ["type" => [1, 2], "code" => "rcrdsb", "pcode" => "rcrd", "name" => "人才认定申报", "url" => "/enterprise/talent", "icon" => "fa-thumbs-up", "status" => 1];
+        //$menus[] = ["type" => [1, 2], "code" => "jctjsb", "pcode" => "rcrd", "name" => "基础条件申报", "url" => "/enterprise/base", "icon" => "fa-thumbs-o-up", "status" => 1];
+        //$menus[] = ["type" => [1, 2], "code" => "rcrdsb", "pcode" => "rcrd", "name" => "人才认定申报", "url" => "/enterprise/talent", "icon" => "fa-thumbs-up", "status" => 1];
         $menus[] = ["type" => [1, 2], "code" => "rcrdsbnew", "pcode" => "rcrd", "name" => "人才认定申报(新)", "url" => "/enterprise/talent/index/isMix/1", "icon" => "fa-thumbs-up", "status" => 1];
         //$menus[] = ["type" => [1, 2], "code" => "rczrzlbc", "pcode" => "rcrd", "name" => "人才直认资料补充", "url" => "/enterprise/talent/zrIndex", "icon" => "fa-thumbs-up", "status" => 1];
         $menus[] = ["type" => [1, 2], "code" => "yxrck", "pcode" => "rcrd", "name" => "优秀人才库", "url" => "", "icon" => "fa-thumbs-up", "status" => 1];

+ 2 - 2
public/static/modular/talentIdentify/identifyCondition/identifyCondition_info.js

@@ -271,7 +271,7 @@ IdentifyConditionInfoDlg.buildRelationTable = function (companyIds, bindFileType
         } else {
             let newTr = "";
             let companyName = $("#companyIds option[value='" + companyId + "']").text();
-            newTr = '<tr data-id="' + companyId + '"><td style="width:10%;">' + companyName + '</td><td style="width:90%"><ul>';
+            newTr = '<tr data-id="' + companyId + '"><td style="width:10%;" class="word-wrap">' + companyName + '</td><td style="width:90%"><ul>';
             for (let n in bindFileTypes) {
                 let fileType = bindFileTypes[n];
                 let typename = $("#bindFileTypes option[value='" + fileType + "']").text();
@@ -283,7 +283,7 @@ IdentifyConditionInfoDlg.buildRelationTable = function (companyIds, bindFileType
                     $("input[type=checkbox][value='" + fileType + "']").prop("disabled", true);
                 }
                 let disabled = $("input[type=checkbox][value='" + fileType + "']:checked").length > 0 ? "disabled" : "";
-                newTr += '<li><label for="relation[' + companyId + ']">' + typename + '</label><input type="checkbox" data-company-id="' + companyId + '" value="' + fileType + '" ' + checked + " " + disabled + ' onchange="IdentifyConditionInfoDlg.onCheckChange(this);"></li>';
+                newTr += '<li class="word-wrap"><label for="relation[' + companyId + ']">' + typename + '</label><input type="checkbox" data-company-id="' + companyId + '" value="' + fileType + '" ' + checked + " " + disabled + ' onchange="IdentifyConditionInfoDlg.onCheckChange(this);"></li>';
             }
             newTr += '</ul></td></tr>'
             $("#relationTable tbody").append(newTr);