feat(web-admin): add sample-payments API clients and progress tags

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-05 13:02:39 +08:00
1 parent c35e4ca3d2
commit 1bc44cab13
2 files changed
+33 -2

No files matched your search

+12 -2
View File
@@ -99,9 +99,9 @@ export const sampleStatusLabel = createLabelGetter(sampleStatus)
export const sampleStatusTagType = createTagTypeGetter(sampleStatus)
export const payStatus: StatusRegistry = {
dfj: { label: '待缴费', tagType: 'info' },
dfj: { label: '已缴费', tagType: 'primary' },
jfqrz: { label: '缴费确认中', tagType: 'warning' },
yjf: { label: '已缴费', tagType: 'success' },
yjf: { label: '缴费成功', tagType: 'success' },
tfqrz: { label: '退费确认中', tagType: 'warning' },
ytf: { label: '已退费', tagType: 'danger' }
}
@@ -123,6 +123,16 @@ export const payMode: StatusRegistry = {
export const payModeLabel = createLabelGetter(payMode)
export const payModeTagType = createTagTypeGetter(payMode)
/** 按样本列表整体进度(勿与转账笔 payStatus 混用:payStatus.dfj=已缴费) */
export const samplePaymentProgress: StatusRegistry = {
dfj: { label: '待缴费', tagType: 'info' },
jfqrz: { label: '缴费确认中', tagType: 'warning' },
bfyj: { label: '部分已缴', tagType: 'primary' },
yjq: { label: '已缴清', tagType: 'success' }
}
export const samplePaymentProgressLabel = createLabelGetter(samplePaymentProgress)
export const samplePaymentProgressTagType = createTagTypeGetter(samplePaymentProgress)
export const transferType: StatusRegistry = {
wxzz: { label: '微信转账', tagType: 'success' },
zzbzz: { label: '支付宝转账', tagType: 'primary' },