This commit is contained in:
zlwu committed 2026-06-18 11:05:53 +08:00
1 parent 58a47b96a5
commit 482d6bbe5d
70 files changed
+28702 -25810

No files matched your search

+3
View File
@@ -923,6 +923,7 @@ export function fetchCreateCellSampleType(data: {
typeLogo?: string
storageYears?: number | null
storagePrice?: number | null
sampleCodeFilter?: string
orderNum?: number
remark?: string
}) {
@@ -936,6 +937,7 @@ export function fetchUpdateCellSampleType(
typeLogo: string
storageYears: number | null
storagePrice: number | null
sampleCodeFilter: string
orderNum: number
remark: string
}>
@@ -1084,6 +1086,7 @@ export function fetchSampleCodeList(params?: {
pageSize?: number
keyword?: string
sampleCodeType?: string
codeFilter?: string
issuedUserId?: string
}) {
return request.get<PageResult<Api.BizSampleCode.SampleCodeItem>>({
+14
View File
@@ -188,6 +188,13 @@ export function confirmClinicalReceipt(id: string, data: any) {
})
}
export function rejectClinicalReceipt(id: string) {
return request.post({
url: `/web/admin/clinical-payments/${id}/reject-receipt`,
showSuccessMessage: true
})
}
export function submitClinicalRefund(id: string, data: any) {
return request.post({
url: `/web/admin/clinical-payments/${id}/submit-refund`,
@@ -209,6 +216,13 @@ export function confirmClinicalRefund(id: string, data: any) {
})
}
export function rejectClinicalRefund(id: string) {
return request.post({
url: `/web/admin/clinical-payments/${id}/reject-refund`,
showSuccessMessage: true
})
}
export function fetchClinicalReceiptPending(params: any) {
return request.get({
url: '/web/admin/clinical-payments/receipt-pending',
+36 -1
View File
@@ -104,6 +104,13 @@ export function fetchReceiptConfirmSubmit(
})
}
export function fetchReceiptConfirmReject(detailId: string) {
return request.post({
url: `/web/admin/protocol-payment-details/${detailId}/receipt-reject`,
showSuccessMessage: true
})
}
export function fetchRefundConfirmList(params?: {
page?: number
pageSize?: number
@@ -141,9 +148,37 @@ export function fetchRefundConfirmSubmit(
})
}
export function fetchSubmitReceiptFinance(detailId: string) {
export function fetchRefundConfirmReject(detailId: string) {
return request.post({
url: `/web/admin/protocol-payment-details/${detailId}/refund-reject`,
showSuccessMessage: true
})
}
export type PaymentDetailDraftPayload = {
transferType?: string
transferAmount?: number | null
transferTime?: string | null
transferAttachments?: string
remark?: string
}
export function fetchUpdatePaymentDetailDraft(
detailId: string,
data: PaymentDetailDraftPayload,
options?: { showSuccessMessage?: boolean }
) {
return request.put({
url: `/web/admin/protocol-payment-details/${detailId}`,
data,
showSuccessMessage: options?.showSuccessMessage ?? true
})
}
export function fetchSubmitReceiptFinance(detailId: string, data?: PaymentDetailDraftPayload) {
return request.post({
url: `/web/admin/protocol-payment-details/${detailId}/submit-receipt-finance`,
data: data || {},
showSuccessMessage: true
})
}