diff --git a/.env.development b/.env.development index b8ccd8b..fbcc74b 100644 --- a/.env.development +++ b/.env.development @@ -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 diff --git a/src/api/credit/creditJudicialDocument/model/index.ts b/src/api/credit/creditJudicialDocument/model/index.ts index b7704bd..b5ba0db 100644 --- a/src/api/credit/creditJudicialDocument/model/index.ts +++ b/src/api/credit/creditJudicialDocument/model/index.ts @@ -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; // 案由 diff --git a/src/views/credit/creditJudicialDocument/index.vue b/src/views/credit/creditJudicialDocument/index.vue index 12e97f8..2e9099b 100644 --- a/src/views/credit/creditJudicialDocument/index.vue +++ b/src/views/credit/creditJudicialDocument/index.vue @@ -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: () =>