feat: 添加账本功能,整合用户账本对话框,支持用户ID传递
This commit is contained in:
@@ -11,6 +11,7 @@ import Payment from './components/payment.vue';
|
||||
import Withdraw from './components/withdraw.vue';
|
||||
import Team from './components/team.vue';
|
||||
import Kyc from './components/kyc.vue';
|
||||
import Ledger from './components/ledger.vue';
|
||||
|
||||
const dialog = useDialog();
|
||||
|
||||
@@ -151,6 +152,18 @@ const columns: TableBaseColumns = [
|
||||
content: () => h(Kyc, { userId: row.id })
|
||||
});
|
||||
}
|
||||
},
|
||||
{
|
||||
contentText: '账本',
|
||||
size: 'small',
|
||||
onClick: () => {
|
||||
dialog.create({
|
||||
title: '账本',
|
||||
showIcon: false,
|
||||
style: { width: '1000px' },
|
||||
content: () => h(Ledger, { userId: row.id })
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user