feat: 1. 完善起草合同页面的逻辑交互,对接minio的接口操作

This commit is contained in:
2025-12-05 20:17:37 +08:00
parent 3d1dbb3f97
commit 91b7518c99
21 changed files with 1249 additions and 1057 deletions
+2 -2
View File
@@ -494,7 +494,7 @@ export async function updateDocumentAuditStatus(id: string, auditStatus: number,
}
const response = await postgrestPut<TaskDocument, Partial<TaskDocument>>(
'documents',
'/api/postgrest/proxy/documents',
{ audit_status: auditStatus },
{
id: parseInt(id)
@@ -526,7 +526,7 @@ export async function getCrossCheckingDocumentTypes(jwtToken?: string): Promise<
try {
// console.log('[getCrossCheckingDocumentTypes] 开始获取交叉评查文档类型');
const response = await postgrestGet<DocumentType>('document_types',{
const response = await postgrestGet<DocumentType>('/api/postgrest/proxy/document_types',{
select: 'id,name,code,evaluation_point_groups_ids',
filter: {
evaluation_point_groups_ids: 'not.is.null'