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

Merge branch 'feature/zl' into 'release'

lz-insurance

See merge request !251
......@@ -23,58 +23,6 @@
</wx-open-launch-weapp>
</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>
</template>
......@@ -86,7 +34,6 @@
export default {
data() {
return {
show: false,
person: null,
userinfo: [
......@@ -108,10 +55,9 @@
const {externalOrderNo, projectEquityNo} = this.$route.query;
this.routerInfo = this.$route.query;
that = this;
this.openWebAppConfigPositive.path = `pagesInsurance/all-entrance/index?channelSource=insurance_channel&projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}&detectionKind=1`;
console.log('-this.openWebAppConfigPositiv', this.openWebAppConfigPositive);
this.vis();
this.getDetailtxt(projectEquityNo);
this.getDetailtxt(projectEquityNo, externalOrderNo);
},
methods: {
vis() {
......@@ -147,13 +93,14 @@
}
});
},
getDetailtxt(projectEquityNo) {
getDetailtxt(projectEquityNo, externalOrderNo) {
const o = {
yunOrderNo: projectEquityNo,
pageType: 5
};
getDetailtxt(o).then(res => {
this.insuranceText = res.data;
this.openWebAppConfigPositive.path = `pagesInsurance/all-entrance/index?channelSource=insurance_channel&projectEquityNo=${projectEquityNo}&externalOrderNo=${externalOrderNo}&detectionKind=1`;
});
}
}
......@@ -173,6 +120,7 @@
bottom: 0;
width: 100vw;
background: #fff;
z-index: 1000;
padding-bottom: 27px;
.bottom-text{
padding: 10px 21px 10px 15px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册