diff --git a/pages/me/confirmInfo.vue b/pages/me/confirmInfo.vue index 66b0885..836faf2 100644 --- a/pages/me/confirmInfo.vue +++ b/pages/me/confirmInfo.vue @@ -16,6 +16,13 @@ {{bankInfo.auditStatus=='apply'?i18n.apply:bankInfo.auditStatus=='agree'?i18n.agree:i18n.reject}} + + {{ i18n.Reasonforrejection }} + + {{bankInfo.auditReason}} + + + {{ i18n.FirstName }} @@ -45,10 +52,7 @@ - {{ i18n.infoStatus }} - - {{bankInfo.auditReason}} - + @@ -57,7 +61,7 @@ - + {{ i18n.Confirm }} @@ -108,7 +112,7 @@ return this.$t("withdrawal"); }, btnIsCanClick() { - if (this.bankInfo.name && this.bankInfo.certId && this.bankInfo.certFrontImgPath) { + if (this.bankInfo.name && this.bankInfo.certId) { return false } else { return true @@ -231,14 +235,12 @@ }) }, - getInfo(){ - api.certificationInfo().then(res => { - this.bankInfo=res - }) - }, // 修改或添加实名信息 bank() { - + if(!this.bankInfo.certFrontImgPath){ + uni.$u.toast(this.$t("withdrawal").enterIdCard) + return; + } this.$refs.uForm.validate().then(res => { let bankInfo = { name: this.bankInfo.name, @@ -247,7 +249,7 @@ } api.certification(bankInfo).then(res => { uni.$u.toast(this.$t("me").addSuccessfully) - this.getInfo() + this.getBank() }) }).catch(errors => { diff --git a/pages/withdrawal/withdrawalRecord.vue b/pages/withdrawal/withdrawalRecord.vue index b064969..93b40d0 100644 --- a/pages/withdrawal/withdrawalRecord.vue +++ b/pages/withdrawal/withdrawalRecord.vue @@ -24,9 +24,9 @@ + item.orderStatus=='processfailed'?'#F4506A':item.orderStatus=='processing'?'#00D1FF':'#F4506A'"> @@ -54,9 +54,9 @@ --> + item.orderStatus=='processfailed'?'#F4506A':item.orderStatus=='processing'?'#00D1FF':'#F4506A'"> diff --git a/utils/language/en_US.js b/utils/language/en_US.js index 0ab35c2..6891bd8 100644 --- a/utils/language/en_US.js +++ b/utils/language/en_US.js @@ -254,13 +254,14 @@ export default { // withdrawal withdrawal: { + enterIdCard:'Upload the front of the ID photo', conFirmInfo:'Real name authentication', apply:'apply', agree:'agree', reject:'reject', infoStatus:'Audit status', idNumber:'ID Number', - + Reasonforrejection:'Reason for rejection', remarks:'Reason', IDcard:'Upload photo ID front', shang:'Uploading', diff --git a/utils/language/vi_VN.js b/utils/language/vi_VN.js index 62e8436..41a6a63 100644 --- a/utils/language/vi_VN.js +++ b/utils/language/vi_VN.js @@ -251,6 +251,8 @@ export default { // withdrawal withdrawal: { + Reasonforrejection:'Lý do từ chối', + enterIdCard:'Tải lên mặt trước ảnh nhận diện', conFirmInfo:'Xác thực tên thật', apply:'Để xem lại', agree:'Duyệt', diff --git a/utils/language/zh_TW.js b/utils/language/zh_TW.js index 54aebce..c361cdf 100644 --- a/utils/language/zh_TW.js +++ b/utils/language/zh_TW.js @@ -257,6 +257,8 @@ export default { // withdrawal withdrawal: { + Reasonforrejection:'駁回原因', + enterIdCard:'請上傳證件照正面', conFirmInfo:'實名認證', apply:'待稽核', agree:'稽核通過',