mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 17:46:44 +08:00
Merge branch 'dev' of http://112.124.100.131/GFRS/ebiz-h5 into dev
This commit is contained in:
@@ -244,43 +244,6 @@ export default {
|
||||
} else {
|
||||
self.save()
|
||||
}
|
||||
} else if (this.userInfo.idType == '2') {
|
||||
//户口本
|
||||
if (this.userInfo.idNo.length != 18) {
|
||||
this.$toast('户口本的证件号码长度应等于18位')
|
||||
} else {
|
||||
self.save()
|
||||
}
|
||||
} else if (this.userInfo.idType == '3') {
|
||||
//出生证
|
||||
if (this.userInfo.idNo.length < 3) {
|
||||
this.$toast('出生证须大于等于3个字符')
|
||||
} else {
|
||||
self.save()
|
||||
}
|
||||
} else if (this.userInfo.idType == '4') {
|
||||
//护照
|
||||
if (this.userInfo.idNo.length < 3) {
|
||||
this.$toast('护照须大于等于3个字符')
|
||||
} else {
|
||||
self.save()
|
||||
}
|
||||
//证件是港澳居民通行证
|
||||
} else if (this.userInfo.idType == '5') {
|
||||
if (this.userInfo.idNo.length != 9) {
|
||||
this.$toast('证件类型为港澳居民通行证的,证件号码须为9位')
|
||||
} else if (!/^(H|M)[0-9]{8}$/.test(this.userInfo.idNo)) {
|
||||
this.$toast('证件类型为港澳居民通行证的,证件号码首位字母为"H"/"M",证件号码第2位至第9位为阿拉伯数字')
|
||||
} else {
|
||||
self.save()
|
||||
}
|
||||
//证件是台湾居民通行证
|
||||
} else if (this.userInfo.idType == '6') {
|
||||
if (this.userInfo.idNo.length != 8) {
|
||||
this.$toast('证件类型为台湾居民通行证的,证件号码须为8位数字')
|
||||
} else {
|
||||
self.save()
|
||||
}
|
||||
} else {
|
||||
self.save()
|
||||
}
|
||||
|
||||
@@ -142,6 +142,7 @@ export default {
|
||||
SDPB: '310',
|
||||
SHB: '7006',
|
||||
CITIC: '302',
|
||||
PSBC: '7008',
|
||||
CIB: '309'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,6 +56,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="NewItems.length == 0" class="list text-center">
|
||||
<img :src="src" />
|
||||
<div class="mt20">暂无数据</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else class="list text-center">
|
||||
<img :src="src" />
|
||||
@@ -111,9 +115,16 @@ export default {
|
||||
// 获取保单列表
|
||||
getpolicyListAgent() {
|
||||
let data = {}
|
||||
this.$toast.loading({
|
||||
duration: 0, // 持续展示 toast
|
||||
forbidClick: false, // 禁用背景点击
|
||||
loadingType: 'spinner',
|
||||
message: '列表数据加载中……'
|
||||
})
|
||||
getpolicyListAgent(data).then(res => {
|
||||
//orderStatus 1 承保 0 核保 4终止
|
||||
if (res.result == '0') {
|
||||
this.$toast.clear()
|
||||
//过滤掉 核保状态的数据 只展示承保和终止的保单
|
||||
res.policyListDTOList.reverse()
|
||||
this.policyListDTOList = res.policyListDTOList
|
||||
|
||||
Reference in New Issue
Block a user