需求计划撤回

This commit is contained in:
cwchen 2025-03-24 14:44:17 +08:00
parent a832b70af5
commit ae86cd779b
1 changed files with 4 additions and 1 deletions

View File

@ -174,7 +174,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;
@ -205,6 +205,9 @@ function exportExcel() {
//审核状态
function getCheckStatus(statusType, status) {
var company = "";
if(statusType === '0' && status === '0'){
return "<span style='color:#FF9900;margin:0 5px 0 5px;font-size:16px'>●</span>已撤回";
}
if (statusType === '1') {
return "<span style='color:#19BE6B;margin:0 5px 0 5px;font-size:16px;'>●</span>审核通过";
} else if (statusType === '2') {