提交
This commit is contained in:
1 parent
09afdb1d65
commit
afd517ce10
215 files changed
+32936
-23862
No files matched your search
@@ -6,6 +6,8 @@ export type OutboundHandoverInfo = {
|
||||
handoverTime?: string
|
||||
handoverLocation?: string
|
||||
receiverPerson?: string
|
||||
cellPurpose?: string
|
||||
attachments?: string
|
||||
remark?: string
|
||||
}
|
||||
|
||||
@@ -49,6 +51,8 @@ export function saveInfusionScheduleOutboundHandover(
|
||||
handoverTime: string
|
||||
handoverLocation?: string
|
||||
receiverPerson: string
|
||||
cellPurpose?: string
|
||||
attachments?: string
|
||||
remark?: string
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
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
|
||||
})
|
||||
}
|
||||
@@ -28,6 +28,7 @@ export type QcWorkOrderReceptionDetail = {
|
||||
netWeightG?: number
|
||||
acceptConclusion?: string
|
||||
acceptConclusionLabel?: string
|
||||
labStorageCode?: string
|
||||
remark?: string
|
||||
etaTime?: string
|
||||
transportType?: string
|
||||
@@ -56,6 +57,7 @@ export type QcWorkOrder = {
|
||||
collectionProtocolId: string
|
||||
protocolNo: string
|
||||
sampleCode: string
|
||||
labStorageCode?: string
|
||||
receptionSource?: string
|
||||
receptionSourceLabel?: string
|
||||
qcBizType?: string
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
import request from '@/utils/http'
|
||||
|
||||
type PageList<T> = {
|
||||
list: T[]
|
||||
total: number
|
||||
page: number
|
||||
pageSize: number
|
||||
totalPages: number
|
||||
}
|
||||
|
||||
/** 科研捐赠样本采集信息列表(每个样本一条) */
|
||||
export function fetchResearchDonationSampleCollectionList(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/research-donation-sample-collections/list',
|
||||
params
|
||||
})
|
||||
}
|
||||
@@ -42,6 +42,13 @@ export function fetchSampleReceptionDetail(receptionId: string) {
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchAllocateLabStorageCodes(data: { receptionDate: string; count?: number }) {
|
||||
return request.post<{ codes: string[] }>({
|
||||
url: '/web/admin/sample-receptions/allocate-lab-storage-codes',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export type SampleReceptionCheckResult = {
|
||||
id?: string
|
||||
checkItemId?: string
|
||||
@@ -64,6 +71,7 @@ export function fetchSampleReceptionUpdate(
|
||||
acceptConclusion: 'js' | 'bj'
|
||||
receiveAttachments?: string
|
||||
remark?: string
|
||||
labStorageCode?: string
|
||||
}
|
||||
) {
|
||||
return request.put({
|
||||
@@ -86,6 +94,7 @@ export function fetchSampleReceptionSubmit(data: {
|
||||
acceptConclusion: 'js' | 'bj'
|
||||
receiveAttachments?: string
|
||||
remark?: string
|
||||
labStorageCode?: string
|
||||
}) {
|
||||
return request.post({
|
||||
url: '/web/admin/sample-receptions',
|
||||
|
||||
@@ -69,6 +69,7 @@ export type ReceptionInfo = {
|
||||
volumeMl?: number | null
|
||||
netWeightG?: number | null
|
||||
acceptConclusion?: string
|
||||
labStorageCode?: string
|
||||
}
|
||||
|
||||
export type QcInfoTask = {
|
||||
|
||||
Reference in new issue
Block a user