Browse Source

移除调试打印信息

MaiXinRong 5 years ago
parent
commit
9a90b6de28
1 changed files with 0 additions and 3 deletions
  1. 0 3
      app/middleware/stage_check.js

+ 0 - 3
app/middleware/stage_check.js

@@ -37,12 +37,10 @@ module.exports = options => {
             if (stageOrder <= 0) {
             if (stageOrder <= 0) {
                 throw '您访问的期不存在';
                 throw '您访问的期不存在';
             }
             }
-            console.log(stageOrder);
             const stage = yield this.service.stage.getDataByCondition({
             const stage = yield this.service.stage.getDataByCondition({
                 tid: this.tender.id,
                 tid: this.tender.id,
                 order: stageOrder,
                 order: stageOrder,
             });
             });
-            console.log(stage);
             if (!stage) {
             if (!stage) {
                 throw '期数据错误';
                 throw '期数据错误';
             }
             }
@@ -59,7 +57,6 @@ module.exports = options => {
             // todo 校验权限 (标段参与人、分享)
             // todo 校验权限 (标段参与人、分享)
             const accountId = this.session.sessionUser.accountId, auditorIds = _.map(stage.auditors, 'aid'), shareIds = [];
             const accountId = this.session.sessionUser.accountId, auditorIds = _.map(stage.auditors, 'aid'), shareIds = [];
             if (accountId === stage.user_id) { // 原报
             if (accountId === stage.user_id) { // 原报
-                console.log(stage.status);
                 if (stage.curAuditor) {
                 if (stage.curAuditor) {
                     stage.readOnly = stage.curAuditor.aid !== accountId;
                     stage.readOnly = stage.curAuditor.aid !== accountId;
                 } else {
                 } else {