【金掌桂父母津贴】使用不符合津贴申请条件的账号登录,点击津贴申请,无规则校验提示

This commit is contained in:
liyuetong
2021-09-26 13:29:07 +08:00
committed by zhangqi1
parent 4a2a54ff70
commit 6ac9e4db87
4 changed files with 19 additions and 16 deletions

View File

@@ -111,7 +111,7 @@
</van-collapse-item>
<!-- 签名信息 结束 -->
<!-- 审批结论 开始 -->
<van-collapse-item class="main-title bg-white" name="signInfo" v-if="type == '1'||type == '2'">
<van-collapse-item class="main-title bg-white" name="resultInfo" v-if="type == '1'||type == '2'">
<template slot="title">
<span>审批结论</span>
</template>
@@ -186,7 +186,7 @@ export default {
allowanceBankDTO: {},
allowanceSignDTOLst: [],
approveNodeDTO: {}, //审批相关信息
activeNames: ['baseInfo', 'accountInfo', 'MediaInfo', 'signInfo'],
activeNames: ['baseInfo', 'accountInfo', 'MediaInfo', 'signInfo','resultInfo'],
sexRadio: [
{
label: '男',
@@ -248,7 +248,7 @@ export default {
this.mediaUploadDTOLst = allowanceDTO.mediaUploadDTOLst
this.allowanceBankDTO = allowanceDTO.allowanceBankDTO //银行卡相关信息
this.allowanceSignDTOLst = allowanceDTO.allowanceSignDTOLst //签字相关信息
this.approveResult = allowanceDTO.approveNodeDTO.approveResult, //审批结果 (0-审批拒绝,1-审批通过)
this.approveResult = allowanceDTO.approveNodeDTO.approveResult ='1', //审批结果 (0-审批拒绝,1-审批通过)
this.approveMsg = allowanceDTO.approveNodeDTO.approveMsg, //审批信息
this.showbackBankAddressStr(this.allowanceBankDTO.bankProvinceCode, this.allowanceBankDTO.bankAreaCode) // provinceCode, cityCode查询省市数据反显
//处理影像中的关系证明
@@ -275,6 +275,7 @@ export default {
},
// provinceCode, cityCode查询省市数据反显
showbackBankAddressStr(provinceCode, cityCode) {
console.log(provinceCode,cityCode,'dfasdf')
let provinces = areaList.province_list
let cities = areaList.city_list
this.areaStr = `${provinces[provinceCode]}-${cities[cityCode]}`

View File

@@ -29,7 +29,7 @@
>申请时间</van-tag
>
</div>
<span class="fs15 c-gray-dark">{{ order.applyMonth }}</span>
<span class="fs15 c-gray-dark">{{ order.createdDate }}</span>
</div>
<div class="text-right mt15">
@@ -194,7 +194,7 @@ export default {
.confirm({
className: 'dialog-blue',
title: '提示',
message: '确认删除投保单吗'
message: '是否删除该申请'
// cancelButtonColor: '#2e4591',
// confirmButtonColor: '#FFFFFF'
})
@@ -325,16 +325,16 @@ export default {
//不符合条件时阻断toast提示触发按钮包括“津贴申请列表-未审批”【编辑】、“津贴申请列表-审批通过”【再次申请】、【点击申请】
async isConditionsFunc(type, order) {
// type 0点击申请 1编辑 2再次申请
// const res = await allowanceCheck({})
// if (res.result == '1') {
// Toast({
// className: 'textLeft',
// duration: 3000, // 持续展示 toast
// forbidClick: true,
// message: res.resultMessage
// })
// return
// }
const res = await allowanceCheck({})
if (res.result == '1') {
Toast({
className: 'textLeft',
duration: 3000, // 持续展示 toast
forbidClick: true,
message: res.resultMessage
})
return
}
if (type == 0) {
this.applicationFunc()

View File

@@ -600,6 +600,7 @@ export default {
extra: {
title: `国富人寿桂冠专属父母赡养津贴申请`,
content: '点击去签字',
shareScene:0,// 0只分享好友1 只分享朋友圈 不传默认所有
url: location.origin + '/#/allowance/application/signatureConfirmation?allowanceNo=' + this.allowanceNo + '&token=' + res.content,
// '&relationToAppnt=' +
// JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +

View File

@@ -2,7 +2,7 @@
<div class="entry-container pt60 pb30 bg-white">
<div class="ml130 w200 nowrap flex align-items-c text-center">
<div class="w110 inline-b text-center">
提交申请<br /><span class="grey"></span>
提交申请<br /><span class="grey">{{approveMapping[0].createdDate}}</span>
</div>
<van-tag class="w45" color="green" plain style="margin-top: -14px">已完成</van-tag>
</div>
@@ -164,6 +164,7 @@ export default {
this.$toast(res.resultMessage)
}
} else {
this.processCheck()
this.$toast(res.resultMessage)
}
})