浏览代码

移除调试打印信息

MaiXinRong 5 年之前
父节点
当前提交
9a90b6de28
共有 1 个文件被更改,包括 0 次插入3 次删除
  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) {
                 throw '您访问的期不存在';
             }
-            console.log(stageOrder);
             const stage = yield this.service.stage.getDataByCondition({
                 tid: this.tender.id,
                 order: stageOrder,
             });
-            console.log(stage);
             if (!stage) {
                 throw '期数据错误';
             }
@@ -59,7 +57,6 @@ module.exports = options => {
             // todo 校验权限 (标段参与人、分享)
             const accountId = this.session.sessionUser.accountId, auditorIds = _.map(stage.auditors, 'aid'), shareIds = [];
             if (accountId === stage.user_id) { // 原报
-                console.log(stage.status);
                 if (stage.curAuditor) {
                     stage.readOnly = stage.curAuditor.aid !== accountId;
                 } else {