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

cookie edition

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