完善账单页面,抽取公共页面组件

This commit is contained in:
2025-04-11 17:34:42 +08:00
parent 7238166a95
commit e0c75f9506
26 changed files with 542 additions and 84 deletions

15
src/actions/bill.ts Normal file
View File

@@ -0,0 +1,15 @@
import {Bill} from '@/lib/models'
import {callByUser} from '@/actions/base'
import {PageRecord} from '@/lib/api'
export async function listBills(params: {
page?: number
size?: number
bill_no?: string
type?: number
status?: number
create_after?: Date
create_before?: Date
}) {
return await callByUser<PageRecord<Bill>>('/api/bill/list', params)
}