提交 3b1bc723 编写于 作者: 张磊's avatar 张磊

Merge branch 'feature/zl' into 'develop'

change jump page

See merge request !43
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
const ed = { const ed = {
channelSource: 'insurance_channel', channelSource: 'insurance_channel',
targetPath: 'pagesInsurance/all-entrance/index', targetPath: 'pagesInsurance/all-entrance/index',
query: {detectionRecordId:this.detectionRecordId, status: this.dataDetail.status, yunOrderNo: this.yunOrderNo}, query: {yunOrderNo: this.yunOrderNo},
}; };
getDetectionDetail(this.detectionRecordId).then((res) => { getDetectionDetail(this.detectionRecordId).then((res) => {
if (res.code === '000000') { if (res.code === '000000') {
...@@ -268,14 +268,14 @@ export default { ...@@ -268,14 +268,14 @@ export default {
const {inquiryStatus} = res.data; const {inquiryStatus} = res.data;
let n = ''; let n = '';
if(inquiryStatus == 0) { if(inquiryStatus == 0) {
ed.targetPath = '/pages/consultation-info/consultation/index'; // ed.targetPath = '/pages/consultation-info/consultation/index';
n = '报告解读'; n = '报告解读';
}else if([4, 6].includes(inquiryStatus)) { }else if([4, 6].includes(inquiryStatus)) {
n = '查看专家建议'; n = '查看专家建议';
ed.targetPath = '/pages/health/detection-detail/index'; // ed.targetPath = '/pages/health/detection-detail/index';
}else { }else {
n = '已预约待咨询'; n = '已预约待咨询';
ed.targetPath = '/pages/consultation-im/index?initTRTC=false'; // ed.targetPath = '/pages/consultation-im/index?initTRTC=false';
} }
that.openWebAppConfig.extraData = JSON.stringify(ed); that.openWebAppConfig.extraData = JSON.stringify(ed);
that.openWebAppBtnName = n; that.openWebAppBtnName = n;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册