|
@@ -215,12 +215,11 @@ TalentAllowanceInfoDlg.initFileTypeColumn = function () {
|
|
|
{field: 'selectItem', checkbox: false, visible: false},
|
|
|
{title: '名称', field: 'name', visible: true, align: 'center', valign: 'middle', width: "52%", 'class': 'uitd_showTip',
|
|
|
formatter: function (value, row, index) {
|
|
|
- if (row.must == 1) {
|
|
|
+ var postType = $("#postType").val();
|
|
|
+ if (row.must == 1 && (typeof postType == "undefined" || postType != 8)) {
|
|
|
return '<i class="fa fa-paste"></i><span style="font-weight:bold;color:red;font-size:14px;font-family:宋体"> * </span> ' + value;
|
|
|
}
|
|
|
- if (row.must == 2) {
|
|
|
- return '<i class="fa fa-paste"></i>' + value;
|
|
|
- }
|
|
|
+ return '<i class="fa fa-paste"></i>' + value;
|
|
|
}
|
|
|
},
|
|
|
{title: '模板', field: 'templateUrl', visible: true, align: 'center', valign: 'middle', width: "8%",
|
|
@@ -578,7 +577,6 @@ TalentAllowanceInfoDlg.createCheckHtml = function () {
|
|
|
if ($("#institution option").length > 0) {
|
|
|
html += '<li style="width: 100%"><input type="checkbox" value="institution"><span>所属编制</span></li>';
|
|
|
}
|
|
|
- html += '<li style="width: 100%"><input type="checkbox" value="postdoc"><span>是否在站博士后</span></li>';
|
|
|
html += '</ul></div>';
|
|
|
} else {
|
|
|
html = html +
|