refactor(credit): 调整信用模块表格结构和字段映射

- 为所有信用相关表格组件添加 selection 和 scroll 属性支持
- 将司法文档模型中的 defendantAppellee 字段添加到类型定义
- 更新立案信息导入功能的标题和模板文件名
- 重新映射表格列配置,将 name 字段改为 caseNumber 字段
- 调整表格列宽度设置,优化显示效果
- 移除操作列的显示,注释掉编辑功能入口
- 为导出功能调整列配置,匹配新的字段映射
- 在多个表格中添加主体企业列并调整布局
- 修改文书标题、裁判结果等司法文档相关字段映射
This commit is contained in:
2026-01-18 22:22:59 +08:00
parent 836fd4d8d0
commit 2203b45ddc
14 changed files with 304 additions and 332 deletions

View File

@@ -24,6 +24,8 @@ export interface CreditJudicialDocument {
causeOfAction?: string;
// 涉案金额
involvedAmount?: string;
// 被告/被上诉人
defendantAppellee?: string;
// 法院
courtName?: string;
// 数据状态

View File

@@ -3,7 +3,7 @@
<ele-modal
:width="520"
:footer="null"
title="司法大数据批量导入"
title="立案信息批量导入"
:visible="visible"
@update:visible="updateVisible"
>
@@ -22,7 +22,7 @@
</a-spin>
<div class="ele-text-center">
<span>只能上传xlsxlsx文件</span>
<a :href="templateUrl" download="司法大数据导入模板.xlsx">
<a :href="templateUrl" download="立案信息导入模板.xlsx">
下载导入模板
</a>
</div>

View File

@@ -7,6 +7,7 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -25,12 +26,12 @@
<template v-if="column.key === 'image'">
<a-image :src="record.image" :width="50" />
</template>
<template v-if="column.key === 'name'">
<template v-if="column.key === 'caseNumber'">
<template v-if="record.url">
<a :href="record.url" target="_blank">{{ record.name }}</a>
<a :href="record.url" target="_blank">{{ record.caseNumber }}</a>
</template>
<template v-else>
{{ record.name }}
{{ record.caseNumber }}
</template>
</template>
<template v-if="column.key === 'status'">
@@ -139,53 +140,38 @@
key: 'id',
width: 80
},
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '案号',
dataIndex: 'caseNumber',
key: 'caseNumber',
ellipsis: true
ellipsis: true,
width: 260
},
{
title: '案由',
dataIndex: 'causeOfAction',
key: 'causeOfAction',
ellipsis: true
ellipsis: true,
width: 220
},
{
title: '涉案金额',
dataIndex: 'involvedAmount',
key: 'involvedAmount',
width: 120
title: '当事人',
dataIndex: 'otherPartiesThirdParty',
key: 'otherPartiesThirdParty',
width: 320
},
{
title: '法院',
dataIndex: 'courtName',
key: 'courtName',
ellipsis: true
ellipsis: true,
width: 180
},
{
title: '数据状态',
dataIndex: 'dataStatus',
key: 'dataStatus',
ellipsis: true
title: '立案日期',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '创建时间',
@@ -196,14 +182,14 @@
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -238,14 +224,11 @@
filename: '司法大数据',
columns: [
{ title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' },
{ title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '法院', dataIndex: 'courtName' },
{ title: '数据状态', dataIndex: 'dataStatus' },
{ title: '立案日期', dataIndex: 'occurrenceTime' },
{
title: '创建时间',
dataIndex: 'createTime',
@@ -318,7 +301,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,7 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -131,6 +132,12 @@
key: 'id',
width: 80
},
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{
title: '企业名称',
dataIndex: 'companyName',
@@ -177,14 +184,14 @@
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -297,7 +304,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,8 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
:scroll="{ x: 2000 }"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -25,6 +27,14 @@
<template v-if="column.key === 'image'">
<a-image :src="record.image" :width="50" />
</template>
<template v-if="column.key === 'caseNumber'">
<template v-if="record.url">
<a :href="record.url" target="_blank">{{ record.caseNumber }}</a>
</template>
<template v-else>
{{ record.caseNumber }}
</template>
</template>
<template v-if="column.key === 'status'">
<a-tag v-if="record.status === 0" color="green">显示</a-tag>
<a-tag v-if="record.status === 1" color="red">隐藏</a-tag>
@@ -134,24 +144,6 @@
key: 'id',
width: 80
},
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '案号',
dataIndex: 'caseNumber',
@@ -165,10 +157,9 @@
ellipsis: true
},
{
title: '涉案金额',
dataIndex: 'involvedAmount',
key: 'involvedAmount',
width: 120
title: '当事人',
dataIndex: 'otherPartiesThirdParty',
key: 'otherPartiesThirdParty'
},
{
title: '法院',
@@ -176,12 +167,6 @@
key: 'courtName',
ellipsis: true
},
{
title: '数据状态',
dataIndex: 'dataStatus',
key: 'dataStatus',
ellipsis: true
},
{
title: '创建时间',
dataIndex: 'createTime',
@@ -191,14 +176,14 @@
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -233,14 +218,12 @@
filename: '法院公告',
columns: [
{ title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' },
{ title: '法院', dataIndex: 'courtName' },
{ title: '数据状态', dataIndex: 'dataStatus' },
{ title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '公告类型', dataIndex: 'dataType' },
{ title: '公告人', dataIndex: 'plaintiffAppellant' },
{ title: '刊登日期', dataIndex: 'occurrenceTime' },
{
title: '创建时间',
dataIndex: 'createTime',
@@ -313,7 +296,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,7 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -81,6 +82,7 @@
CreditCourtSession,
CreditCourtSessionParam
} from '@/api/credit/creditCourtSession/model';
import type {CreditMediation} from "@/api/credit/creditMediation/model";
// 表格实例
const tableRef = ref<InstanceType<typeof EleProTable> | null>(null);
@@ -131,24 +133,6 @@
key: 'id',
width: 80
},
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '案号',
dataIndex: 'caseNumber',
@@ -162,10 +146,10 @@
ellipsis: true
},
{
title: '涉案金额',
dataIndex: 'involvedAmount',
key: 'involvedAmount',
width: 120
title: '当事人',
dataIndex: 'otherPartiesThirdParty',
key: 'otherPartiesThirdParty',
width: 320
},
{
title: '法院',
@@ -174,10 +158,10 @@
ellipsis: true
},
{
title: '数据状态',
dataIndex: 'dataStatus',
key: 'dataStatus',
ellipsis: true
title: '开庭时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '创建时间',
@@ -188,14 +172,14 @@
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -230,18 +214,15 @@
filename: '开庭公告',
columns: [
{ title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' },
{ title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '法院', dataIndex: 'courtName' },
{ title: '数据状态', dataIndex: 'dataStatus' },
{ title: '开庭时间', dataIndex: 'occurrenceTime' },
{
title: '创建时间',
dataIndex: 'createTime',
formatter: (record: CreditCourtSession) =>
formatter: (record: CreditMediation) =>
record.createTime
? toDateString(record.createTime, 'yyyy-MM-dd HH:mm:ss')
: ''
@@ -310,7 +291,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -137,6 +137,12 @@
key: 'id',
width: 90
},
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{
title: '客户',
dataIndex: 'name',
@@ -147,7 +153,8 @@
title: '状态',
dataIndex: 'statusTxt',
key: 'statusTxt',
ellipsis: true
ellipsis: true,
width: 120
},
{
title: '销售金额(万元)',
@@ -165,7 +172,8 @@
title: '数据来源',
dataIndex: 'dataSource',
key: 'dataSource',
ellipsis: true
ellipsis: true,
width: 120
},
{
title: '创建时间',
@@ -177,14 +185,14 @@
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 180,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 180,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -296,7 +304,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,7 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -25,6 +26,14 @@
<template v-if="column.key === 'image'">
<a-image :src="record.image" :width="50" />
</template>
<template v-if="column.key === 'caseNumber'">
<template v-if="record.url">
<a :href="record.url" target="_blank">{{ record.caseNumber }}</a>
</template>
<template v-else>
{{ record.caseNumber }}
</template>
</template>
<template v-if="column.key === 'status'">
<a-tag v-if="record.status === 0" color="green">显示</a-tag>
<a-tag v-if="record.status === 1" color="red">隐藏</a-tag>
@@ -131,24 +140,6 @@
key: 'id',
width: 80
},
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '案号',
dataIndex: 'caseNumber',
@@ -162,10 +153,9 @@
ellipsis: true
},
{
title: '涉案金额',
dataIndex: 'involvedAmount',
key: 'involvedAmount',
width: 120
title: '当事人',
dataIndex: 'otherPartiesThirdParty',
key: 'otherPartiesThirdParty'
},
{
title: '法院',
@@ -174,10 +164,10 @@
ellipsis: true
},
{
title: '数据状态',
dataIndex: 'dataStatus',
key: 'dataStatus',
ellipsis: true
title: '发布日期',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '创建时间',
@@ -188,14 +178,14 @@
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -230,14 +220,11 @@
filename: '送达公告',
columns: [
{ title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' },
{ title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '法院', dataIndex: 'courtName' },
{ title: '数据状态', dataIndex: 'dataStatus' },
{ title: '发布日期', dataIndex: 'occurrenceTime' },
{
title: '创建时间',
dataIndex: 'createTime',
@@ -310,7 +297,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,8 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
:scroll="{ x: 2400 }"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -139,6 +141,12 @@
key: 'id',
width: 80
},
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{
title: '被投资企业名称',
dataIndex: 'name',
@@ -149,7 +157,8 @@
title: '状态',
dataIndex: 'statusTxt',
key: 'statusTxt',
ellipsis: true
ellipsis: true,
width: 90
},
{
title: '法定代表人',
@@ -200,6 +209,20 @@
key: 'industry',
ellipsis: true
},
{
title: '投资数量',
dataIndex: 'investmentCount',
key: 'investmentCount',
ellipsis: true,
width: 120
},
{
title: '关联产品/机构',
dataIndex: 'relatedProductsInstitutions',
key: 'relatedProductsInstitutions',
ellipsis: true,
width: 120
},
{
title: '创建时间',
dataIndex: 'createTime',
@@ -208,15 +231,15 @@
align: 'center',
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -333,7 +356,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,8 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
:scroll="{ x: 2400 }"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -132,52 +134,52 @@
width: 80
},
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
title: '文书标题',
dataIndex: 'title',
key: 'title',
width: 280
},
{
title: '案号',
dataIndex: 'caseNumber',
key: 'caseNumber',
ellipsis: true
width: 240
},
{
title: '案由',
dataIndex: 'causeOfAction',
key: 'causeOfAction',
ellipsis: true
width: 240
},
{
title: '涉案金额',
title: '当事人',
dataIndex: 'otherPartiesThirdParty',
key: 'otherPartiesThirdParty'
},
{
title: '案件金额(元)',
dataIndex: 'involvedAmount',
key: 'involvedAmount',
width: 120
},
{
title: '法院',
dataIndex: 'courtName',
key: 'courtName',
ellipsis: true
title: '裁判结果',
dataIndex: 'defendantAppellee',
key: 'defendantAppellee',
width: 280
},
{
title: '数据状态',
dataIndex: 'dataStatus',
key: 'dataStatus',
ellipsis: true
title: '裁判日期',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '发布日期',
dataIndex: 'releaseDate',
key: 'releaseDate',
ellipsis: true,
width: 120
},
{
title: '创建时间',
@@ -188,14 +190,14 @@
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -310,7 +312,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,7 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -131,24 +132,6 @@
key: 'id',
width: 80
},
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '案号',
dataIndex: 'caseNumber',
@@ -161,12 +144,6 @@
key: 'causeOfAction',
ellipsis: true
},
{
title: '涉案金额',
dataIndex: 'involvedAmount',
key: 'involvedAmount',
width: 120
},
{
title: '法院',
dataIndex: 'courtName',
@@ -174,10 +151,10 @@
ellipsis: true
},
{
title: '数据状态',
dataIndex: 'dataStatus',
key: 'dataStatus',
ellipsis: true
title: '立案日期',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{
title: '创建时间',
@@ -188,14 +165,14 @@
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -230,14 +207,11 @@
filename: '诉前调解',
columns: [
{ title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' },
{ title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '法院', dataIndex: 'courtName' },
{ title: '数据状态', dataIndex: 'dataStatus' },
{ title: '立案日期', dataIndex: 'occurrenceTime' },
{
title: '创建时间',
dataIndex: 'createTime',
@@ -310,7 +284,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,7 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -131,11 +132,16 @@
key: 'id',
width: 80
},
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{
title: '主体名称',
dataIndex: 'mainBodyName',
key: 'mainBodyName',
ellipsis: true
key: 'mainBodyName'
},
{
title: '登记状态',
@@ -175,24 +181,15 @@
align: 'center',
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '修改时间',
dataIndex: 'updateTime',
key: 'updateTime',
width: 180,
align: 'center',
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -305,7 +302,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,7 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form"
class="sys-org-table"
>
@@ -131,6 +132,12 @@
key: 'id',
width: 80
},
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{
title: '供应商',
dataIndex: 'supplier',
@@ -141,7 +148,8 @@
title: '状态',
dataIndex: 'statusTxt',
key: 'statusTxt',
ellipsis: true
ellipsis: true,
width: 120
},
{
title: '采购金额(万元)',
@@ -159,7 +167,8 @@
title: '数据来源',
dataIndex: 'dataSource',
key: 'dataSource',
ellipsis: true
ellipsis: true,
width: 120
},
{
title: '创建时间',
@@ -170,14 +179,14 @@
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
}
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]);
/* 搜索 */
@@ -289,7 +298,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};

View File

@@ -7,6 +7,7 @@
:columns="columns"
:datasource="datasource"
:customRow="customRow"
:scroll="{ x: 2800 }"
tool-class="ele-toolbar-form"
class="sys-org-table"
v-model:selection="selection"
@@ -133,15 +134,23 @@
key: 'id',
width: 90
},
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{
title: '项目名称',
dataIndex: 'name',
key: 'name'
key: 'name',
width: 280
},
{
title: '发布日期',
dataIndex: 'releaseDate',
key: 'releaseDate'
key: 'releaseDate',
width: 220
},
// {
// title: '唯一标识',
@@ -159,21 +168,24 @@
title: '企业角色',
dataIndex: 'role',
key: 'role',
ellipsis: true
ellipsis: true,
width: 180
},
{
title: '信息类型',
dataIndex: 'infoType',
key: 'infoType',
ellipsis: true
},
{
title: '省份地区',
dataIndex: 'province',
key: 'province',
ellipsis: true
ellipsis: true,
width: 170
},
// {
// title: '省份地区',
// dataIndex: 'province',
// key: 'province',
// ellipsis: true,
// width: 180
// },
// {
// title: '所在城市',
// dataIndex: 'city',
// key: 'city',
@@ -185,30 +197,34 @@
// key: 'region',
// ellipsis: true
// },
// {
// title: '街道地址',
// dataIndex: 'address',
// key: 'address',
// ellipsis: true
// },
{
title: '省份地区',
dataIndex: 'address',
key: 'address',
ellipsis: true,
width: 180
},
{
title: '招采单位',
dataIndex: 'procurementName',
key: 'procurementName',
ellipsis: true
ellipsis: true,
width: 280
},
{
title: '中标单位',
dataIndex: 'winningName',
key: 'winningName',
ellipsis: true
ellipsis: true,
width: 280
},
{
title: '中标金额',
dataIndex: 'winningPrice',
key: 'winningPrice',
ellipsis: true
}
ellipsis: true,
width: 280
},
// {
// title: '排序',
// dataIndex: 'sortNumber',
@@ -342,7 +358,7 @@
},
// 行双击事件
onDblclick: () => {
openEdit(record);
// openEdit(record);
}
};
};