接入feat(cross-checking): 整合组织架构数据并优化意见列表功能

- 更新 API 配置,使用新的后端服务地址- 移除前端模拟数据,改为从后端获取真实数据- 优化意见列表接口,支持分页和用户身份验证
- 调整前端界面,适应新的数据结构和功能需求
This commit is contained in:
2025-07-20 21:29:42 +08:00
parent e4ce41cebe
commit 4d5ec6cdb7
7 changed files with 758 additions and 597 deletions
@@ -247,7 +247,7 @@ export function DocumentListModal({
<>
<div className="mb-4 flex items-center">
<i className="ri-file-list-3-line text-primary text-lg mr-2"></i>
<span className="text-sm text-secondary"></span>
<span className="text-sm text-secondary"></span>
<span className="text-base font-normal text-primary ml-1 mr-1">{total || files.length}</span>
<span className="text-sm text-secondary"></span>
</div>
@@ -275,7 +275,7 @@ export function DocumentListModal({
) : (
<div className="text-sm text-gray-500 mt-4 text-center">
{total} {pageSize}
{total <= pageSize && " (无需分页)"}
{total <= pageSize && ""}
</div>
)}
</>