Selaa lähdekoodia

修复变更管理员查看bug

ellisran 10 kuukautta sitten
vanhempi
commit
2fc434c649
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/controller/change_controller.js

+ 1 - 1
app/controller/change_controller.js

@@ -58,7 +58,7 @@ module.exports = app => {
             const changes = await ctx.service.change.getListByStatus(tender.id, status, 1, sorts, orders, state);
             const total = await ctx.service.change.getCountByStatus(tender.id, status, state);
             let page_total = 0;
-            const tp = await ctx.service.change.getTp(tender.id, status);
+            const tp = await ctx.service.change.getTp(tender.id, status, state);
             if (changes !== null) {
                 for (const c of changes) {
                     if (c.status !== audit.change.status.checked || !c.final_auditor_str) {