|
@@ -63,10 +63,10 @@ const tenderListSpec = (function(){
|
|
html.push('<td style="width: 15%">');
|
|
html.push('<td style="width: 15%">');
|
|
if (!node.cid && node.cur_flow) {
|
|
if (!node.cid && node.cur_flow) {
|
|
if (node.stage_status !== undefined) {
|
|
if (node.stage_status !== undefined) {
|
|
- if (node.cur_flow instanceof Array && node.cur_flow[0].audit_type !== auditType.key.common) {
|
|
|
|
|
|
+ if (node.cur_flow instanceof Array && node.cur_flow[0].audit_type && node.cur_flow[0].audit_type !== auditType.key.common) {
|
|
html.push(`<span class="${node.progress.status_class}">${node.progress.status}</span>(${transFormToChinese(node.cur_flow[0].audit_order)}审)`);
|
|
html.push(`<span class="${node.progress.status_class}">${node.progress.status}</span>(${transFormToChinese(node.cur_flow[0].audit_order)}审)`);
|
|
} else {
|
|
} else {
|
|
- html.push(`<span class="${node.progress.status_class}">${node.progress.status}</span>(${node.cur_flow.name})`);
|
|
|
|
|
|
+ html.push(`<span class="${node.progress.status_class}">${node.progress.status}</span>(${node.cur_flow instanceof Array ? node.cur_flow[0].name : node.cur_flow.name })`);
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
html.push(`<span class="${node.lastStage ? auditConst.stage.tiStatusStringClass[node.lastStage.status] : auditConst.ledger.tiStatusStringClass[node.ledger_status]}">`);
|
|
html.push(`<span class="${node.lastStage ? auditConst.stage.tiStatusStringClass[node.lastStage.status] : auditConst.ledger.tiStatusStringClass[node.ledger_status]}">`);
|