Parcourir la source

修复游客bug

laiguoran il y a 4 ans
Parent
commit
77c3e6b9f4
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      app/view/stage/audit_modal.ejs

+ 3 - 2
app/view/stage/audit_modal.ejs

@@ -45,8 +45,9 @@
                             <ul class="list-group list-group-flush" id="auditors">
                                 <% for (let i = 0, iLen = ctx.stage.auditorList.length; i < iLen; i++) { %>
                                 <li class="list-group-item" auditorId="<%- ctx.stage.auditorList[i].aid %>">
-                                    <% if (ctx.tender.info.shenpi.stage === shenpiConst.sp_status.sqspr ||
-                                            (ctx.tender.info.shenpi.stage === shenpiConst.sp_status.gdzs && i+1 !== iLen) && ctx.session.sessionUser.accountId === ctx.stage.user_id && !ctx.tender.isTourist) { %>
+                                    <% if ((ctx.tender.info.shenpi.stage === shenpiConst.sp_status.sqspr ||
+                                            (ctx.tender.info.shenpi.stage === shenpiConst.sp_status.gdzs && i+1 !== iLen)) && ctx.session.sessionUser.accountId === ctx.stage.user_id && !ctx.tender.isTourist) { %>
+                                    <% console.log(ctx.session.sessionUser.accountId === ctx.stage.user_id && !ctx.tender.isTourist); %>
                                     <a href="javascript: void(0)" class="text-danger pull-right">移除</a>
                                     <% } %>
                                     <span><%- ctx.stage.auditorList[i].order %> <%- ctx.stage.auditorList[i].name %></span>