feat(credit): 新增客户导入与数据导出功能
- 在信用客户模块中添加了导入客户的功能,支持通过文件上传方式导入客户数据 - 实现了多个信用相关模块的数据导出功能,包括企业、司法案件、风险关系、供应商及用户模块 - 更新了搜索组件以支持导出事件,并在各模块中实现了具体的导出逻辑 - 简化了部分表单项的标签显示并移除了冗余字段,优化了用户体验 - 修复了一些潜在的代码格式问题和不必要的注释块
This commit is contained in:
@@ -13,6 +13,12 @@
|
||||
</template>
|
||||
<span>导入</span>
|
||||
</a-button>
|
||||
<a-button class="ele-btn-icon" @click="exportData">
|
||||
<template #icon>
|
||||
<CloudDownloadOutlined />
|
||||
</template>
|
||||
<span>导出</span>
|
||||
</a-button>
|
||||
<a-button
|
||||
danger
|
||||
class="ele-btn-icon"
|
||||
@@ -40,6 +46,7 @@
|
||||
import {
|
||||
PlusOutlined,
|
||||
CloudUploadOutlined,
|
||||
CloudDownloadOutlined,
|
||||
DeleteOutlined
|
||||
} from '@ant-design/icons-vue';
|
||||
import type {
|
||||
@@ -63,6 +70,7 @@
|
||||
(e: 'remove'): void;
|
||||
(e: 'batchMove'): void;
|
||||
(e: 'importData'): void;
|
||||
(e: 'exportData'): void;
|
||||
}>();
|
||||
|
||||
const keywords = ref('');
|
||||
@@ -83,6 +91,11 @@
|
||||
emit('importData');
|
||||
};
|
||||
|
||||
// 导出
|
||||
const exportData = () => {
|
||||
emit('exportData');
|
||||
};
|
||||
|
||||
// 批量删除
|
||||
const remove = () => {
|
||||
emit('remove');
|
||||
|
||||
Reference in New Issue
Block a user