feat: 添加用户选择组件,整合到多个页面的过滤功能,优化用户体验

This commit is contained in:
2026-01-20 01:24:15 +07:00
parent e3916d8ac4
commit 0867fefa6c
8 changed files with 126 additions and 22 deletions

View File

@@ -4,6 +4,7 @@ import { useDialog } from 'naive-ui';
import dayjs from 'dayjs';
import { client, safeClient } from '@/service/api';
import type { TableBaseColumns, TableFetchData, TableFilterColumns, TableInst } from '@/components/table';
import UserSelect from '@/components/common/user-select.vue';
import Wallet from './components/wallet.vue';
import Address from './components/address.vue';
import Payment from './components/payment.vue';
@@ -157,8 +158,9 @@ const columns: TableBaseColumns = [
const filterColumns: TableFilterColumns = [
{
key: 'uid',
title: 'UID'
key: 'userId',
title: '用户',
component: UserSelect
},
{
key: 'username',