|
@@ -338,7 +338,6 @@ module.exports = app => {
|
|
ctx.session.sessionUser.accountId : null);
|
|
ctx.session.sessionUser.accountId : null);
|
|
responseData.data.cooperation = uid !== null ? await ctx.service.ledgerCooperation.getValidData(
|
|
responseData.data.cooperation = uid !== null ? await ctx.service.ledgerCooperation.getValidData(
|
|
ctx.tender.id, uid) : [];
|
|
ctx.tender.id, uid) : [];
|
|
- // responseData.data.cooperationPwd = uid !== null ? await ctx.service.cooperationPwd.getValidData(ctx.tender.id, uid) : [];
|
|
|
|
const stageTimes = (ctx.stage.status === auditConst.status.checkNo && ctx.stage.user_id !== ctx.session.sessionUser.accountId) ? ctx.stage.times - 1 : ctx.stage.times;
|
|
const stageTimes = (ctx.stage.status === auditConst.status.checkNo && ctx.stage.user_id !== ctx.session.sessionUser.accountId) ? ctx.stage.times - 1 : ctx.stage.times;
|
|
responseData.data.cooperationConfirm = uid !== null ? await ctx.service.cooperationConfirm.getValidData(ctx.tender.id, ctx.stage.id, stageTimes, uid) : [];
|
|
responseData.data.cooperationConfirm = uid !== null ? await ctx.service.cooperationConfirm.getValidData(ctx.tender.id, ctx.stage.id, stageTimes, uid) : [];
|
|
break;
|
|
break;
|
|
@@ -1839,10 +1838,6 @@ module.exports = app => {
|
|
await ctx.service.cooperationConfirm.del(data.postData);
|
|
await ctx.service.cooperationConfirm.del(data.postData);
|
|
responseData.data.cooperationConfirm = await ctx.service.cooperationConfirm.getValidData(ctx.tender.id, ctx.stage.id, ctx.stage.times, ctx.session.sessionUser.accountId);
|
|
responseData.data.cooperationConfirm = await ctx.service.cooperationConfirm.getValidData(ctx.tender.id, ctx.stage.id, ctx.stage.times, ctx.session.sessionUser.accountId);
|
|
break;
|
|
break;
|
|
- // case 'save-pwd':
|
|
|
|
- // const result = await ctx.service.cooperationPwd.save(data.postData);
|
|
|
|
- // responseData.data.cooperationPwd = await ctx.service.cooperationPwd.getValidData(ctx.tender.id, ctx.session.sessionUser.accountId);
|
|
|
|
- // break;
|
|
|
|
default:
|
|
default:
|
|
throw '参数有误';
|
|
throw '参数有误';
|
|
}
|
|
}
|