提交
This commit is contained in:
1 parent
9dd7eb56ba
commit
7cec1f2190
112 files changed
+22684
-6952
No files matched your search
@@ -50,6 +50,7 @@ export type QcWorkOrderReceptionDetail = {
|
||||
export type QcWorkOrder = {
|
||||
id: string
|
||||
workOrderNo: string
|
||||
workOrderType?: string
|
||||
receptionId: string
|
||||
protocolSampleId: string
|
||||
collectionProtocolId: string
|
||||
@@ -57,6 +58,14 @@ export type QcWorkOrder = {
|
||||
sampleCode: string
|
||||
receptionSource?: string
|
||||
receptionSourceLabel?: string
|
||||
qcBizType?: string
|
||||
qcBizTypeLabel?: string
|
||||
cellProductId?: string
|
||||
cellProductCode?: string
|
||||
cellProductName?: string
|
||||
cellProductTypeName?: string
|
||||
cellProductPassage?: string
|
||||
cellProductSpecName?: string
|
||||
sampleTypeName?: string
|
||||
receptionTime?: string
|
||||
handlerName?: string
|
||||
@@ -106,6 +115,7 @@ export function fetchQcWorkOrderList(params?: {
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
workOrderStatus?: string
|
||||
workOrderType?: string
|
||||
}) {
|
||||
return request.get<PageList<QcWorkOrder>>({
|
||||
url: '/web/admin/qc-work-orders',
|
||||
@@ -133,3 +143,29 @@ export function fetchConfigureQcWorkOrder(
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchCreateQcWorkOrder(data: {
|
||||
workOrderType?: string
|
||||
protocolNo?: string
|
||||
sampleCode?: string
|
||||
receptionSource?: string
|
||||
qcBizType?: string
|
||||
cellProductId?: string
|
||||
remark?: string
|
||||
}) {
|
||||
return request.post<QcWorkOrder>({
|
||||
url: '/web/admin/qc-work-orders',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchUpdateQcWorkOrder(id: string, data: { cellProductId?: string; remark?: string }) {
|
||||
return request.put<QcWorkOrder>({
|
||||
url: `/web/admin/qc-work-orders/${id}`,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchDeleteQcWorkOrder(id: string) {
|
||||
return request.del({ url: `/web/admin/qc-work-orders/${id}` })
|
||||
}
|
||||
Reference in new issue
Block a user