提交 8f4348f7 编写于 作者: 张敬贤's avatar 张敬贤

fix

上级 a221c378
...@@ -443,11 +443,6 @@ export default { ...@@ -443,11 +443,6 @@ export default {
}; };
appointment(data).then(res => { appointment(data).then(res => {
if (res.code === '000000') { if (res.code === '000000') {
if (window.miniProgram) {
this.$rocNative.WXInstance.miniProgram.navigateTo({
url:'/pagesInsurance/appoint-details/index?yunOrderNo=' + this.yunOrderNo
});
} else {
this.$router.push({ this.$router.push({
path: '/appoint-details', path: '/appoint-details',
query: { query: {
...@@ -455,7 +450,6 @@ export default { ...@@ -455,7 +450,6 @@ export default {
} }
}); });
} }
}
}); });
}, },
......
...@@ -258,15 +258,22 @@ export default { ...@@ -258,15 +258,22 @@ export default {
}, },
bindingCode() { bindingCode() {
const {pprotocolType, detectionServiceRecordId} = this.detailInfo; const { pprotocolType, detectionServiceRecordId } = this.detailInfo;
this.$router.push({ console.log('window.miniProgram', window.miniProgram);
path: '/insuranceBindCode', if (window.miniProgram) {
query: { this.$rocNative.WXInstance.miniProgram.navigateTo({
pprotocolType, url:`/pagesInsurance/binding-code/index?yunOrderNo=${this.yunOrderNo}&detectionRecordId=${detectionServiceRecordId}&pprotocolType=${pprotocolType}`
detectionRecordId: detectionServiceRecordId, });
yunOrderNo:this.yunOrderNo } else {
} this.$router.push({
}); path: '/insuranceBindCode',
query: {
pprotocolType,
detectionRecordId: detectionServiceRecordId,
yunOrderNo:this.yunOrderNo
}
});
}
}, },
navigation() { navigation() {
this.showSsheet = true; this.showSsheet = true;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册