diff --git a/src/api/ebiz/customer/customer.js b/src/api/ebiz/customer/customer.js index 8f33d6c27..b18eb1eed 100644 --- a/src/api/ebiz/customer/customer.js +++ b/src/api/ebiz/customer/customer.js @@ -18,7 +18,14 @@ export function updateCustomerInfo(data) { data }) } - +//本人实名认证 +export function checkPhone(data) { + return request({ + url: getUrl('/customer/checkPhone', 1), + method: 'post', + data + }) +} //查询代理人客户信息 export function getAgentCustomerInfo(data) { return request({ diff --git a/src/api/ebiz/sale/sale.js b/src/api/ebiz/sale/sale.js index f649c73e9..6bf249bd8 100644 --- a/src/api/ebiz/sale/sale.js +++ b/src/api/ebiz/sale/sale.js @@ -61,7 +61,14 @@ export function getAuthCode(data) { data }) } - +// 验证验证码 +export function autchCodeCheck(data) { + return request({ + url: getUrl('/customer/authcode/check', 1), + method: 'post', + data + }) +} // 上传图片 export function uploadImg(data) { return request({ diff --git a/src/assets/js/business-common.js b/src/assets/js/business-common.js index 9b6bbfbe0..53678147d 100644 --- a/src/assets/js/business-common.js +++ b/src/assets/js/business-common.js @@ -512,7 +512,8 @@ export default { idNo: appntDTO.idNo, appntId: appntDTO.appntId, healthGrade: appntDTO.healthGrade, - lifeGrade: appntDTO.lifeGrade + lifeGrade: appntDTO.lifeGrade, + mobile: appntDTO.mobile }) if (insuredDTO) { @@ -531,7 +532,8 @@ export default { insuredId: insuredDTO.insuredId, idNo: insuredDTO.idNo, healthGrade: insuredDTO.healthGrade, - lifeGrade: insuredDTO.lifeGrade + lifeGrade: insuredDTO.lifeGrade, + mobile: insuredDTO.mobile }) let [chooseProductCodes, mainRiskCodes, addRiskCodes] = [[], [], []] diff --git a/src/components/ebiz/sale/UploadImageFile.vue b/src/components/ebiz/sale/UploadImageFile.vue index 7bd52baec..5300a8d56 100644 --- a/src/components/ebiz/sale/UploadImageFile.vue +++ b/src/components/ebiz/sale/UploadImageFile.vue @@ -65,6 +65,14 @@ export default { this.$refs.file.dispatchEvent(new MouseEvent('click')) }, addImg(e) { + this.$toast.loading({ + // 持续展示 toast + duration: 0, + // 禁用背景点击s + forbidClick: true, + loadingType: 'spinner', + message: '加载中……' + }) let that = this this.file = this.$refs.file.files[0] var reader = new FileReader() diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue index 83e190d64..1e6e6865d 100644 --- a/src/views/ebiz/sale/SignatureConfirmation.vue +++ b/src/views/ebiz/sale/SignatureConfirmation.vue @@ -214,22 +214,56 @@ - + + +

+ 为确保是您本人操作,短信验证码已发送至您手机号{{ encyCustomerMobile }},请您输入验证码以完成后续投保操作。 +

+ + + {{ + codeDisabled ? `${countDown}s后重新获取` : '获取验证码' + }} + +
+