|
@@ -1,7 +1,9 @@
|
|
<div class="contarl-box">
|
|
<div class="contarl-box">
|
|
<% if (ctx.stage.status === auditConst.status.uncheck) { %>
|
|
<% if (ctx.stage.status === auditConst.status.uncheck) { %>
|
|
- <% if (ctx.session.sessionUser.accountId === ctx.stage.user_id) {%>
|
|
|
|
|
|
+ <% if (ctx.session.sessionUser.accountId === ctx.stage.user_id && ctx.stage.check_detail === 0) { %>
|
|
<a href="javascript: void(0);" data-toggle="modal" data-target="#sub-sp" class="btn btn-primary btn-sm btn-block">上报审批</a>
|
|
<a href="javascript: void(0);" data-toggle="modal" data-target="#sub-sp" class="btn btn-primary btn-sm btn-block">上报审批</a>
|
|
|
|
+ <% } else if (ctx.session.sessionUser.accountId === ctx.stage.user_id && ctx.stage.check_detail === 1) {%>
|
|
|
|
+ <a href="javascript: void(0);" data-toggle="modal" data-target="#sub-sp3" class="btn btn-primary btn-sm btn-block">上报审批</a>
|
|
<% } %>
|
|
<% } %>
|
|
<% } else if (ctx.stage.status === auditConst.status.checking) { %>
|
|
<% } else if (ctx.stage.status === auditConst.status.checking) { %>
|
|
<% if (ctx.stage.curAuditor && ctx.stage.curAuditor.aid === ctx.session.sessionUser.accountId) { %>
|
|
<% if (ctx.stage.curAuditor && ctx.stage.curAuditor.aid === ctx.session.sessionUser.accountId) { %>
|