mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 14:52:53 +08:00
94 lines
2.8 KiB
Vue
94 lines
2.8 KiB
Vue
<template>
|
|
<div class="public_container">
|
|
<!-- 中间内容 -->
|
|
<div class="listContent">
|
|
<van-cell-group inset>
|
|
<van-cell title="保单号" :value="ybOrderDTOList.contNo" />
|
|
<van-cell title="投保人" :value="ybOrderDTOList.appntName" />
|
|
<van-cell title="投保人身份证号" :value="ybOrderDTOList.appntIdNo" />
|
|
<van-cell title="投保人年龄/周岁" :value="ybOrderDTOList.appntAge" />
|
|
<van-cell title="网点名称" :value="ybOrderDTOList.networkName" />
|
|
<van-cell title="险种名称" :value="ybOrderDTOList.riskName" />
|
|
<van-cell title="首期规模保费/元" :value="ybOrderDTOList.prem" />
|
|
<van-cell title="交费期间" :value="ybOrderDTOList.payEndYear" />
|
|
<van-cell title="保险期间" :value="ybOrderDTOList.insuYear" />
|
|
<van-cell title="保全状态" :value="ybOrderDTOList.contState" />
|
|
<van-cell title="承保日期" :value="ybOrderDTOList.signDate" />
|
|
<van-cell title="保单现金价值/元" :value="ybOrderDTOList.cashValue" />
|
|
<van-cell title="累计账户红利余额/元 (含本期)" :value="ybOrderDTOList.bonusMoney" />
|
|
<van-cell title="累计账户生存金余额/元 (含本期)" :value="ybOrderDTOList.survivalMoney" />
|
|
<van-cell title="满期生存金/元" :value="ybOrderDTOList.getMoney" />
|
|
</van-cell-group>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { ybSaveManyDetail } from '@/api/YB_APP/index'
|
|
import warterMark from "@/assets/js/utils/warterMark.js"
|
|
import { getAgentInfo } from '@/api/ebiz/my/my.js'
|
|
export default {
|
|
name: 'policyDetail',
|
|
components: {},
|
|
data() {
|
|
return {
|
|
ybOrderDTOList: '',
|
|
policyNo: ''
|
|
}
|
|
},
|
|
mounted() {
|
|
this.policyNo = this.$route.query.policyNo
|
|
console.log(this.policyNo, 'avc')
|
|
this.ybSaveManyDetail()
|
|
this.getAgentInfo()
|
|
},
|
|
methods: {
|
|
// 水印
|
|
getAgentInfo(){
|
|
getAgentInfo({}).then(res=>{
|
|
if(res.result == 0){
|
|
console.log('123')
|
|
warterMark.set(res.name+res.jobNo,"")
|
|
}
|
|
})
|
|
},
|
|
ybSaveManyDetail() {
|
|
let params = {
|
|
contNo: this.policyNo
|
|
}
|
|
console.log('我是log')
|
|
ybSaveManyDetail(params).then((res) => {
|
|
console.log(res, '我是res')
|
|
if (res.result == 0) {
|
|
this.ybOrderDTOList = res.content
|
|
console.log(this.ybOrderDTOList, '请求成功的res')
|
|
}
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.public_container {
|
|
font-size: 12px;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
}
|
|
/deep/ .van-cell__title {
|
|
color: #0a0808;
|
|
max-width: 50%;
|
|
}
|
|
/deep/ .van-cell__value {
|
|
color: #777676;
|
|
// text-align: left;
|
|
}
|
|
// /deep/ .van-cell-group >
|
|
.listContent {
|
|
width: 96%;
|
|
background-color: white;
|
|
margin: 12px auto;
|
|
overflow: hidden;
|
|
border-radius: 12px;
|
|
}
|
|
</style>
|