refactor(credit): 调整信用模块数据结构和界面展示
- 修改CreditFinalVersion和CreditGqdj接口字段定义,调整字段顺序和内容 - 移除搜索工具栏中的添加按钮,暂时禁用该功能 - 更新行政许可编辑弹窗样式,设置宽度为70%并移除底部操作按钮 - 移除行政许可编辑表单中的多个冗余字段,精简表单内容 - 为信用相关表格组件添加选择功能和横向滚动支持 - 调整多个信用模块表格列配置,移除省略号显示,优化列标题 - 隐藏表格操作列,暂时禁用行操作功能 - 更新企业信息表格字段配置,增加更多企业相关信息列 - 调整企业表格显示逻辑,将名称替换为匹配名称进行展示 - 为多个信用模块表格添加复选框选择功能 - 移除部分表格中的备注字段,简化数据显示 - 注释掉行双击编辑事件,暂停双击编辑功能
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
:columns="columns"
|
||||
:datasource="datasource"
|
||||
:customRow="customRow"
|
||||
:selection="selection"
|
||||
:scroll="{ x: 2400 }"
|
||||
tool-class="ele-toolbar-form"
|
||||
class="sys-org-table"
|
||||
>
|
||||
@@ -145,44 +147,37 @@
|
||||
{
|
||||
title: '决定文书/许可编号',
|
||||
dataIndex: 'code',
|
||||
key: 'code',
|
||||
ellipsis: true
|
||||
key: 'code'
|
||||
},
|
||||
{
|
||||
title: '决定文书/许可证名称',
|
||||
dataIndex: 'name',
|
||||
key: 'name',
|
||||
ellipsis: true
|
||||
key: 'name'
|
||||
},
|
||||
{
|
||||
title: '许可状态',
|
||||
dataIndex: 'statusText',
|
||||
key: 'statusText',
|
||||
ellipsis: true
|
||||
key: 'statusText'
|
||||
},
|
||||
{
|
||||
title: '许可类型',
|
||||
dataIndex: 'type',
|
||||
key: 'type',
|
||||
ellipsis: true
|
||||
key: 'type'
|
||||
},
|
||||
{
|
||||
title: '有效期自',
|
||||
dataIndex: 'validityStart',
|
||||
key: 'validityStart',
|
||||
ellipsis: true
|
||||
key: 'validityStart'
|
||||
},
|
||||
{
|
||||
title: '有效期至',
|
||||
dataIndex: 'validityEnd',
|
||||
key: 'validityEnd',
|
||||
ellipsis: true
|
||||
key: 'validityEnd'
|
||||
},
|
||||
{
|
||||
title: '许可机关',
|
||||
dataIndex: 'licensingAuthority',
|
||||
key: 'licensingAuthority',
|
||||
ellipsis: true
|
||||
key: 'licensingAuthority'
|
||||
},
|
||||
{
|
||||
title: '许可内容',
|
||||
@@ -193,8 +188,7 @@
|
||||
{
|
||||
title: '数据来源单位',
|
||||
dataIndex: 'dataSourceUnit',
|
||||
key: 'dataSourceUnit',
|
||||
ellipsis: true
|
||||
key: 'dataSourceUnit'
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
@@ -206,14 +200,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
|
||||
// }
|
||||
]);
|
||||
|
||||
/* 搜索 */
|
||||
@@ -251,21 +245,12 @@
|
||||
{ title: '决定文书/许可编号', dataIndex: 'code' },
|
||||
{ title: '决定文书/许可证名称', dataIndex: 'name' },
|
||||
{ title: '许可状态', dataIndex: 'statusText' },
|
||||
{ title: '许可类型', dataIndex: 'type' },
|
||||
{ title: '许可类别', dataIndex: 'type' },
|
||||
{ title: '有效期自', dataIndex: 'validityStart' },
|
||||
{ title: '有效期至', dataIndex: 'validityEnd' },
|
||||
{ title: '许可机关', dataIndex: 'licensingAuthority' },
|
||||
{ title: '许可内容', dataIndex: 'licenseContent' },
|
||||
{ title: '数据来源单位', dataIndex: 'dataSourceUnit' },
|
||||
{ title: '备注', dataIndex: 'comments' },
|
||||
{
|
||||
title: '创建时间',
|
||||
dataIndex: 'createTime',
|
||||
formatter: (record: CreditAdministrativeLicense) =>
|
||||
record.createTime
|
||||
? toDateString(record.createTime, 'yyyy-MM-dd HH:mm:ss')
|
||||
: ''
|
||||
}
|
||||
{ title: '数据来源单位', dataIndex: 'dataSourceUnit' }
|
||||
],
|
||||
fetchData: () =>
|
||||
listCreditAdministrativeLicense({
|
||||
|
||||
Reference in New Issue
Block a user