浏览代码

状态调整

ellisran 1 年之前
父节点
当前提交
2ed10c47b1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/view/change/index.ejs

+ 1 - 1
app/view/change/index.ejs

@@ -125,7 +125,7 @@
                                 <% if (curAudit.status === auditConst.status.checking) { %>
                                 <a href="<%- '/tender/' + ctx.tender.id + '/change/' + c.cid %>/information" class="btn <%- auditConst.statusButtonClass[c.status] %> btn-sm"><%- auditConst.statusButton[c.status] %></a>
                                 <% } else { %>
-                                <span class="<%- auditConst.auditStringClass[curAudit.status] %>"><%- auditConst.auditString[curAudit.status] %></span>
+                                <span class="<%- auditConst.auditStringClass[c.status] %>"><%- auditConst.auditString[c.status] %></span>
                                 <% } %>
                             <% } else if (c.status === auditConst.status.checkNoPre && c.curAuditor2 && c.curAuditor2.findIndex(x => { return x.uid === ctx.session.sessionUser.accountId; }) >= 0) { %>
                                 <% const curAudit = c.curAuditors2.find(x => { return x.uid === ctx.session.sessionUser.accountId; }); %>