|
@@ -348,7 +348,6 @@ module.exports = app => {
|
|
|
});
|
|
|
});
|
|
|
await transaction.insert('zh_notice', records);
|
|
|
- const users = this._.pull(this._.uniq(this._.concat(this._.map(auditList, 'audit_id'), revise.uid)), audit.audit_id);
|
|
|
|
|
|
// 整理当前流程审核人状态更新
|
|
|
const time = new Date();
|
|
@@ -386,7 +385,7 @@ module.exports = app => {
|
|
|
};
|
|
|
await this.ctx.helper.sendWechat(nextAudit.audit_id, smsTypeConst.const.XD, smsTypeConst.judge.approval.toString(), wxConst.template.revise, wechatData);
|
|
|
// 其他参与人
|
|
|
- // const users = this._.pull(this._.map(auditList, 'audit_id'), audit.audit_id);
|
|
|
+ const users = this._.pull(this._.map(auditList, 'audit_id'), audit.audit_id);
|
|
|
// users.push(revise.uid);
|
|
|
// await this.ctx.helper.sendUserSms(users, smsTypeConst.const.XD,
|
|
|
// smsTypeConst.judge.result.toString(), '台账修订审批通过。');
|
|
@@ -436,7 +435,7 @@ module.exports = app => {
|
|
|
status: SmsAliConst.status.success,
|
|
|
});
|
|
|
// 其他参与人
|
|
|
- // const users = this._.pull(this._.map(auditList, 'audit_id'), audit.audit_id);
|
|
|
+ const users = this._.pull(this._.map(auditList, 'audit_id'), revise.uid);
|
|
|
// await this.ctx.helper.sendUserSms(users, smsTypeConst.const.XD,
|
|
|
// smsTypeConst.judge.result.toString(), '台账修订审批通过。');
|
|
|
await this.ctx.helper.sendAliSms(users, smsTypeConst.const.XD, smsTypeConst.judge.result.toString(), SmsAliConst.template.revise_result2, {
|