FM20250523024-银保非实时单金掌桂投保系统需求

This commit is contained in:
liuhuiying
2025-07-03 09:20:41 +08:00
parent cdd5ac826a
commit 3591bce7a4
2 changed files with 23 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
<!-- 保单信息 -->
<van-collapse-item title="投保单信息" name="1" class="pb10 pt10">
<van-cell-group>
<van-cell title="网点名称" :value="branchName" v-if="branchType == 14"/>
<van-cell title="投保单号" :value="OrderInfoDTO.orderNo" />
<van-cell title="投保日期" :value="OrderInfoDTO.appntDateLabel" />
<van-cell title="订单状态" :value="OrderInfoDTO.orderStatus | orderStatusFilter" />
@@ -114,6 +115,9 @@ import { getDetail } from '@/api/ebiz/sale/sale'
import { formatAllRisk } from '@/assets/js/utils/formatRiskList'
import dataDictionary from '@/assets/js/utils/data-dictionary'
import { getQuestionList } from '@/api/ebiz/questions'
import { getAgentInfo } from '@/api/ebiz/my/my'
import { getCheckModelAgentInfo } from '@/api/ebiz/common/common'
export default {
data() {
return {
@@ -132,17 +136,19 @@ export default {
contNo: '',
list: [],
reason: '',
problemList: []
problemList: [],
branchName: '',
}
},
created() {
this.getAgentInfo()
// 获取保单详情
this.getPolicyDetail()
},
mounted() {
if(window.localStorage.getItem('branchType') == '13') {
this.branchType = '13'
}
}
},
components: {
[Collapse.name]: Collapse,
@@ -152,6 +158,19 @@ export default {
[Button.name]: Button
},
methods: {
async getAgentInfo() {
const result = await getAgentInfo({})
if (result.result == '0') {
this.branchType = result.branchType || window.localStorage.getItem('branchType')
if (this.branchType == '14') {
// 网点名称
const res = await getCheckModelAgentInfo({})
if (res.result == 0) {
this.branchName = res.comName
}
}
}
},
// 获取保单详情
async getPolicyDetail() {
let data = {

View File

@@ -55,14 +55,14 @@
<span class="c-gray-darker fwb">首期总保费</span>
<span class="yellow fwb">{{ order.firstPrem == 0 ? '0.00' : order.firstPrem | moneyFormat }}</span>
</div>
<div class="pt15" v-if="active == 'commit' || active == 'waitUnderwritten'" style="border-top:1px solid #dadada">
<div class="pt15" style="border-top:1px solid #dadada">
<div>
<div class="w80 inline-b">
<van-tag plain color="#999999">投保单号</van-tag>
</div>
<span class="fs14 c-gray-dark">{{ order.orderInfoDTO.orderNo }}</span>
</div>
<div class="mt10">
<div class="mt10" v-if="active == 'commit' || active == 'waitUnderwritten'" >
<div class="w80 inline-b">
<van-tag plain color="#999999">状态</van-tag>
</div>