提交
This commit is contained in:
1 parent
575e63e7e8
commit
771f010a39
165 files changed
+67359
-21698
No files matched your search
+182
-2
@@ -862,7 +862,13 @@ type PageResult<T> = {
|
||||
totalPages: number
|
||||
}
|
||||
|
||||
export function fetchCustomerList(params?: { page?: number; pageSize?: number; keyword?: string }) {
|
||||
export function fetchCustomerList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
}) {
|
||||
return request.get<PageResult<Api.BizCustomer.CustomerItem>>({
|
||||
url: '/web/admin/customers',
|
||||
params
|
||||
@@ -1433,7 +1439,13 @@ export function fetchRemoveOccupancy(id: string) {
|
||||
// 展馆预约
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export function fetchExhibitionAppointmentList(params?: { page?: number; pageSize?: number; keyword?: string }) {
|
||||
export function fetchExhibitionAppointmentList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
visitDateStart?: string
|
||||
visitDateEnd?: string
|
||||
}) {
|
||||
return request.get({ url: '/web/admin/exhibition-appointments', params })
|
||||
}
|
||||
|
||||
@@ -1873,6 +1885,8 @@ export function fetchStorageCertList(params?: {
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
makeStatus?: string
|
||||
storageInDateStart?: string
|
||||
storageInDateEnd?: string
|
||||
}) {
|
||||
return request.get({ url: '/web/admin/storage-certs', params })
|
||||
}
|
||||
@@ -1884,6 +1898,8 @@ export function fetchFullmoonTodoList(params?: {
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
todoStatus?: string
|
||||
fullmoonDateStart?: string
|
||||
fullmoonDateEnd?: string
|
||||
}) {
|
||||
return request.get({ url: '/web/admin/fullmoon-todos', params })
|
||||
}
|
||||
@@ -2005,3 +2021,167 @@ export function fetchConfirmTxn(txnId: string, data: Record<string, any>) {
|
||||
export function fetchVoidTxn(txnId: string) {
|
||||
return request.put({ url: `/web/admin/channel-service-order-txns/${txnId}/void` })
|
||||
}
|
||||
|
||||
// ==================== 中试服务申请单 ====================
|
||||
|
||||
export function fetchPilotApplicationList(params: any) {
|
||||
return request({ url: '/pilot-application/list', method: 'get', params })
|
||||
}
|
||||
export function fetchPilotApplicationDetail(params: any) {
|
||||
return request({ url: '/pilot-application/detail', method: 'get', params })
|
||||
}
|
||||
export function createPilotApplication(data: any) {
|
||||
return request({ url: '/pilot-application/create', method: 'post', data })
|
||||
}
|
||||
export function updatePilotApplication(data: any) {
|
||||
return request({ url: '/pilot-application/update', method: 'put', data })
|
||||
}
|
||||
export function deletePilotApplication(data: any) {
|
||||
return request({ url: '/pilot-application/delete', method: 'delete', data })
|
||||
}
|
||||
export function startPilotApplication(data: any) {
|
||||
return request({ url: '/pilot-application/start', method: 'post', data })
|
||||
}
|
||||
export function completePilotApplication(data: any) {
|
||||
return request({ url: '/pilot-application/complete', method: 'post', data })
|
||||
}
|
||||
export function voidPilotApplication(data: any) {
|
||||
return request({ url: '/pilot-application/void', method: 'post', data })
|
||||
}
|
||||
|
||||
// 患者信息
|
||||
export function fetchPilotPatient(params: any) {
|
||||
return request({ url: '/pilot-patient/detail', method: 'get', params })
|
||||
}
|
||||
export function savePilotPatient(data: any) {
|
||||
return request({ url: '/pilot-patient/save', method: 'post', data })
|
||||
}
|
||||
|
||||
// 输注方案
|
||||
export function fetchPilotInfusionPlanList(params: any) {
|
||||
return request({ url: '/pilot-infusion-plan/list', method: 'get', params })
|
||||
}
|
||||
export function createPilotInfusionPlan(data: any) {
|
||||
return request({ url: '/pilot-infusion-plan/create', method: 'post', data })
|
||||
}
|
||||
export function updatePilotInfusionPlan(data: any) {
|
||||
return request({ url: '/pilot-infusion-plan/update', method: 'put', data })
|
||||
}
|
||||
export function deletePilotInfusionPlan(data: any) {
|
||||
return request({ url: '/pilot-infusion-plan/delete', method: 'delete', data })
|
||||
}
|
||||
|
||||
// 输注计划
|
||||
export function fetchPilotInfusionScheduleList(params: any) {
|
||||
return request({ url: '/pilot-infusion-schedule/list', method: 'get', params })
|
||||
}
|
||||
export function autoGenerateSchedules(data: any) {
|
||||
return request({ url: '/pilot-infusion-schedule/auto-generate', method: 'post', data })
|
||||
}
|
||||
export function updatePilotInfusionSchedule(data: any) {
|
||||
return request({ url: '/pilot-infusion-schedule/update', method: 'put', data })
|
||||
}
|
||||
export function deletePilotInfusionSchedule(data: any) {
|
||||
return request({ url: '/pilot-infusion-schedule/delete', method: 'delete', data })
|
||||
}
|
||||
export function markScheduleComplete(data: any) {
|
||||
return request({ url: '/pilot-infusion-schedule/mark-complete', method: 'post', data })
|
||||
}
|
||||
|
||||
// ========== 中试服务 - 体检管理 ==========
|
||||
export const fetchPilotCheckupDetail = (params: any) =>
|
||||
request.get('/web/admin/pilot-checkup/detail', { params })
|
||||
|
||||
export const savePilotCheckup = (data: any) =>
|
||||
request.post('/web/admin/pilot-checkup/save', data)
|
||||
|
||||
export const deletePilotCheckup = (data: any) =>
|
||||
request.delete('/web/admin/pilot-checkup/delete', { data })
|
||||
|
||||
export const markPilotCheckupChecked = (data: any) =>
|
||||
request.post('/web/admin/pilot-checkup/mark-checked', data)
|
||||
|
||||
export const settlePilotCheckupFee = (data: any) =>
|
||||
request.post('/web/admin/pilot-checkup/settle-fee', data)
|
||||
|
||||
export const fetchPilotCheckupReserveItems = (params: any) =>
|
||||
request.get('/web/admin/pilot-checkup/reserve-items', { params })
|
||||
|
||||
export const savePilotCheckupReserveItems = (data: any) =>
|
||||
request.post('/web/admin/pilot-checkup/reserve-items/save', data)
|
||||
|
||||
export const deletePilotCheckupReserveItem = (data: any) =>
|
||||
request.delete('/web/admin/pilot-checkup/reserve-item/delete', { data })
|
||||
|
||||
export const fetchPilotCheckupActualItems = (params: any) =>
|
||||
request.get('/web/admin/pilot-checkup/actual-items', { params })
|
||||
|
||||
export const savePilotCheckupActualItems = (data: any) =>
|
||||
request.post('/web/admin/pilot-checkup/actual-items/save', data)
|
||||
|
||||
export const deletePilotCheckupActualItem = (data: any) =>
|
||||
request.delete('/web/admin/pilot-checkup/actual-item/delete', { data })
|
||||
|
||||
// ========== 中试服务 - 交付管理 ==========
|
||||
export const fetchPilotDeliveryDetail = (params: any) =>
|
||||
request.get('/web/admin/pilot-delivery/detail', { params })
|
||||
|
||||
export const fetchPilotDeliveryListByApplication = (params: any) =>
|
||||
request.get('/web/admin/pilot-delivery/list-by-application', { params })
|
||||
|
||||
export const createPilotDelivery = (data: any) =>
|
||||
request.post('/web/admin/pilot-delivery/create', data)
|
||||
|
||||
export const deletePilotDelivery = (data: any) =>
|
||||
request.delete('/web/admin/pilot-delivery/delete', { data })
|
||||
|
||||
export const fetchPilotDeliveryMaterials = (params: any) =>
|
||||
request.get('/web/admin/pilot-delivery/materials', { params })
|
||||
|
||||
export const savePilotDeliveryMaterials = (data: any) =>
|
||||
request.post('/web/admin/pilot-delivery/materials/save', data)
|
||||
|
||||
export const fetchPilotDeliveryMethod = (params: any) =>
|
||||
request.get('/web/admin/pilot-delivery/method', { params })
|
||||
|
||||
export const savePilotDeliveryMethod = (data: any) =>
|
||||
request.post('/web/admin/pilot-delivery/method/save', data)
|
||||
|
||||
// ========== 中试服务 - 出库联动 ==========
|
||||
export const createOutboundProductionWorkOrder = (data: any) =>
|
||||
request.post('/web/admin/pilot-infusion-schedule/create-production-work-order', data)
|
||||
|
||||
export const createOutboundQcWorkOrder = (data: any) =>
|
||||
request.post('/web/admin/pilot-infusion-schedule/create-qc-work-order', data)
|
||||
|
||||
// ========== 中试服务 - 放行审核 ==========
|
||||
export const createReleaseReview = (data: any) =>
|
||||
request.post('/web/admin/pilot-release-review/create', data)
|
||||
|
||||
export const fetchReleaseReviewList = (params: any) =>
|
||||
request.get('/web/admin/pilot-release-review/list', { params })
|
||||
|
||||
export const updateReleaseReview = (data: any) =>
|
||||
request.put('/web/admin/pilot-release-review/update', data)
|
||||
|
||||
export const deleteReleaseReview = (data: any) =>
|
||||
request.delete('/web/admin/pilot-release-review/delete', { data })
|
||||
|
||||
// ========== 中试服务 - 应用确认 ==========
|
||||
export const createInfusionConfirm = (data: any) =>
|
||||
request.post('/web/admin/pilot-infusion-confirm/create', data)
|
||||
|
||||
export const fetchInfusionConfirmList = (params: any) =>
|
||||
request.get('/web/admin/pilot-infusion-confirm/list', { params })
|
||||
|
||||
export const getInfusionConfirmDetail = (params: any) =>
|
||||
request.get('/web/admin/pilot-infusion-confirm/detail', { params })
|
||||
|
||||
export const confirmInfusion = (data: any) =>
|
||||
request.post('/web/admin/pilot-infusion-confirm/confirm', data)
|
||||
|
||||
export const updateInfusionConfirm = (data: any) =>
|
||||
request.put('/web/admin/pilot-infusion-confirm/update', data)
|
||||
|
||||
export const deleteInfusionConfirm = (data: any) =>
|
||||
request.delete('/web/admin/pilot-infusion-confirm/delete', { data })
|
||||
@@ -16,6 +16,10 @@ export function fetchCollectionProtocolList(params?: {
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
protocolStatus?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
sampleCollectTimeStart?: string
|
||||
sampleCollectTimeEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<CollectionProtocolRow>>({
|
||||
url: '/web/admin/collection-protocols',
|
||||
@@ -62,14 +66,26 @@ export function fetchSubmitProtocolAudit(
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchReceiptConfirmList(params?: { page?: number; pageSize?: number }) {
|
||||
export function fetchReceiptConfirmList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
installmentDueDateStart?: string
|
||||
installmentDueDateEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<Record<string, unknown>>>({
|
||||
url: '/web/admin/protocol-payment-details/receipt-confirm',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchReceiptConfirmedList(params?: { page?: number; pageSize?: number }) {
|
||||
export function fetchReceiptConfirmedList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
installmentDueDateStart?: string
|
||||
installmentDueDateEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<Record<string, unknown>>>({
|
||||
url: '/web/admin/protocol-payment-details/receipt-confirmed',
|
||||
params
|
||||
@@ -87,14 +103,26 @@ export function fetchReceiptConfirmSubmit(
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchRefundConfirmList(params?: { page?: number; pageSize?: number }) {
|
||||
export function fetchRefundConfirmList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
installmentDueDateStart?: string
|
||||
installmentDueDateEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<Record<string, unknown>>>({
|
||||
url: '/web/admin/protocol-payment-details/refund-confirm',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchRefundConfirmedList(params?: { page?: number; pageSize?: number }) {
|
||||
export function fetchRefundConfirmedList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
installmentDueDateStart?: string
|
||||
installmentDueDateEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<Record<string, unknown>>>({
|
||||
url: '/web/admin/protocol-payment-details/refund-confirmed',
|
||||
params
|
||||
@@ -161,6 +189,8 @@ export function fetchPaymentDetailList(params?: {
|
||||
payStatus?: string
|
||||
keyword?: string
|
||||
transferType?: string
|
||||
installmentDueDateStart?: string
|
||||
installmentDueDateEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<Record<string, unknown>>>({
|
||||
url: '/web/admin/protocol-payment-details',
|
||||
|
||||
@@ -10,6 +10,8 @@ export function fetchProductionTaskList(params?: {
|
||||
keyword?: string
|
||||
taskStatus?: string
|
||||
workOrderId?: string
|
||||
startedTimeStart?: string
|
||||
startedTimeEnd?: string
|
||||
}) {
|
||||
return request.get<{
|
||||
list: any[]
|
||||
|
||||
@@ -27,6 +27,8 @@ export function fetchProductionWorkOrderList(params?: {
|
||||
keyword?: string
|
||||
workOrderStatus?: string
|
||||
workOrderType?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
}) {
|
||||
return request.get<{
|
||||
list: ProductionWorkOrderItem[]
|
||||
|
||||
@@ -116,6 +116,8 @@ export function fetchQcWorkOrderList(params?: {
|
||||
keyword?: string
|
||||
workOrderStatus?: string
|
||||
workOrderType?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<QcWorkOrder>>({
|
||||
url: '/web/admin/qc-work-orders',
|
||||
|
||||
@@ -16,6 +16,10 @@ export function fetchResearchDonationList(params?: {
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
donationStatus?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
sampleCollectTimeStart?: string
|
||||
sampleCollectTimeEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<ResearchDonationRow>>({
|
||||
url: '/web/admin/research-donations',
|
||||
|
||||
@@ -13,6 +13,8 @@ export function fetchSampleReceptionPendingList(params?: {
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
sourceType?: string
|
||||
etaTimeStart?: string
|
||||
etaTimeEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<Record<string, unknown>>>({
|
||||
url: '/web/admin/sample-receptions/pending',
|
||||
@@ -25,6 +27,8 @@ export function fetchSampleReceptionReceivedList(params?: {
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
sourceType?: string
|
||||
receptionTimeStart?: string
|
||||
receptionTimeEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<Record<string, unknown>>>({
|
||||
url: '/web/admin/sample-receptions/received',
|
||||
|
||||
@@ -15,6 +15,8 @@ export function fetchSampleSmsNotificationList(params?: {
|
||||
keyword?: string
|
||||
acceptConclusion?: string
|
||||
smsNotified?: string
|
||||
receptionTimeStart?: string
|
||||
receptionTimeEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<Record<string, unknown>>>({
|
||||
url: '/web/admin/sample-sms-notifications/list',
|
||||
|
||||
@@ -15,6 +15,8 @@ export function fetchStorageEntrySmsList(params?: {
|
||||
keyword?: string
|
||||
storageStatus?: string
|
||||
smsNotified?: string
|
||||
storageTimeStart?: string
|
||||
storageTimeEnd?: string
|
||||
}) {
|
||||
return request.get<PageList<Record<string, unknown>>>({
|
||||
url: '/web/admin/storage-entry-sms-notifications/list',
|
||||
|
||||
Reference in new issue
Block a user