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

fix

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