需求计划撤回
This commit is contained in:
parent
48a5b6d68c
commit
28bfcbb4b3
|
|
@ -175,7 +175,7 @@ function initTable() {
|
|||
let html = "";
|
||||
html += "<a onclick='planAuditDetail(" + JSON.stringify(d) + ")'>详情</a>";
|
||||
let content = getCheckStatus(d.statusType, d.status);
|
||||
if (!(content.indexOf('驳回') > -1 || content.indexOf('通过') > -1)) {
|
||||
if (!(content.indexOf('驳回') > -1 || content.indexOf('已撤回') > -1 || content.indexOf('通过') > -1)) {
|
||||
html += "<div class='splitLine'>|</div><a onclick='checkDetail(" + JSON.stringify(d) + ")'>审核</a>";
|
||||
}
|
||||
return html;
|
||||
|
|
@ -206,6 +206,9 @@ function exportExcel() {
|
|||
|
||||
//审核状态
|
||||
function getCheckStatus(statusType, status) {
|
||||
if(statusType === 0 && status === 0){
|
||||
return "<span style='color:#FF9900;margin:0 5px 0 5px;font-size:16px'>●</span>已撤回";
|
||||
}
|
||||
var company = "";
|
||||
if (statusType === 1) {
|
||||
return "<span style='color:#19BE6B;margin:0 5px 0 5px;font-size:16px;'>●</span>审核通过";
|
||||
|
|
|
|||
Loading…
Reference in New Issue