|
|
@@ -78,6 +78,12 @@ export type QcWorkOrder = {
|
|
|
remark?: string
|
|
|
createTime?: string
|
|
|
updateTime?: string
|
|
|
+ bizType?: string
|
|
|
+ bizTypeLabel?: string
|
|
|
+ applicationNo?: string
|
|
|
+ applicationName?: string
|
|
|
+ channelName?: string
|
|
|
+ infusionTime?: string
|
|
|
}
|
|
|
|
|
|
export type QcWorkOrderDetail = QcWorkOrder & {
|
|
|
@@ -116,6 +122,7 @@ export function fetchQcWorkOrderList(params?: {
|
|
|
keyword?: string
|
|
|
workOrderStatus?: string
|
|
|
workOrderType?: string
|
|
|
+ bizType?: string
|
|
|
createTimeStart?: string
|
|
|
createTimeEnd?: string
|
|
|
}) {
|
|
|
@@ -161,7 +168,10 @@ export function fetchCreateQcWorkOrder(data: {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-export function fetchUpdateQcWorkOrder(id: string, data: { cellProductId?: string; remark?: string }) {
|
|
|
+export function fetchUpdateQcWorkOrder(
|
|
|
+ id: string,
|
|
|
+ data: { cellProductId?: string; remark?: string }
|
|
|
+) {
|
|
|
return request.put<QcWorkOrder>({
|
|
|
url: `/web/admin/qc-work-orders/${id}`,
|
|
|
data
|
|
|
@@ -171,3 +181,68 @@ export function fetchUpdateQcWorkOrder(id: string, data: { cellProductId?: strin
|
|
|
export function fetchDeleteQcWorkOrder(id: string) {
|
|
|
return request.del({ url: `/web/admin/qc-work-orders/${id}` })
|
|
|
}
|
|
|
+
|
|
|
+export type OutboundQcDetailApplication = {
|
|
|
+ applicationNo?: string
|
|
|
+ applicationName?: string
|
|
|
+ applicationStatus?: string
|
|
|
+ channelName?: string
|
|
|
+}
|
|
|
+
|
|
|
+export type OutboundQcDetailPatient = {
|
|
|
+ patientName?: string
|
|
|
+ sex?: string
|
|
|
+ age?: string
|
|
|
+ phoneNo?: string
|
|
|
+ idCardNo?: string
|
|
|
+ emergencyContact?: string
|
|
|
+ emergencyPhone?: string
|
|
|
+ clinicalDiagnosis?: string
|
|
|
+ diagnosisAttachments?: string
|
|
|
+}
|
|
|
+
|
|
|
+export type OutboundQcDetailInfusionPlan = {
|
|
|
+ cellType?: string
|
|
|
+ specText?: string
|
|
|
+ totalCourseCount?: number
|
|
|
+ courseInterval?: string
|
|
|
+ infusionRoute?: string
|
|
|
+ infusionStartDate?: string
|
|
|
+}
|
|
|
+
|
|
|
+export type OutboundQcDetailInfusionSchedule = {
|
|
|
+ infusionTime?: string
|
|
|
+ infusionLocation?: string
|
|
|
+ infusionMethod?: string
|
|
|
+ scheduleStatus?: string
|
|
|
+ infusionStatus?: string
|
|
|
+ qcStatus?: string
|
|
|
+ cancelReason?: string
|
|
|
+}
|
|
|
+
|
|
|
+export type OutboundQcDetailProduct = {
|
|
|
+ projectCode?: string
|
|
|
+ projectName?: string
|
|
|
+ cellTypeName?: string
|
|
|
+ specText?: string
|
|
|
+ agreementPrice?: number
|
|
|
+ actualPrice?: number
|
|
|
+ quantity?: number
|
|
|
+ productStatus?: string
|
|
|
+}
|
|
|
+
|
|
|
+export type OutboundQcDetail = {
|
|
|
+ workOrder: QcWorkOrderDetail
|
|
|
+ application?: OutboundQcDetailApplication
|
|
|
+ patient?: OutboundQcDetailPatient
|
|
|
+ infusionPlan?: OutboundQcDetailInfusionPlan
|
|
|
+ infusionSchedule?: OutboundQcDetailInfusionSchedule
|
|
|
+ products?: OutboundQcDetailProduct[]
|
|
|
+ tasks?: QcWorkOrderDetail['tasks']
|
|
|
+}
|
|
|
+
|
|
|
+export function fetchOutboundQcDetail(id: string) {
|
|
|
+ return request.get<OutboundQcDetail>({
|
|
|
+ url: `/web/admin/qc-work-orders/${id}/outbound-detail`
|
|
|
+ })
|
|
|
+}
|