提交 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,7 +258,13 @@ export default { ...@@ -258,7 +258,13 @@ export default {
}, },
bindingCode() { bindingCode() {
const {pprotocolType, detectionServiceRecordId} = this.detailInfo; const { pprotocolType, detectionServiceRecordId } = this.detailInfo;
console.log('window.miniProgram', window.miniProgram);
if (window.miniProgram) {
this.$rocNative.WXInstance.miniProgram.navigateTo({
url:`/pagesInsurance/binding-code/index?yunOrderNo=${this.yunOrderNo}&detectionRecordId=${detectionServiceRecordId}&pprotocolType=${pprotocolType}`
});
} else {
this.$router.push({ this.$router.push({
path: '/insuranceBindCode', path: '/insuranceBindCode',
query: { query: {
...@@ -267,6 +273,7 @@ export default { ...@@ -267,6 +273,7 @@ export default {
yunOrderNo:this.yunOrderNo yunOrderNo:this.yunOrderNo
} }
}); });
}
}, },
navigation() { navigation() {
this.showSsheet = true; this.showSsheet = true;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册