mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 04:16:44 +08:00
模糊查询
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
<div class="item">
|
||||
<van-field label-class="labels" label="处理方式">
|
||||
<template #input>
|
||||
<van-radio-group v-model="transfer.mode" direction="horizontal" class="radioGroup" @change="modeChange">
|
||||
<van-radio-group :disabled="handleType" v-model="transfer.mode" direction="horizontal" class="radioGroup" @change="modeChange">
|
||||
<van-radio :name="1" icon-size="16px">继续转账</van-radio>
|
||||
<van-radio :name="2" icon-size="16px">终止转账</van-radio>
|
||||
<van-radio :name="3" icon-size="16px">更换卡号</van-radio>
|
||||
@@ -75,7 +75,7 @@
|
||||
<div class="item">
|
||||
<van-field label-class="labels" readonly label="银行卡照片"></van-field>
|
||||
<div class="cardList">
|
||||
<van-uploader :max-count="2" :after-read="cardUpload" name="card" v-model="transfer.cardPhoto" />
|
||||
<van-uploader :max-count="1" :after-read="cardUpload" name="card" v-model="transfer.cardPhoto" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -199,7 +199,9 @@ export default {
|
||||
phoneNum: '',
|
||||
showConfirm: false,
|
||||
src: '',
|
||||
pdfUrl: ''
|
||||
pdfUrl: '',
|
||||
// 转账不成功处理方式是否不可用
|
||||
handleType: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -234,19 +236,16 @@ export default {
|
||||
// 签名
|
||||
async autograph(personType) {
|
||||
// 新契约问题件签名前必须输入回复内容
|
||||
if (this.$route.params.type === 'TB89') {
|
||||
if (this.issueType === 'TB89') {
|
||||
if (!this.newContract.feedback.trim()) {
|
||||
return this.$toast('请先填写回复内容')
|
||||
}
|
||||
// 根据回复内容重新生成PDF&回复内容不能在更改
|
||||
this.newContract.feedbackAvailable = true
|
||||
}
|
||||
// 转账不成功签名前必须选择处理方式
|
||||
if (this.$route.params.type === '818901') {
|
||||
if (this.issueType === '818901') {
|
||||
if (this.transfer.mode === '') {
|
||||
return this.$toast('请先选择处理方式')
|
||||
}
|
||||
// 根据选择的处理方式重新生成PDF
|
||||
}
|
||||
let name = personType === 0 ? this.problemInfo.appntName : this.problemInfo.insuredName
|
||||
let number = personType === 0 ? this.problemInfo.appntIdCardNo : this.problemInfo.insuredIdCardNo
|
||||
@@ -270,6 +269,16 @@ export default {
|
||||
if (personType === 0 && signRes.state === '1') {
|
||||
this.policyholderBase64 = decodeURI(signRes.sign)
|
||||
this.policyholderSigned = true
|
||||
|
||||
if (this.issueType === 'TB89') {
|
||||
// 根据回复内容重新生成PDF&回复内容不能在更改
|
||||
this.newContract.feedbackAvailable = true
|
||||
}
|
||||
|
||||
if (this.issueType === '818901') {
|
||||
// 根据选择的处理方式重新生成PDF&处理方式不能再更改
|
||||
this.handleType = true
|
||||
}
|
||||
}
|
||||
// 被保人签名
|
||||
else if (personType === 1 && signRes.state === '1') {
|
||||
@@ -340,6 +349,7 @@ export default {
|
||||
data.append('imgPath', file.file)
|
||||
return await uploadImg(data)
|
||||
},
|
||||
// 下一步
|
||||
submit() {
|
||||
// 校验回复内容
|
||||
if (this.issueType === 'TB89' && this.newContract.feedback.trim() === '') return this.$toast('请填写回复内容')
|
||||
@@ -349,6 +359,7 @@ export default {
|
||||
return this.$toast('请上传补充资料')
|
||||
}
|
||||
}
|
||||
// 转账不成功
|
||||
if (this.issueType === '818901') {
|
||||
// 校验处理方式
|
||||
if (this.transfer.mode === '') {
|
||||
@@ -422,7 +433,7 @@ export default {
|
||||
// 转账不成功问题件
|
||||
else {
|
||||
problemData.disposeStatus = this.transfer.mode
|
||||
problemData.bankType = this.transfer.mode
|
||||
problemData.bankType = this.transfer.bankCode
|
||||
problemData.bankName = this.transfer.bank
|
||||
problemData.bankNo = this.transfer.card
|
||||
for (let item of this.transfer.cardUploadResult) {
|
||||
@@ -434,29 +445,29 @@ export default {
|
||||
// 更新问题件数据
|
||||
let res = await updateQuestionDetail(problemData)
|
||||
// 签名pdf
|
||||
let data = {
|
||||
orderType: 'SIGN_ORDER',
|
||||
orderDTO: {
|
||||
orderInfoDTO: {
|
||||
orderNo: ''
|
||||
},
|
||||
ebizSignDTOS: []
|
||||
}
|
||||
}
|
||||
saveInformation(data).then(res => {
|
||||
this.$toast.clear()
|
||||
if (res.result == '1') {
|
||||
localStorage.setItem('failedReason', res.resultMessage)
|
||||
}
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
forbidSwipeBack: '1',
|
||||
url: location.origin + `/#/questions/result/${res.result}`
|
||||
},
|
||||
routerInfo: { path: `/questions/result/${res.result}` }
|
||||
})
|
||||
})
|
||||
// let data = {
|
||||
// orderType: 'SIGN_ORDER',
|
||||
// orderDTO: {
|
||||
// orderInfoDTO: {
|
||||
// orderNo: ''
|
||||
// },
|
||||
// ebizSignDTOS: []
|
||||
// }
|
||||
// }
|
||||
// saveInformation(data).then(res => {
|
||||
// this.$toast.clear()
|
||||
// if (res.result == '1') {
|
||||
// localStorage.setItem('failedReason', res.resultMessage)
|
||||
// }
|
||||
// this.$jump({
|
||||
// flag: 'h5',
|
||||
// extra: {
|
||||
// forbidSwipeBack: '1',
|
||||
// url: location.origin + `/#/questions/result/${res.result}`
|
||||
// },
|
||||
// routerInfo: { path: `/questions/result/${res.result}` }
|
||||
// })
|
||||
// })
|
||||
console.dir(res)
|
||||
}
|
||||
},
|
||||
@@ -559,6 +570,7 @@ export default {
|
||||
border: 0;
|
||||
}
|
||||
.detail-container {
|
||||
min-height: 100vh;
|
||||
background: #fff;
|
||||
padding-bottom: 40px;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -154,9 +154,9 @@ export default {
|
||||
type: this.active,
|
||||
pageInfo: {
|
||||
pageNum: this.currentPage,
|
||||
pageSize: this.pageSize,
|
||||
pageSize: this.pageSize
|
||||
},
|
||||
keyword: this.searchValue ? this.searchValue : ''
|
||||
}
|
||||
})
|
||||
if (rs && rs.result === '0') {
|
||||
this.currentPage++
|
||||
@@ -197,6 +197,7 @@ export default {
|
||||
this.processedList.splice(0)
|
||||
this.pendingListFinished = false
|
||||
this.processedListFinished = false
|
||||
this.searchValue = ''
|
||||
if (this.active === 0) {
|
||||
this.pendingListLoading = true
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user