feat(credit): 添加历史数据导入功能并优化公司信息展示

- 在多个信用模块中添加历史数据导入按钮,支持导入历史行政许可、破产重整、失信被执行人等
- 引入 CloudUploadOutlined 图标用于导入功能标识
- 重构 creditCompanyInfo 组件中的数据表结构,调整各数据类型的字段顺序和显示配置
- 为附近企业模块增加更多详细字段如邮政编码、纳税人识别号、企业规模等
- 更新分支结构和破产重整等模块的字段隐藏配置
- 优化页面布局使用 a-space 组件改进工具栏样式
This commit is contained in:
2026-01-19 22:36:00 +08:00
parent 8fd96fb05c
commit 8e76658ce0
8 changed files with 246 additions and 155 deletions

View File

@@ -12,15 +12,23 @@
class="sys-org-table"
>
<template #toolbar>
<search
@search="reload"
:selection="selection"
@add="openEdit"
@remove="removeBatch"
@batchMove="openMove"
@importData="openImport"
@exportData="exportData"
/>
<a-space class="flex">
<search
@search="reload"
:selection="selection"
@add="openEdit"
@remove="removeBatch"
@batchMove="openMove"
@importData="openImport"
@exportData="exportData"
/>
<a-button type="dashed" class="ele-btn-icon" @click="openImport2">
<template #icon>
<CloudUploadOutlined />
</template>
<span class="text-red-500">导入历史终本案件</span>
</a-button>
</a-space>
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'image'">
@@ -60,7 +68,7 @@
<script lang="ts" setup>
import { createVNode, ref } from 'vue';
import { message, Modal } from 'ant-design-vue';
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
import { ExclamationCircleOutlined, CloudUploadOutlined } from '@ant-design/icons-vue';
import type { EleProTable } from 'ele-admin-pro';
import { toDateString } from 'ele-admin-pro';
import type {