|
@@ -234,14 +234,14 @@ $(function () {
|
|
|
sidePagination: "server", // 设置在哪里进行分页,可选值为 'client' 或者 'server'
|
|
|
showColumns: false,
|
|
|
queryParams: function (params) {
|
|
|
- return {"idCard": $("#idCard").val(), "cardType": $("#cardType").val()};
|
|
|
+ return {"idCard": $("#idCard").val(), "cardType": $("#idCard").data("type")};
|
|
|
},
|
|
|
rowStyle: function (row, index) {
|
|
|
return {css: {"word-break": "break-word", "white-space": "inherit"}}
|
|
|
},
|
|
|
columns:
|
|
|
[
|
|
|
- {title: '申报年度', field: 'year', visible: true, align: 'center', valign: 'middle', width: '80px'},
|
|
|
+ {title: '申报年度', field: 'apply_year', visible: true, align: 'center', valign: 'middle', width: '80px'},
|
|
|
{title: '企业名称', field: 'enterpriseName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "120px"},
|
|
|
{title: '姓名', field: 'name', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "120px",
|
|
|
formatter: function (value, row, index) {
|
|
@@ -253,50 +253,45 @@ $(function () {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- {title: '人才层次', field: 'talentArrangeName', visible: true, align: 'center', valign: 'middle', width: "100px"},
|
|
|
- {title: '证件号码', field: 'idCard', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "150px"},
|
|
|
- {title: '首次提交时间', field: 'firstSubmitTime', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "100px"},
|
|
|
- {title: '最新提交时间', field: 'newSubmitTime', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "100px"},
|
|
|
- {title: '审核状态', field: 'checkState', visible: true, align: 'center', valign: 'middle', width: "100px",
|
|
|
+ {title: '人才层次', field: 'talent_arrange', visible: true, align: 'center', valign: 'middle', width: "100px",
|
|
|
formatter: function (value, row, index) {
|
|
|
- if (value == -1) {
|
|
|
- return "<span class='label label-danger'>审核不通过</span>"
|
|
|
- } else if (value == 1) {
|
|
|
- return "<span class='label'>待提交</span>"
|
|
|
- } else if (value == 10) {
|
|
|
- return "<span class='label label-danger'>已驳回</span>"
|
|
|
- } else if (value == 35) {
|
|
|
- return "<span class='label label-primary'>已通过</span>"
|
|
|
- } else {
|
|
|
- return "<span class='label label-success'>审核中</span>"
|
|
|
+ switch (value) {
|
|
|
+ case 1:
|
|
|
+ return "第一层次";
|
|
|
+ case 2:
|
|
|
+ return "第二层次";
|
|
|
+ case 3:
|
|
|
+ return "第三层次";
|
|
|
+ case 4:
|
|
|
+ return "第四层次";
|
|
|
+ case 5:
|
|
|
+ return "第五层次";
|
|
|
+ case 6:
|
|
|
+ return "第六层次";
|
|
|
+ case 7:
|
|
|
+ return "第七层次";
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- {title: '公示状态', field: 'isPublic', visible: true, align: 'center', valign: 'middle', width: '120px',
|
|
|
+ {title: '证件号码', field: 'card_number', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "150px"},
|
|
|
+ {title: '首次提交时间', field: 'first_submit_time', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "100px"},
|
|
|
+ {title: '最新提交时间', field: 'new_submit_time', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: "100px"},
|
|
|
+ {title: '审核状态', field: 'checkState', visible: true, align: 'center', valign: 'middle', width: "100px",
|
|
|
formatter: function (value, row, index) {
|
|
|
- if (value == 1) {
|
|
|
- return "<span class='label label-info'>待核查征信</span>"
|
|
|
- }
|
|
|
- if (value == 2) {
|
|
|
- return "<span class='label label-success'>待公示</span>"
|
|
|
+ if ([-2, 11, 13, 15, 16, 22, 25, 27].indexOf(value) > -1) {
|
|
|
+ return "<span class='label label-danger'>" + row.checkStateName + "</span>"
|
|
|
}
|
|
|
- if (value == 3) {
|
|
|
- return "<span class='label label-danger'>公示中</span>"
|
|
|
+ if ([9, 10, 12, 14, 21, 23, 24, 26].indexOf(value) > -1) {
|
|
|
+ return "<span class='label label-success'>" + row.checkStateName + "</span>"
|
|
|
}
|
|
|
- if (value == 4) {
|
|
|
- return "<span class='label label-warning'>待公布</span>"
|
|
|
- }
|
|
|
- if (value == 5) {
|
|
|
- if (row.checkState == -1) {
|
|
|
- return "<span class='label label-danger'>审核不通过</span>"
|
|
|
- }
|
|
|
- return "<span class='label label-primary'>待发证</span>"
|
|
|
- }
|
|
|
- if (value == 6) {
|
|
|
- return "<span class='label label-primary'>已发证</span>"
|
|
|
+ if ([28].indexOf(value) > -1) {
|
|
|
+ return "<span class='label label-primary'>" + row.checkStateName + "</span>"
|
|
|
+ } else {
|
|
|
+ return "<span class='label'>" + row.checkStateName + "</span>"
|
|
|
}
|
|
|
}
|
|
|
- },
|
|
|
+ }
|
|
|
]
|
|
|
,
|
|
|
onPostBody: function () {
|