添加登录内容,尚未完善,先创建分支

This commit is contained in:
2025-07-14 12:31:43 +08:00
parent e3109423d4
commit fff474f46b
25 changed files with 2693 additions and 1102 deletions
+2 -2
View File
@@ -643,7 +643,7 @@ export default function DocumentsIndex() {
// 检查audit_status是否为0,如果是则更新为2
if (auditStatus === 0 || auditStatus === null) {
try {
// console.log('开始审核',fileId,auditStatus)
const response = await updateDocumentAuditStatus(fileId.toString(), 2);
if (response.error) {
console.error('更新文件审核状态失败:', response.error);
@@ -656,7 +656,7 @@ export default function DocumentsIndex() {
return;
}
}
// console.log('更新成功,开始跳转')
// 导航到评查详情页
navigate(`/reviews?id=${fileId}&previousRoute=documents`);
};