diff --git a/src/views/ebiz/questions/QuestionsDetail.vue b/src/views/ebiz/questions/QuestionsDetail.vue
index 27e14c15a..e8b567953 100644
--- a/src/views/ebiz/questions/QuestionsDetail.vue
+++ b/src/views/ebiz/questions/QuestionsDetail.vue
@@ -53,7 +53,7 @@
-
+
继续转账
终止转账
更换卡号
@@ -75,7 +75,7 @@
@@ -199,7 +199,9 @@ export default {
phoneNum: '',
showConfirm: false,
src: '',
- pdfUrl: ''
+ pdfUrl: '',
+ // 转账不成功处理方式是否不可用
+ handleType: false
}
},
methods: {
@@ -231,22 +233,19 @@ export default {
rgssUrl: res.path
})
},
- //签名
+ // 签名
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;
diff --git a/src/views/ebiz/questions/QuestionsList.vue b/src/views/ebiz/questions/QuestionsList.vue
index fb25e3d49..706104920 100644
--- a/src/views/ebiz/questions/QuestionsList.vue
+++ b/src/views/ebiz/questions/QuestionsList.vue
@@ -154,9 +154,9 @@ export default {
type: this.active,
pageInfo: {
pageNum: this.currentPage,
- pageSize: this.pageSize,
- keyword: this.searchValue ? this.searchValue : ''
- }
+ 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 {