feat(credit): 添加历史数据导入功能和操作人字段
- 在多个信用模块API中新增历史数据导入功能,包括行政许可、破产重整、失信被执行人、开庭公告、终本案件等 - 为信用相关页面表格增加操作人(realName)字段显示 - 新增历史数据导入弹窗组件,支持Excel文件上传和模板下载 - 实现导入历史数据的API接口函数,支持文件和公司ID参数 - 优化信用模块页面UI布局,添加历史导入按钮和相关组件引用
This commit is contained in:
@@ -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'">
|
||||
@@ -54,13 +62,15 @@
|
||||
/>
|
||||
<!-- 导入弹窗 -->
|
||||
<CreditCourtSessionImport v-model:visible="showImport" @done="reload" />
|
||||
<!-- 历史导入弹窗 -->
|
||||
<CreditCourtSessionHistoryImport v-model:visible="showImport2" @done="reload" />
|
||||
</a-page-header>
|
||||
</template>
|
||||
|
||||
<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 {
|
||||
@@ -72,6 +82,7 @@
|
||||
import { getPageTitle } from '@/utils/common';
|
||||
import CreditCourtSessionEdit from './components/creditCourtSessionEdit.vue';
|
||||
import CreditCourtSessionImport from './components/credit-court-session-import.vue';
|
||||
import CreditCourtSessionHistoryImport from './components/credit-court-session-history-import.vue';
|
||||
import {
|
||||
pageCreditCourtSession,
|
||||
listCreditCourtSession,
|
||||
@@ -165,6 +176,13 @@
|
||||
key: 'occurrenceTime',
|
||||
width: 120
|
||||
},
|
||||
{
|
||||
title: '操作人',
|
||||
dataIndex: 'realName',
|
||||
key: 'realName',
|
||||
width: 90,
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
dataIndex: 'createTime',
|
||||
|
||||
Reference in New Issue
Block a user