feat(credit): 更新裁判文书模块的数据结构和界面展示

- 在CreditJudicialDocument接口中新增title和releaseDate字段
- 修改裁判文书列表页面的表格列配置,更新显示字段
- 新增发布日期和修改时间的显示列
- 将部分字段名称进行调整以更好地匹配业务需求
- 解除开发环境API地址的注释以启用本地服务调用
This commit is contained in:
2026-01-18 22:52:25 +08:00
parent 9dd5589330
commit 463636578d
3 changed files with 18 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
VITE_APP_NAME=后台管理(开发环境) VITE_APP_NAME=后台管理(开发环境)
#VITE_API_URL=http://127.0.0.1:9200/api VITE_API_URL=http://127.0.0.1:9200/api
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api #VITE_SERVER_API_URL=http://127.0.0.1:8000/api

View File

@@ -6,6 +6,8 @@ import type { PageParam } from '@/api';
export interface CreditJudicialDocument { export interface CreditJudicialDocument {
// ID // ID
id?: number; id?: number;
// 文书标题
title?: string;
// 数据类型 // 数据类型
dataType?: string; dataType?: string;
// 原告/上诉人 // 原告/上诉人
@@ -18,6 +20,8 @@ export interface CreditJudicialDocument {
otherPartiesThirdParty?: string; otherPartiesThirdParty?: string;
// 发生时间 // 发生时间
occurrenceTime?: string; occurrenceTime?: string;
// 发布日期
releaseDate?: string;
// 案号 // 案号
caseNumber?: string; caseNumber?: string;
// 案由 // 案由

View File

@@ -232,14 +232,15 @@
filename: '裁判文书', filename: '裁判文书',
columns: [ columns: [
{ title: 'ID', dataIndex: 'id' }, { title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' }, { title: '文书标题', dataIndex: 'title' },
{ title: '告/上诉人', dataIndex: 'plaintiffAppellant' }, { title: '告/上诉人', dataIndex: 'appellee' },
{ title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '发生时间', dataIndex: 'occurrenceTime' }, { title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '发布日期', dataIndex: 'releaseDate' },
{ title: '案号', dataIndex: 'caseNumber' }, { title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' }, { title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' }, { title: '涉案金额', dataIndex: 'involvedAmount' },
{ title: '法院', dataIndex: 'courtName' }, { title: '裁判结果', dataIndex: 'defendantAppellee' },
{ title: '数据状态', dataIndex: 'dataStatus' },
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createTime', dataIndex: 'createTime',
@@ -247,6 +248,14 @@
record.createTime record.createTime
? toDateString(record.createTime, 'yyyy-MM-dd HH:mm:ss') ? toDateString(record.createTime, 'yyyy-MM-dd HH:mm:ss')
: '' : ''
},
{
title: '修改时间',
dataIndex: 'updateTime',
formatter: (record: CreditJudicialDocument) =>
record.updateTime
? toDateString(record.updateTime, 'yyyy-MM-dd HH:mm:ss')
: ''
} }
], ],
fetchData: () => fetchData: () =>