fix: 1. 重新对齐交叉评查的接口。

2. 确认评查结果的接口对接。 3. 新增评查点适配省级创建的响应数据和其他用户创建的单条响应数据。  4. 文档列表的文档类型通过通用的查询接口查询文档类型。优化加载状态的时机。
This commit is contained in:
2025-12-11 11:16:50 +08:00
parent ba517d7b9c
commit d8bba607fc
18 changed files with 3435 additions and 1086 deletions
+3 -2
View File
@@ -58,7 +58,7 @@ export async function getOrganizationTree(includeUsers: boolean = true, jwtToken
if (jwtToken) {
// 如果提供了JWT Token,则使用axios并携带Authorization头
const url = `${API_BASE_URL}/admin/users/organizations?include_users=${includeUsers}`;
const url = `${API_BASE_URL}/api/v2/users/organizations?include_users=${includeUsers}`;
const response = await axios.get(url, {
headers: {
'Authorization': `Bearer ${jwtToken}`,
@@ -67,7 +67,8 @@ export async function getOrganizationTree(includeUsers: boolean = true, jwtToken
});
responseData = response.data;
} else {
}
else {
// 否则,使用原有的get方法
const response = await get<OrganizationResponse>(
`/admin/users/organizations?include_users=${includeUsers}`