提交 7ce8dccf 编写于 作者: 张磊's avatar 张磊

lz-insurance

上级 89418a79
...@@ -23,58 +23,6 @@ ...@@ -23,58 +23,6 @@
</wx-open-launch-weapp> </wx-open-launch-weapp>
</div> </div>
</div> </div>
<van-popup
v-model="show"
closeable
round
position="bottom"
:style="{ height: '500px' ,overflow:'hidden'}"
>
<div class="popup-title">
选择被保险人
</div>
<div class="popup-list">
<van-radio-group v-model="person">
<van-cell-group>
<van-cell
v-for="(item) in userinfo"
:key="item.id"
clickable
@click="person = item.name"
>
<div class="popup-list-item">
<div class="name">
{{ item.name }}
</div>
<div class="info">
<div class="phoneNum">
<span>手机号码:</span>
<span>{{ item.mobile }}</span>
</div>
<div class="idCard">
<span>身份证号:</span>
<span>{{ item.id_number }}</span>
</div>
</div>
</div>
<template #right-icon>
<van-radio :name="item.name" />
</template>
</van-cell>
</van-cell-group>
</van-radio-group>
</div>
<div class="popup-btn-box">
<van-button
class="popup-btn"
:disabled="!person"
@click="show=false
"
>
确定
</van-button>
</div>
</van-popup>
</div> </div>
</template> </template>
...@@ -86,7 +34,6 @@ ...@@ -86,7 +34,6 @@
export default { export default {
data() { data() {
return { return {
show: false,
person: null, person: null,
userinfo: [ userinfo: [
...@@ -108,10 +55,9 @@ ...@@ -108,10 +55,9 @@
const {externalOrderNo, projectEquityNo} = this.$route.query; const {externalOrderNo, projectEquityNo} = this.$route.query;
this.routerInfo = this.$route.query; this.routerInfo = this.$route.query;
that = this; that = this;
this.openWebAppConfigPositive.path = `pagesInsurance/all-entrance/index?channelSource=insurance_channel&projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}&detectionKind=1`;
console.log('-this.openWebAppConfigPositiv', this.openWebAppConfigPositive); console.log('-this.openWebAppConfigPositiv', this.openWebAppConfigPositive);
this.vis(); this.vis();
this.getDetailtxt(projectEquityNo); this.getDetailtxt(projectEquityNo, externalOrderNo);
}, },
methods: { methods: {
vis() { vis() {
...@@ -147,13 +93,14 @@ ...@@ -147,13 +93,14 @@
} }
}); });
}, },
getDetailtxt(projectEquityNo) { getDetailtxt(projectEquityNo, externalOrderNo) {
const o = { const o = {
yunOrderNo: projectEquityNo, yunOrderNo: projectEquityNo,
pageType: 5 pageType: 5
}; };
getDetailtxt(o).then(res => { getDetailtxt(o).then(res => {
this.insuranceText = res.data; this.insuranceText = res.data;
this.openWebAppConfigPositive.path = `pagesInsurance/all-entrance/index?channelSource=insurance_channel&projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}&detectionKind=1`;
}); });
} }
} }
...@@ -173,6 +120,7 @@ ...@@ -173,6 +120,7 @@
bottom: 0; bottom: 0;
width: 100vw; width: 100vw;
background: #fff; background: #fff;
z-index: 1000;
padding-bottom: 27px; padding-bottom: 27px;
.bottom-text{ .bottom-text{
padding: 10px 21px 10px 15px; padding: 10px 21px 10px 15px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册