|
|
@@ -27,12 +27,21 @@ |
|
|
|
@load="getList" |
|
|
|
> |
|
|
|
<van-swipe-cell v-for="(item,index) in applicationList" :key="index"> |
|
|
|
<van-cell :title="item.memberName" :value="item.familyStatus" center :to="{name:'familyMemberDetail', query: {id:item.id}}" > |
|
|
|
<van-cell center :to="{name:'familyMemberDetail', query: {id:item.id}}" > |
|
|
|
<template #title> |
|
|
|
{{item.memberName}} <span style="font-size: 14px;color: #1D6FE9;margin-left: 5px">{{item.phone}}</span> |
|
|
|
</template> |
|
|
|
<template #default> |
|
|
|
<p style="display: flex;flex-direction: column;align-items: center;"> |
|
|
|
<span style="color: #1D6FE9;display: block;">{{item.familyStatus}}</span> |
|
|
|
<span style="color: #1D6FE9;display: block;">{{item.sex}}</span> |
|
|
|
</p> |
|
|
|
</template> |
|
|
|
<template #icon> |
|
|
|
<van-icon name="../../../static/images/onlineHome/jtcy2.png" size="30" color="#539FFD" style="margin-right: 10px;" /> |
|
|
|
</template> |
|
|
|
<template #label> |
|
|
|
<p><b style="color: #539FFD;">{{item.idcard}}</b><i style="margin-right: 0.2rem;"></i><b style="color: #333333;">{{item.sex}}</b></p> |
|
|
|
<p><b style="color: #539FFD;">{{item.idcard}}</b></p> |
|
|
|
</template> |
|
|
|
</van-cell> |
|
|
|
</van-swipe-cell> |
|
|
@@ -105,7 +114,8 @@ export default { |
|
|
|
response.rows[i].familyStatus = this.selectDictLabel(this.familyStatus, response.rows[i].familyStatus); |
|
|
|
response.rows[i].sex = this.selectDictLabel(this.sexStatus, response.rows[i].sex); |
|
|
|
if(response.rows[i].phone !== null){ |
|
|
|
response.rows[i].familyStatus = response.rows[i].familyStatus + " "+ response.rows[i].phone; |
|
|
|
response.rows[i].familyStatus = response.rows[i].familyStatus; |
|
|
|
// + " "+ response.rows[i].phone |
|
|
|
} |
|
|
|
let res = this.parseIDCard( response.rows[i].idcard); |
|
|
|
if(res) |
|
|
@@ -208,9 +218,9 @@ export default { |
|
|
|
flex: 0.3; |
|
|
|
color: #1D6FE9; |
|
|
|
font-weight: bold; |
|
|
|
text-align: center; |
|
|
|
position: relative; |
|
|
|
left: 20px; |
|
|
|
text-align: right; |
|
|
|
display: flex; |
|
|
|
justify-content: right; |
|
|
|
} |
|
|
|
/deep/.van-swipe-cell{ |
|
|
|
margin-bottom: 0.2rem; |
|
|
|