|
@@ -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 {
|