feat(huifu): 支持汇付进件通过后更换结算银行卡
- 用户端及后台管理端新增更换结算卡接口与页面交互 - 服务层实现换卡核心逻辑、参数校验及汇付接口调用 - 增加换卡异步通知处理与定时轮询补偿以同步审核状态 - 完善进件状态网关,补充换卡审核状态及驳回原因等字段
这个提交包含在:
@@ -177,6 +177,9 @@
|
||||
onboardEntryDesc() {
|
||||
if (this.canSubmitOnboard) return '请完善实名与银行卡信息';
|
||||
const h = this.huifuStatus || {};
|
||||
if (h.card_modify_pending) return '结算卡更换审核中';
|
||||
if (h.card_modify_reject_reason) return '结算卡更换被驳回,点击重新更换';
|
||||
if (h.can_modify_card || h.status === 'approved') return '进件已通过,可查看或更换结算银行卡';
|
||||
if (h.await_admin) return '资料已提交,等待平台审核';
|
||||
if (h.status === 'busi_pending' || h.status === 'submitting' || h.status === 'basic_ok') {
|
||||
return '汇付进件审核中';
|
||||
@@ -193,9 +196,12 @@
|
||||
submitting: '提交中',
|
||||
basic_ok: '开户成功',
|
||||
busi_pending: '审核中',
|
||||
approved: '已通过',
|
||||
rejected: '已驳回',
|
||||
failed: '失败'
|
||||
};
|
||||
if (h.card_modify_pending) return '换卡审核中';
|
||||
if (h.card_modify_reject_reason) return '换卡驳回';
|
||||
if (h.can_submit) return '待修改';
|
||||
if (h.await_admin) return '待审核';
|
||||
if (h.status && map[h.status]) return map[h.status];
|
||||
@@ -204,11 +210,12 @@
|
||||
},
|
||||
onboardStatusClass() {
|
||||
const h = this.huifuStatus || {};
|
||||
if (h.can_submit || h.status === 'rejected' || h.status === 'failed') return 'is-warn';
|
||||
if (h.await_admin || h.status === 'draft') return 'is-pending';
|
||||
if (h.can_submit || h.status === 'rejected' || h.status === 'failed' || h.card_modify_reject_reason) return 'is-warn';
|
||||
if (h.await_admin || h.status === 'draft' || h.card_modify_pending) return 'is-pending';
|
||||
if (h.status === 'busi_pending' || h.status === 'submitting' || h.status === 'basic_ok') {
|
||||
return 'is-pending';
|
||||
}
|
||||
if (h.status === 'approved') return 'is-ok';
|
||||
if (this.canSubmitOnboard) return 'is-warn';
|
||||
return '';
|
||||
}
|
||||
@@ -430,6 +437,10 @@
|
||||
&.is-pending {
|
||||
color: #1677FF;
|
||||
}
|
||||
|
||||
&.is-ok {
|
||||
color: #52c41a;
|
||||
}
|
||||
}
|
||||
|
||||
.arrow-icon {
|
||||
|
||||
在新工单中引用
屏蔽一个用户