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
@@ -244,7 +244,7 @@ export async function getEntryModules(userRole: string | null | undefined, userA
filter: {}
};
const modulesResponse = await postgrestGet('entry_modules', { ...params, token });
const modulesResponse = await postgrestGet('/api/postgrest/proxy/entry_modules', { ...params, token });
if (modulesResponse.error) {
console.error('❌ [getEntryModules] 查询入口模块失败:', modulesResponse.error);
@@ -295,7 +295,7 @@ export async function getEntryModules(userRole: string | null | undefined, userA
}
};
const typesResponse = await postgrestGet('document_types', { ...typesParams, token });
const typesResponse = await postgrestGet('/api/postgrest/proxy/document_types', { ...typesParams, token });
if (typesResponse.error) {
console.error(`❌ [getEntryModules] 查询模块 ${module.id} 的文档类型失败:`, typesResponse.error);