|
|
@@ -1,5 +1,14 @@
|
|
|
import request from '@/utils/http'
|
|
|
|
|
|
+export type QuickRegisterKind =
|
|
|
+ | 'storage'
|
|
|
+ | 'storage_cert'
|
|
|
+ | 'insurance'
|
|
|
+ | 'sms'
|
|
|
+ | 'followup'
|
|
|
+ | 'fulfillment'
|
|
|
+ | 'all'
|
|
|
+
|
|
|
export function fetchUpdateStorageCertHandle(
|
|
|
protocolId: string,
|
|
|
data: {
|
|
|
@@ -13,13 +22,24 @@ export function fetchUpdateStorageCertHandle(
|
|
|
}
|
|
|
|
|
|
export function fetchSampleInfoQuickRegister(data: {
|
|
|
- kind: 'storage' | 'storage_cert' | 'insurance'
|
|
|
+ kind: QuickRegisterKind
|
|
|
receptionSource: 'cell_storage' | 'research_donation'
|
|
|
items: Array<{ sampleCode: string; protocolId: string }>
|
|
|
- handleTime: string
|
|
|
- handlerUserId: string
|
|
|
+ handleTime?: string
|
|
|
+ handlerUserId?: string
|
|
|
attachments?: string
|
|
|
remark?: string
|
|
|
+ mailCertTime?: string
|
|
|
+ policySendTime?: string
|
|
|
+ smsSendDate?: string
|
|
|
+ smsSendStatus?: string
|
|
|
+ microbeFollowupDate?: string
|
|
|
+ microbeFollowupStatus?: string
|
|
|
+ fullmoonFollowupDate?: string
|
|
|
+ fullmoonFollowupStatus?: string
|
|
|
+ householdRegistered?: string
|
|
|
+ einvoiceSendTime?: string
|
|
|
+ effectiveAddress?: string
|
|
|
}) {
|
|
|
return request.post({ url: '/web/admin/sample-info/quick-register', data })
|
|
|
}
|