Kaynağa Gözat

修复测试bug

ellisran 1 yıl önce
ebeveyn
işleme
2e206f59ec

+ 3 - 3
app/view/change/apply.ejs

@@ -99,12 +99,12 @@
                             </td>
                             <td class="<%- auditConst.auditProgressClass[c.status] %>">
                                 <% if (c.status === auditConst.status.checked && c.final_auditor_str) { %>
-                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.cid %>"><%- c.final_auditor_str %></a>
+                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.id %>"><%- c.final_auditor_str %></a>
                                 <% } else if (c.curAuditors.length > 0) { %>
                                 <% if (c.curAuditors[0].audit_type === auditType.key.common) { %>
-                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.cid %>"><%- c.curAuditors[0].name %><%if (c.curAuditors[0].role !== '' && c.curAuditors[0].role !== null) { %>-<%- c.curAuditors[0].role %><% } %></a>
+                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.id %>"><%- c.curAuditors[0].name %><%if (c.curAuditors[0].role !== '' && c.curAuditors[0].role !== null) { %>-<%- c.curAuditors[0].role %><% } %></a>
                                 <% } else { %>
-                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.cid %>"><%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %></a>
+                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.id %>"><%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %></a>
                                 <% } %>
                                 <% } %>
                                 <%- auditConst.auditProgress[c.status] %>

+ 3 - 3
app/view/change/plan.ejs

@@ -98,12 +98,12 @@
                             </td>
                             <td class="<%- auditConst.auditProgressClass[c.status] %>">
                                 <% if (c.status === auditConst.status.checked && c.final_auditor_str) { %>
-                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.cid %>"><%- c.final_auditor_str %></a>
+                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.id %>"><%- c.final_auditor_str %></a>
                                 <% } else if (c.curAuditors.length > 0) { %>
                                 <% if (c.curAuditors[0].audit_type === auditType.key.common) { %>
-                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.cid %>"><%- c.curAuditors[0].name %><%if (c.curAuditors[0].role !== '' && c.curAuditors[0].role !== null) { %>-<%- c.curAuditors[0].role %><% } %></a>
+                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.id %>"><%- c.curAuditors[0].name %><%if (c.curAuditors[0].role !== '' && c.curAuditors[0].role !== null) { %>-<%- c.curAuditors[0].role %><% } %></a>
                                 <% } else { %>
-                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.cid %>"><%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %></a>
+                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.id %>"><%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %></a>
                                 <% } %>
                                 <% } %>
                                 <%- auditConst.auditProgress[c.status] %>

+ 3 - 3
app/view/change/project.ejs

@@ -96,12 +96,12 @@
                             </td>
                             <td class="<%- auditConst.auditProgressClass[c.status] %>">
                                 <% if (c.status === auditConst.status.checked && c.final_auditor_str) { %>
-                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.cid %>"><%- c.final_auditor_str %></a>
+                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.id %>"><%- c.final_auditor_str %></a>
                                 <% } else if (c.curAuditors.length > 0) { %>
                                 <% if (c.curAuditors[0].audit_type === auditType.key.common) { %>
-                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.cid %>"><%- c.curAuditors[0].name %><%if (c.curAuditors[0].role !== '' && c.curAuditors[0].role !== null) { %>-<%- c.curAuditors[0].role %><% } %></a>
+                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.id %>"><%- c.curAuditors[0].name %><%if (c.curAuditors[0].role !== '' && c.curAuditors[0].role !== null) { %>-<%- c.curAuditors[0].role %><% } %></a>
                                 <% } else { %>
-                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.cid %>"><%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %></a>
+                                <a href="#sp-list" data-toggle="modal" data-target="#sp-list" c-id="<%- c.id %>"><%- ctx.helper.transFormToChinese(c.curAuditors[0].audit_order) + '审' %></a>
                                 <% } %>
                                 <% } %>
                                 <%- auditConst.auditProgress[c.status] %>