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

cookie edition

上级 f2035565
......@@ -186,7 +186,6 @@
}}
</div>
<div
v-if="!canReappoint"
class="detail-btn btn-empty reAppoint"
:class="{ 'detail-btn-all': bindFlag == 0}"
@click="reAppoint"
......@@ -211,7 +210,6 @@
class="detail-btn-bottom"
>
<div
v-if="!canReappoint"
class="detail-btn"
@click="reAppoint"
>
......@@ -281,8 +279,7 @@ export default {
},
canReappoint() {
return (
this.detailInfo.allowChangeTimes <= 0 &&
this.detailInfo.detectionKind == 1
this.detailInfo.detectionKind == 1 && this.detailInfo.allowChangeTimes > 0
);
}
},
......@@ -423,12 +420,8 @@ export default {
component_tag: '7802855#0#0#重新预约',
web_data: { yunOrderNo: this.yunOrderNo },
});
const { detectionKind } = this.insuranceInfo;
if (window._miniprogram) {
const u = detectionKind == 1 ? '/pagesInsurance/sz-insurance/appoint' : '/pagesInsurance/sz-insurance/screeningAppoint';
if(this.canReappoint) {
return false;
}
const u = this.canReappoint ? '/pagesInsurance/sz-insurance/appoint' : '/pagesInsurance/sz-insurance/screeningAppoint';
this.clear();
this.$rocNative.WXInstance.miniProgram.navigateTo({
url: `${u}?allowChangeFlagType=offline&yunOrderNo=${that.yunOrderNo}&projectEquityNo=${this.projectEquityNo}`,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册