feat(credit): 更新裁判文书模块的数据结构和界面展示
- 在CreditJudicialDocument接口中新增title和releaseDate字段 - 修改裁判文书列表页面的表格列配置,更新显示字段 - 新增发布日期和修改时间的显示列 - 将部分字段名称进行调整以更好地匹配业务需求 - 解除开发环境API地址的注释以启用本地服务调用
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
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
|
||||
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@ import type { PageParam } from '@/api';
|
||||
export interface CreditJudicialDocument {
|
||||
// ID
|
||||
id?: number;
|
||||
// 文书标题
|
||||
title?: string;
|
||||
// 数据类型
|
||||
dataType?: string;
|
||||
// 原告/上诉人
|
||||
@@ -18,6 +20,8 @@ export interface CreditJudicialDocument {
|
||||
otherPartiesThirdParty?: string;
|
||||
// 发生时间
|
||||
occurrenceTime?: string;
|
||||
// 发布日期
|
||||
releaseDate?: string;
|
||||
// 案号
|
||||
caseNumber?: string;
|
||||
// 案由
|
||||
|
||||
@@ -232,14 +232,15 @@
|
||||
filename: '裁判文书',
|
||||
columns: [
|
||||
{ title: 'ID', dataIndex: 'id' },
|
||||
{ title: '数据类型', dataIndex: 'dataType' },
|
||||
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
|
||||
{ title: '文书标题', dataIndex: 'title' },
|
||||
{ title: '被告/被上诉人', dataIndex: 'appellee' },
|
||||
{ title: '当事人', dataIndex: 'otherPartiesThirdParty' },
|
||||
{ title: '发生时间', dataIndex: 'occurrenceTime' },
|
||||
{ title: '发布日期', dataIndex: 'releaseDate' },
|
||||
{ title: '案号', dataIndex: 'caseNumber' },
|
||||
{ title: '案由', dataIndex: 'causeOfAction' },
|
||||
{ title: '涉案金额', dataIndex: 'involvedAmount' },
|
||||
{ title: '法院', dataIndex: 'courtName' },
|
||||
{ title: '数据状态', dataIndex: 'dataStatus' },
|
||||
{ title: '裁判结果', dataIndex: 'defendantAppellee' },
|
||||
{
|
||||
title: '创建时间',
|
||||
dataIndex: 'createTime',
|
||||
@@ -247,6 +248,14 @@
|
||||
record.createTime
|
||||
? 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: () =>
|
||||
|
||||
Reference in New Issue
Block a user