添加表单查询和调整表格字段以及功能
This commit is contained in:
@@ -2,6 +2,17 @@ import type { PageRecord } from "@/lib/api"
|
||||
import type { Batch } from "@/models/batch"
|
||||
import { callByUser } from "./base"
|
||||
|
||||
export async function getPageBatch(params: { page: number; size: number }) {
|
||||
export async function getPageBatch(params: {
|
||||
page: number
|
||||
size: number
|
||||
user_phone?: string
|
||||
resource_no?: string
|
||||
batch_no?: string
|
||||
prov?: string
|
||||
city?: string
|
||||
isp?: string
|
||||
created_at_start?: Date
|
||||
created_at_end?: Date
|
||||
}) {
|
||||
return callByUser<PageRecord<Batch>>("/api/admin/batch/page", params)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user