24 lines
539 B
TypeScript
24 lines
539 B
TypeScript
import request from '@/utils/http'
|
|
|
|
type PageList<T> = {
|
|
list: T[]
|
|
total: number
|
|
page: number
|
|
pageSize: number
|
|
totalPages: number
|
|
}
|
|
|
|
/** 采集协议样本采集信息列表(每个样本一条) */
|
|
export function fetchProtocolSampleCollectionList(params?: {
|
|
page?: number
|
|
pageSize?: number
|
|
keyword?: string
|
|
/** uncollected | ycj | jcz | yrk | yzf | all */
|
|
sampleStatus?: string
|
|
}) {
|
|
return request.get<PageList<Record<string, unknown>>>({
|
|
url: '/web/admin/protocol-sample-collections/list',
|
|
params
|
|
})
|
|
}
|