提交 4ee1aebd 编写于 作者: 张敬贤's avatar 张敬贤

Merge branch 'develop' of...

Merge branch 'develop' of http://192.168.110.53/com.pica.cloud.frontend/pica-insurance into feature/zjx
......@@ -224,6 +224,7 @@ export default {
},
insuranceInfo: {},
pprotocolType: '',
yunOrderNo: ''
};
},
computed: {
......@@ -234,6 +235,7 @@ export default {
if(pprotocolType && detectionRecordId && yunOrderNo) {
this.pprotocolType = pprotocolType;
this.detectionRecordId = detectionRecordId;
this.yunOrderNo = yunOrderNo;
this.getProtocolName();
this.getRecordInfo(detectionRecordId);
this.getDetectionName(yunOrderNo);
......@@ -392,7 +394,7 @@ export default {
{
path: '/insuranceBindCodeSuccess',
query: {
projectId: this.projectId,
yunOrderNo: this.yunOrderNo,
detectionRecordId: this.detectionRecordId
},
}
......
......@@ -99,12 +99,14 @@ export default {
background: '',
},
dataDetail: {},
detectionRecordId: ''
detectionRecordId: '',
yunOrderNo: ''
};
},
created() {
const {detectionRecordId} = this.$route.query;
const {detectionRecordId, yunOrderNo} = this.$route.query;
this.detectionRecordId = detectionRecordId;
this.yunOrderNo = yunOrderNo;
this.init();
},
mounted() {
......@@ -125,6 +127,7 @@ export default {
path: '/insuranceDetectionDetail',
query: {
detectionRecordId: this.detectionRecordId,
yunOrderNo: this.yunOrderNo
},
});
},
......
......@@ -241,11 +241,14 @@ export default {
path:'pagesInsurance/all-entrance/index', // 打开页面
extraData: JSON.stringify({})
},
openWebAppBtnName: '报告解读'
openWebAppBtnName: '报告解读',
yunOrderNo: ''
};
},
created() {
this.detectionRecordId = this.$route.query.detectionRecordId;
const {detectionRecordId, yunOrderNo} = this.$route.query;
this.detectionRecordId = detectionRecordId;
this.yunOrderNo = yunOrderNo;
this.init();
},
mounted() {
......@@ -256,8 +259,7 @@ export default {
const ed = {
channelSource: 'insurance_channel',
targetPath: 'pagesInsurance/all-entrance/index',
query: {detectionRecordId:this.detectionRecordId, status: this.dataDetail.status},
fromOriginPage:'insuranceDetectionDetail',
query: {yunOrderNo: this.yunOrderNo},
};
getDetectionDetail(this.detectionRecordId).then((res) => {
if (res.code === '000000') {
......@@ -266,14 +268,14 @@ export default {
const {inquiryStatus} = res.data;
let n = '';
if(inquiryStatus == 0) {
ed.targetPath = '/pages/consultation-info/consultation/index';
// ed.targetPath = '/pages/consultation-info/consultation/index';
n = '报告解读';
}else if([4, 6].includes(inquiryStatus)) {
n = '查看专家建议';
ed.targetPath = '/pages/health/detection-detail/index';
// ed.targetPath = '/pages/health/detection-detail/index';
}else {
n = '已预约待咨询';
ed.targetPath = '/pages/consultation-im/index?initTRTC=false';
// ed.targetPath = '/pages/consultation-im/index?initTRTC=false';
}
that.openWebAppConfig.extraData = JSON.stringify(ed);
that.openWebAppBtnName = n;
......@@ -322,7 +324,7 @@ export default {
if(this.picaWechat == 'wechat') {
return false;
}
const p = {params:{path:'pagesInsurance/all-entrance/index', query:{channelSource:'insurance_channel', detectionRecordId:this.detectionRecordId, status: this.dataDetail.status }}, type: 2};
const p = {params:{path:'pagesInsurance/all-entrance/index', query:`yunOrderNo=${this.yunOrderNo}&channelSource=insurance_channel`}, type: 2};
getJumpToWebapp(p).then(res => {
console.log('--res', res);
if(res.data) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册