|
@@ -480,7 +480,7 @@ module.exports = app => {
|
|
|
const shenpiUrl = await this.ctx.helper.urlToShort(
|
|
const shenpiUrl = await this.ctx.helper.urlToShort(
|
|
|
this.ctx.protocol + '://' + this.ctx.host + '/wap/tender/' + revise.tid + '/revise/' + revise.id + '/info'
|
|
this.ctx.protocol + '://' + this.ctx.host + '/wap/tender/' + revise.tid + '/revise/' + revise.id + '/info'
|
|
|
);
|
|
);
|
|
|
- const weappPagePath = `/pages/message-entry/index?tenderId=${this.ctx.tender.id}&tenderName=${this.ctx.tender.data.name}&type=revise&targetCode=${this.ctx.session.sessionProject.code}`
|
|
|
|
|
|
|
+ const weappPagePath = `/pages/message-entry/index?tenderId=${this.ctx.tender.id}&tenderName=${this.ctx.tender.data.name}&type=revise&dataId=${revise.id}&targetCode=${this.ctx.session.sessionProject.code}`
|
|
|
const wechatData = {
|
|
const wechatData = {
|
|
|
wap_url: shenpiUrl,
|
|
wap_url: shenpiUrl,
|
|
|
weapp_page: weappPagePath,
|
|
weapp_page: weappPagePath,
|
|
@@ -607,7 +607,7 @@ module.exports = app => {
|
|
|
await transaction.updateRows(this.tableName, updateOther);
|
|
await transaction.updateRows(this.tableName, updateOther);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- const weappPagePath = `/pages/message-entry/index?tenderId=${this.ctx.tender.id}&tenderName=${this.ctx.tender.data.name}&type=revise&targetCode=${this.ctx.session.sessionProject.code}`
|
|
|
|
|
|
|
+ const weappPagePath = `/pages/message-entry/index?tenderId=${this.ctx.tender.id}&tenderName=${this.ctx.tender.data.name}&type=revise&dataId=${revise.id}&targetCode=${this.ctx.session.sessionProject.code}`
|
|
|
// 无下一审核人表示,审核结束
|
|
// 无下一审核人表示,审核结束
|
|
|
if (nextAuditors.length > 0) {
|
|
if (nextAuditors.length > 0) {
|
|
|
const nextAuditUpdateData = nextAuditors.map(x => { return { id: x.id, status: auditConst.status.checking, begin_time: time }});
|
|
const nextAuditUpdateData = nextAuditors.map(x => { return { id: x.id, status: auditConst.status.checking, begin_time: time }});
|
|
@@ -773,7 +773,7 @@ module.exports = app => {
|
|
|
const shenpiUrl = await this.ctx.helper.urlToShort(
|
|
const shenpiUrl = await this.ctx.helper.urlToShort(
|
|
|
this.ctx.protocol + '://' + this.ctx.host + '/wap/tender/' + revise.tid + '/revise/' + revise.id + '/info'
|
|
this.ctx.protocol + '://' + this.ctx.host + '/wap/tender/' + revise.tid + '/revise/' + revise.id + '/info'
|
|
|
);
|
|
);
|
|
|
- const weappPagePath = `/pages/message-entry/index?tenderId=${this.ctx.tender.id}&tenderName=${this.ctx.tender.data.name}&type=revise&targetCode=${this.ctx.session.sessionProject.code}`
|
|
|
|
|
|
|
+ const weappPagePath = `/pages/message-entry/index?tenderId=${this.ctx.tender.id}&tenderName=${this.ctx.tender.data.name}&type=revise&dataId=${revise.id}&targetCode=${this.ctx.session.sessionProject.code}`
|
|
|
|
|
|
|
|
const wechatData = {
|
|
const wechatData = {
|
|
|
wap_url: shenpiUrl,
|
|
wap_url: shenpiUrl,
|