|
@@ -1060,11 +1060,10 @@ module.exports = app => {
|
|
|
throw '台账修订中,请勿修改提交期数据';
|
|
|
}
|
|
|
|
|
|
- console.log(ctx.query);
|
|
|
if (ctx.query.confirm !== undefined && ctx.query.confirm !== '确认设置终审审批') {
|
|
|
throw '请输入正确的文本信息';
|
|
|
}
|
|
|
- if (!ctx.query.confirm) {
|
|
|
+ if (ctx.query.confirm === undefined || (!ctx.query.confirm && ctx.session.sessionUser.loginStatus === 1)) {
|
|
|
const code = ctx.query.code;
|
|
|
const pa = await ctx.service.projectAccount.getDataById(ctx.session.sessionUser.accountId);
|
|
|
const cacheKey = 'smsCode:' + ctx.session.sessionUser.accountId;
|