完成智慧法务前端调整20250522,还有登录和主页需要完善

This commit is contained in:
2025-05-27 23:48:28 +08:00
parent 742a789244
commit 690d369f57
30 changed files with 1557 additions and 292 deletions
+5 -1
View File
@@ -75,7 +75,8 @@ export const loader = async ({ request }: LoaderFunctionArgs) => {
value: type.id,
label: type.name
}));
// console.log('typesResponse-----',JSON.stringify(documentsResponse.data?.documents[1],null,2));
return Response.json({
documents: documentsResponse.data?.documents || [],
total: documentsResponse.data?.total || 0,
@@ -643,10 +644,12 @@ export default function DocumentsIndex() {
<div className="mt-2 flex inline-block">
<FileTypeTag
type={record.type}
typeName={record.typeName}
text={record.typeName}
size="sm"
showIcon={false}
fileType={record.fileType}
colorMode="light"
/>
{record.isTest && (
<span className="ml-2 text-xs bg-gray-100 text-gray-500 px-1 rounded"></span>
@@ -878,6 +881,7 @@ export default function DocumentsIndex() {
onStartDateChange={(value) => handleDateChange('dateFrom', value)}
onEndDateChange={(value) => handleDateChange('dateTo', value)}
simple={true}
colorMode="light"
/>
</div>
</FilterPanel>