提交
This commit is contained in:
1 parent
4a00f21bfb
commit
edf88dc016
1503 files changed
+329728
-41987
No files matched your search
+107
-17
@@ -1309,7 +1309,11 @@ export function fetchUpdateRoleDataScope(
|
||||
// 洁净室管理
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export function fetchCleanRoomList(params?: { page?: number; pageSize?: number; keyword?: string }) {
|
||||
export function fetchCleanRoomList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
}) {
|
||||
return request.get({ url: '/web/admin/clean-rooms', params })
|
||||
}
|
||||
|
||||
@@ -1325,7 +1329,12 @@ export function fetchDeleteCleanRoom(id: string) {
|
||||
return request.del({ url: `/web/admin/clean-rooms/${id}` })
|
||||
}
|
||||
|
||||
export function fetchAccessLogList(params?: { page?: number; pageSize?: number; cleanRoomId?: string; keyword?: string }) {
|
||||
export function fetchAccessLogList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
cleanRoomId?: string
|
||||
keyword?: string
|
||||
}) {
|
||||
return request.get({ url: '/web/admin/clean-room-access-logs', params })
|
||||
}
|
||||
|
||||
@@ -1369,7 +1378,12 @@ export function fetchCreateStorageSlot(data: Record<string, any>) {
|
||||
return request.post({ url: '/web/admin/storage-facility-slots', params: data })
|
||||
}
|
||||
|
||||
export function fetchBatchCreateSlots(data: { facilityNodeId: string; rows: number; cols: number; codePrefix?: string }) {
|
||||
export function fetchBatchCreateSlots(data: {
|
||||
facilityNodeId: string
|
||||
rows: number
|
||||
cols: number
|
||||
codePrefix?: string
|
||||
}) {
|
||||
return request.post({ url: '/web/admin/storage-facility-slots/batch', params: data })
|
||||
}
|
||||
|
||||
@@ -1594,11 +1608,7 @@ export function fetchDeleteProjectSystemItem(id: string) {
|
||||
// 中试服务管理 — 渠道信息(主表)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export function fetchChannelList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
}) {
|
||||
export function fetchChannelList(params?: { page?: number; pageSize?: number; keyword?: string }) {
|
||||
return request.get({
|
||||
url: '/web/admin/channels',
|
||||
params
|
||||
@@ -1867,7 +1877,10 @@ export function fetchInsuranceProjectPrices(companyId: string) {
|
||||
}
|
||||
|
||||
export function fetchCreateInsuranceProjectPrice(companyId: string, data: Record<string, any>) {
|
||||
return request.post({ url: `/web/admin/insurance-companies/${companyId}/project-prices`, params: data })
|
||||
return request.post({
|
||||
url: `/web/admin/insurance-companies/${companyId}/project-prices`,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchUpdateInsuranceProjectPrice(id: string, data: Record<string, any>) {
|
||||
@@ -1947,17 +1960,26 @@ export function fetchSubmitServiceOrderFinanceConfirm(orderId: string, data: Rec
|
||||
|
||||
/** 财务确认收款 */
|
||||
export function fetchConfirmServiceOrderReceipt(orderId: string, data: Record<string, any>) {
|
||||
return request.post({ url: `/web/admin/channel-service-orders/${orderId}/confirm-receipt`, params: data })
|
||||
return request.post({
|
||||
url: `/web/admin/channel-service-orders/${orderId}/confirm-receipt`,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
/** 提交退款 */
|
||||
export function fetchSubmitServiceOrderRefund(orderId: string, data: Record<string, any>) {
|
||||
return request.post({ url: `/web/admin/channel-service-orders/${orderId}/submit-refund`, params: data })
|
||||
return request.post({
|
||||
url: `/web/admin/channel-service-orders/${orderId}/submit-refund`,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
/** 确认退款 */
|
||||
export function fetchConfirmServiceOrderRefund(orderId: string, data: Record<string, any>) {
|
||||
return request.post({ url: `/web/admin/channel-service-orders/${orderId}/confirm-refund`, params: data })
|
||||
return request.post({
|
||||
url: `/web/admin/channel-service-orders/${orderId}/confirm-refund`,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
/** 作废订单 */
|
||||
@@ -1989,7 +2011,10 @@ export function fetchServiceOrderTxnDetail(txnId: string) {
|
||||
|
||||
/** 发起充值 */
|
||||
export function fetchCreateRechargeTxn(orderId: string, data: Record<string, any>) {
|
||||
return request.post({ url: `/web/admin/channel-service-orders/${orderId}/recharge`, params: data })
|
||||
return request.post({
|
||||
url: `/web/admin/channel-service-orders/${orderId}/recharge`,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
/** 申请退款 */
|
||||
@@ -1999,12 +2024,18 @@ export function fetchCreateRefundTxn(orderId: string, data: Record<string, any>)
|
||||
|
||||
/** 购买产品 */
|
||||
export function fetchCreatePurchaseTxn(orderId: string, data: Record<string, any>) {
|
||||
return request.post({ url: `/web/admin/channel-service-orders/${orderId}/purchase`, params: data })
|
||||
return request.post({
|
||||
url: `/web/admin/channel-service-orders/${orderId}/purchase`,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
/** 退订产品 */
|
||||
export function fetchCreateUnsubscribeTxn(orderId: string, data: Record<string, any>) {
|
||||
return request.post({ url: `/web/admin/channel-service-orders/${orderId}/unsubscribe`, params: data })
|
||||
return request.post({
|
||||
url: `/web/admin/channel-service-orders/${orderId}/unsubscribe`,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
/** 更新待生效流水 */
|
||||
@@ -2014,12 +2045,18 @@ export function fetchUpdateServiceOrderTxn(txnId: string, data: Record<string, a
|
||||
|
||||
/** 流水发起财务确认 */
|
||||
export function fetchSubmitTxnFinance(txnId: string, data: Record<string, any>) {
|
||||
return request.post({ url: `/web/admin/channel-service-order-txns/${txnId}/submit-finance`, params: data })
|
||||
return request.post({
|
||||
url: `/web/admin/channel-service-order-txns/${txnId}/submit-finance`,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
/** 流水财务确认 */
|
||||
export function fetchConfirmTxn(txnId: string, data: Record<string, any>) {
|
||||
return request.post({ url: `/web/admin/channel-service-order-txns/${txnId}/confirm`, params: data })
|
||||
return request.post({
|
||||
url: `/web/admin/channel-service-order-txns/${txnId}/confirm`,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
/** 作废流水 */
|
||||
@@ -2211,3 +2248,56 @@ export const updateInfusionConfirm = (data: any) =>
|
||||
|
||||
export const deleteInfusionConfirm = (data: any) =>
|
||||
request.del({ url: '/web/admin/pilot-infusion-confirm/delete', data })
|
||||
|
||||
// ========== 中试服务 - 输注计划管理 ==========
|
||||
export function fetchInfusionScheduleMgmtList(params: any) {
|
||||
return request.get({ url: '/web/admin/pilot-infusion-schedule-mgmt/list', params })
|
||||
}
|
||||
export function fetchInfusionScheduleMgmtDetail(params: { scheduleId: string } | { id: string }) {
|
||||
const scheduleId =
|
||||
'scheduleId' in params && params.scheduleId
|
||||
? params.scheduleId
|
||||
: 'id' in params
|
||||
? params.id
|
||||
: ''
|
||||
return request.get({
|
||||
url: '/web/admin/pilot-infusion-schedule-mgmt/detail',
|
||||
params: { scheduleId }
|
||||
})
|
||||
}
|
||||
export function updateInfusionScheduleStatus(data: {
|
||||
scheduleId?: string
|
||||
id?: string
|
||||
infusionStatus: string
|
||||
cancelReason?: string
|
||||
}) {
|
||||
const scheduleId = data.scheduleId || data.id || ''
|
||||
return request.put({
|
||||
url: '/web/admin/pilot-infusion-schedule-mgmt/update-status',
|
||||
data: {
|
||||
scheduleId,
|
||||
infusionStatus: data.infusionStatus,
|
||||
cancelReason: data.cancelReason
|
||||
}
|
||||
})
|
||||
}
|
||||
export function updateInfusionScheduleQcStatus(data: {
|
||||
scheduleId?: string
|
||||
id?: string
|
||||
qcStatus: string
|
||||
}) {
|
||||
const scheduleId = data.scheduleId || data.id || ''
|
||||
return request.put({
|
||||
url: '/web/admin/pilot-infusion-schedule-mgmt/update-qc-status',
|
||||
data: {
|
||||
scheduleId,
|
||||
qcStatus: data.qcStatus
|
||||
}
|
||||
})
|
||||
}
|
||||
export function updateInfusionScheduleMgmt(data: any) {
|
||||
return request.put({
|
||||
url: '/web/admin/pilot-infusion-schedule-mgmt/update',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user