% include ../tender/tender_sub_menu.ejs %>
创建时间 | 提交人 | 状态 | 完成时间 | 操作 | ||
---|---|---|---|---|---|---|
<%- lr.corder %> | <%- lr.in_time ? ctx.moment(lr.in_time).format('YYYY-MM-DD HH:mm:ss') : '' %> | <%- lr.user_name %> | <% if (!lr.valid) {%>作废 | <% } else { %><% if (lr.curAuditor) { %> <% const curAuditor = lr.curAuditors[0]; %> <% if (curAuditor.audit_type === auditType.key.common) { %> <%- curAuditor.name %><%if (curAuditor.role !== '' && curAuditor.role !== null) { %>-<%- curAuditor.role %><% } %> <% } else { %> <%- ctx.helper.transFormToChinese(curAuditor.audit_order) + '审' %> <% } %> <% } %> <%- auditConst.auditProgress[lr.status] %> | <% } %><%- lr.end_time ? ctx.moment(lr.end_time).format('YYYY-MM-DD') : '' %> | <% if (lr.valid) { %> <% if (lr.status === auditConst.status.uncheck && lr.uid === ctx.session.sessionUser.accountId) { %> 修订 作废 <% } else if (lr.status === auditConst.status.checking && lr.curAuditorIds && lr.curAuditorIds.indexOf(ctx.session.sessionUser.accountId) >= 0) { %> 审批 <% } else if (lr.status === auditConst.status.checkNo && lr.uid === ctx.session.sessionUser.accountId) { %> 重新上报 作废 <% } else if (lr.status !== auditConst.status.uncheck && lr.status !== auditConst.status.checked) { %> 查看修订内容 <% } %> <% } %> <% if (lr.his_id && (lr.status === auditConst.status.checked && lr.valid)) { %> 查看修订内容 <% } %> |