feat: 完善会员交易与任务管理流程

This commit is contained in:
richjohnrambo
2026-10-13 14:20:27 +08:00
parent df95801672
commit 40bfa4cba0
25 changed files with 1198 additions and 297 deletions
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -7,7 +7,7 @@ import { defRangeShortcuts } from '@/utils/dateUtil';
const dict = useDictStore();
export interface MemberRecord {
id: number; memberNo: string; username: string; mobileMask: string; realNameMask: string;
id: number; memberNo: string; username: string; mobile: string; realNameMask: string;
availableAmount: number; frozenAmount: number; parentId: number; parentUsername: string;
inviteCode: string; memberStatus: number; riskStatus: number; autoDispatch: number; memberCategory: number;
isTestAccount: number; lastLoginAt?: string; lastLoginIpMask: string; lastLoginRegion: string;
@@ -30,7 +30,7 @@ export const columns = [
{ title: 'ID', key: 'id', width: 80 },
{ title: '会员编号', key: 'memberNo', width: 170 },
{ title: '账号', key: 'username', width: 130 },
{ title: '手机号', key: 'mobileMask', width: 130 },
{ title: '手机号', key: 'mobile', width: 130 },
{ title: '绑卡姓名', key: 'realNameMask', width: 100 },
{ title: '可用余额', key: 'availableAmount', width: 120, render: (row: MemberRecord) => money(row.availableAmount) },
{ title: '冻结余额', key: 'frozenAmount', width: 120, render: (row: MemberRecord) => money(row.frozenAmount) },
+1 -1
View File
@@ -12,7 +12,7 @@ export const schemas = ref<FormSchema[]>([
const tag = (type, value) => h(NTag, { type: dict.getType(type, value), bordered: false }, { default: () => dict.getLabel(type, value) || '-' });
export const columns = [
{ title: '申请单号', key: 'requestNo', width: 210 }, { title: '会员ID', key: 'memberId', width: 90 },
{ title: '用户名', key: 'username', width: 120 }, { title: '手机号', key: 'mobileMask', width: 130 },
{ title: '用户名', key: 'username', width: 120 }, { title: '手机号', key: 'mobile', width: 130 },
{ title: '类型', key: 'adjustType', width: 110, render: (r) => tag('walletAdjustType', r.adjustType) },
{ title: '方向', key: 'direction', width: 90, render: (r) => tag('walletDirection', r.direction) },
{ title: '金额', key: 'amount', width: 120, render: (r) => `¥${((r.amount || 0) / 100).toFixed(2)}` },