提交
This commit is contained in:
1 parent
8e2dd8b9f0
commit
e5ba8f097a
7 files changed
+353
-14
No files matched your search
@@ -51,12 +51,13 @@ export function fetchCollectionProtocolAuditList(params?: {
|
||||
|
||||
export function fetchSubmitProtocolAudit(
|
||||
protocolId: string,
|
||||
data: { auditStatus: string; auditRemark?: string }
|
||||
data: { auditStatus: string; auditRemark?: string },
|
||||
options?: { showSuccessMessage?: boolean }
|
||||
) {
|
||||
return request.post({
|
||||
url: `/web/admin/collection-protocols/${protocolId}/audit`,
|
||||
data,
|
||||
showSuccessMessage: true
|
||||
showSuccessMessage: options?.showSuccessMessage ?? true
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user