1、修改程序图标;2、影像上传页增加保费大于20万的提示

This commit is contained in:
pang.lizong
2019-09-27 10:08:07 +08:00
parent 3921c1aa19
commit 4eaa01bc72
4 changed files with 18 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -471,9 +471,13 @@ export default {
subBusinessNo: that.saleInsuredPersonInfo.insuredId subBusinessNo: that.saleInsuredPersonInfo.insuredId
} }
that.list.push(obj) that.list.push(obj)
} else { } else {
that.fileListBankInsured = [] that.fileListBankInsured = []
} }
// 保费超过20万的提示
Dialog.alert({title:'提示',message:'趸交保费≥20万元或期交保费*总期数≥20万元时须上传指定受益人证件正反面'})
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = '' document.body.style.backgroundColor = ''
@@ -845,7 +849,7 @@ export default {
that.$toast(res.resultMessage) that.$toast(res.resultMessage)
} }
}) })
} },
}, },
computed: { computed: {
listenChange() { listenChange() {

View File

@@ -123,7 +123,8 @@ export default {
S3Sign: '', // 验签信息 S3Sign: '', // 验签信息
tradeState: '' // 状态 tradeState: '' // 状态
}, },
gotPayParam: false // 是否已正确获取支付参数 gotPayParam: false, // 是否已正确获取支付参数,
payStatus:'',// 接口返回的支付状态
} }
}, },
mounted() { mounted() {
@@ -146,6 +147,12 @@ export default {
methods: { methods: {
// 点击支付 // 点击支付
payMent() { payMent() {
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
let that = this let that = this
let data = { let data = {
orderNo: window.localStorage.getItem('orderNo') orderNo: window.localStorage.getItem('orderNo')
@@ -154,7 +161,8 @@ export default {
console.log('----取支付参数结果:', JSON.stringify(res)) console.log('----取支付参数结果:', JSON.stringify(res))
// res = {'result':'0','resultMessage':'','content':null,'prtNo':'8186270000000008','payStatus':'4','amnt':'63700.00','appntName':'投保人','message':null,'brPayReturnData':{'result':'','resultMessage':'','content':null,'businessId':'1569125393518','businessNo':'8186270000000008','tradeSubType':'COMM','businessType':'SALE','systemType':'GF','money':63700,'businessSubType':'XDCB','thirdType':'0002','thirdName':null,'bankCode':'ABC','epayOrderNo':'1909221209536259999900','companyAccount':null,'tradeState':'TRADING','standardCode':'DEALING','standardMsg':null,'thirdOrderNo':null,'respRemark':null,'tradeTime':'2019-09-22T04:09:53.518+0000','description':'','version':'1','sourceNotecode':'8186270000000008','payType':'MIT01','expireDate':'20191010101010','transSeq':'20190922120953782','transSource':'MIT','applyEntity':'11860000','paymentCode':'8186270000000008','transDate':'20190922','rdSeq':'1909221209536259999900','settleMode':null,'cur':'CNY','transTime':'120953','ourAmount':63700,'fixUser':'1','insurer':'投保人','certType':'0','certNum':'110101199009210011','oppBank':'ABC','oppAct':'6228481200290317812','oppActName':'投保人','cellPhone':null,'purpose':null,'memo':null,'returnURL':'http://139.199.50.151/#/sale/payResult','notifyURL':'http://139.199.50.151:7000/api/v1/epay/epay/payResult','s3Sign':'e3f0581ec6b751337e8eca360a0746bc'}} // res = {'result':'0','resultMessage':'','content':null,'prtNo':'8186270000000008','payStatus':'4','amnt':'63700.00','appntName':'投保人','message':null,'brPayReturnData':{'result':'','resultMessage':'','content':null,'businessId':'1569125393518','businessNo':'8186270000000008','tradeSubType':'COMM','businessType':'SALE','systemType':'GF','money':63700,'businessSubType':'XDCB','thirdType':'0002','thirdName':null,'bankCode':'ABC','epayOrderNo':'1909221209536259999900','companyAccount':null,'tradeState':'TRADING','standardCode':'DEALING','standardMsg':null,'thirdOrderNo':null,'respRemark':null,'tradeTime':'2019-09-22T04:09:53.518+0000','description':'','version':'1','sourceNotecode':'8186270000000008','payType':'MIT01','expireDate':'20191010101010','transSeq':'20190922120953782','transSource':'MIT','applyEntity':'11860000','paymentCode':'8186270000000008','transDate':'20190922','rdSeq':'1909221209536259999900','settleMode':null,'cur':'CNY','transTime':'120953','ourAmount':63700,'fixUser':'1','insurer':'投保人','certType':'0','certNum':'110101199009210011','oppBank':'ABC','oppAct':'6228481200290317812','oppActName':'投保人','cellPhone':null,'purpose':null,'memo':null,'returnURL':'http://139.199.50.151/#/sale/payResult','notifyURL':'http://139.199.50.151:7000/api/v1/epay/epay/payResult','s3Sign':'e3f0581ec6b751337e8eca360a0746bc'}}
if (res.result == '0') { if (res.result == '0') {
// 1成 4支付中 2支付失败 8转批扣 // 1成 4支付中 2支付失败 8转批扣(无所情况)
this.payStatus = res.payStatus
// 支付参数大小写转换 // 支付参数大小写转换
let keyMap = {} let keyMap = {}
@@ -191,12 +199,14 @@ export default {
// } // }
// }) // })
} else { } else {
that.$toast.clear()
that.$toast(res.resultMessage) that.$toast(res.resultMessage)
} }
}) })
}, },
// 取消支付 // 取消支付
cancel() { cancel() {
this.$toast.clear()
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {

View File

@@ -100,6 +100,7 @@ export default {
}, },
// 查询支付状态 // 查询支付状态
queryPayState(){ queryPayState(){
this.$toast.clear()
this.$toast.loading({ this.$toast.loading({
duration: 0, // 持续展示 toast duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击 forbidClick: true, // 禁用背景点击