【关于消保部金掌桂续期管理清单状态优化需求的申请】增加标识功能包括 客户清单、续期应收清单

This commit is contained in:
liyuetong
2022-01-29 16:08:49 +08:00
committed by li.yuetong
parent 4114e1d877
commit b759821675
2 changed files with 35 additions and 4 deletions

View File

@@ -36,6 +36,8 @@
</div>
<div class="dataLine grayText">
<span class="data-text">投保人:</span><span class="ml10">{{ item.appntName }}</span>
<!-- contFlag 递归保单标识 1 M 01 -->
<van-button v-if="item.contFlag == '1'&& branchTypeVal == 'G'" color="red" plain hairline size="small" class="ml130" type="primary">递归保单</van-button>
</div>
<div class="dataLine grayText">
<span class="data-text">被保人:</span><span class="ml10">{{ item.insuredName }}</span>
@@ -77,6 +79,8 @@
</p>
<p class="invalidLine fs14">
<span class="data-text-invalid">投保人:</span><span class="ml10">{{ item.appntName }}</span>
<!-- contFlag 递归保单标识 1 M 01 -->
<van-button v-if="item.contFlag == '1' && branchTypeVal == 'G'" color="red" plain hairline size="small" class="ml130" type="primary">递归保单</van-button>
</p>
<p class="invalidLine fs14">
<span class="data-text-invalid">被保人:</span><span class="ml10">{{ item.insuredName }}</span>
@@ -119,15 +123,17 @@
</div>
</template>
<script>
import { Sticky, Tabs, Tab, Col, Row, Search, Field, List, Icon, Cell, CellGroup, DatetimePicker, Popup } from 'vant'
import { Sticky, Button, Tabs, Tab, Col, Row, Search, Field, List, Icon, Cell, CellGroup, DatetimePicker, Popup } from 'vant'
import FieldDatePicter from '@/components/ebiz/FieldDatePicter'
import { getList, getInvalidOrderList } from '@/api/ebiz/renewalManage/renewalManage'
import formatDate from '@/assets/js/utils/date-utils'
import { getAgentInfo } from '@/api/ebiz/my/my.js'
export default {
name: 'renewalManageList',
components: {
[Field.name]: Field,
[Button.name]: Button,
[Tabs.name]: Tabs,
[Tab.name]: Tab,
[Col.name]: Col,
@@ -144,6 +150,7 @@ export default {
},
data() {
return {
branchTypeVal: '', //个险渠道G 中介渠道Z
selectTime: false,
currentDate: new Date(),
loading: false,
@@ -181,6 +188,14 @@ export default {
}
},
created() {
getAgentInfo({}).then(res => {
// branchType N1、1代表个险渠道 和 N5、5 代表中介渠道N代表内勤
if (res.branchType == 'N1' || res.branchType == '1') {
this.branchTypeVal = 'G'
} else if (res.branchType == 'N5' || res.branchType == '5') {
this.branchTypeVal = 'Z'
}
})
document.title = '续期应收清单'
this.getpolicyList()
},

View File

@@ -4,8 +4,10 @@
<van-tabs v-model="active">
<van-tab title="有效">
<div v-if="list.length > 0">
<div class="fs12" style="border-bottom: 1px solid #d7d7d7;" v-for="(item, index) in list" :key="index">
<div class="fs12 relative" style="border-bottom: 1px solid #d7d7d7;" v-for="(item, index) in list" :key="index">
<div class="bg-white pv15 pr15 pl10" @click="goToDetail(item.policyNo)">
<!-- contFlag 递归保单标识 1 M 01 -->
<van-button v-if="item.contFlag == '1'&& branchTypeVal == 'G'" color="red" plain hairline size="small" class="absolute top70 right20" type="primary">递归保单</van-button>
<cellLine :text="item.riskName" size="large"></cellLine>
<cellLine title="保单号" dwidth="0" :text="item.policyNo" fontColor="#7d7e80" size="small"></cellLine>
<cellLine title="投保人" :text="item.appntName"></cellLine>
@@ -24,8 +26,10 @@
</van-tab>
<van-tab title="终止">
<div v-if="invalidList.length > 0">
<div class="fs12" style="border-bottom: 1px solid #d7d7d7;" v-for="(item, index) in invalidList" :key="index">
<div class="fs12 relative" style="border-bottom: 1px solid #d7d7d7;" v-for="(item, index) in invalidList" :key="index">
<div class="bg-white pv15 pr15 pl10" @click="goToDetail(item.policyNo)">
<!-- contFlag 递归保单标识 1 M 01 -->
<van-button v-if="item.contFlag == '1'&& branchTypeVal == 'G'" color="red" plain hairline size="small" class="absolute top70 right20" type="primary">递归保单</van-button>
<cellLine :text="item.riskName" size="large"></cellLine>
<cellLine title="保单号" dwidth="0" :text="item.policyNo" fontColor="#7d7e80" size="small"></cellLine>
<cellLine title="投保人" :text="item.appntName"></cellLine>
@@ -48,13 +52,16 @@
</template>
<script>
import { Search, List, Tab, Tabs, Tag, Row, Col } from 'vant'
import { Search,Button, List, Tab, Tabs, Tag, Row, Col } from 'vant'
import { getPolicyList } from '@/api/ebiz/renewalManage/renewalManage'
import { openLoading, closeLoading } from '@/assets/js/utils/toastLoading.js'
import cellLine from './compontents/cellLine'
import { getAgentInfo } from '@/api/ebiz/my/my.js'
export default {
data() {
return {
branchTypeVal: '', //个险渠道G 中介渠道Z
// 搜索框
titleList: ['有效', '失效/终止'],
lineWidth: 45,
@@ -69,6 +76,14 @@ export default {
}
},
created() {
getAgentInfo({}).then(res => {
// branchType N1、1代表个险渠道 和 N5、5 代表中介渠道N代表内勤
if (res.branchType == 'N1' || res.branchType == '1') {
this.branchTypeVal = 'G'
} else if (res.branchType == 'N5' || res.branchType == '5') {
this.branchTypeVal = 'Z'
}
})
let that = this
// 获取表单列表
this.customerInfo = JSON.parse(localStorage.getItem('customerInfo'))
@@ -128,6 +143,7 @@ export default {
components: {
cellLine,
[Search.name]: Search,
[Button.name]: Button,
[List.name]: List,
[Tab.name]: Tab,
[Tabs.name]: Tabs,