需求计划撤回
This commit is contained in:
parent
a832b70af5
commit
ae86cd779b
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue