feat(credit): 添加信用模块主体企业归属修正功能

- 新增 refreshCreditCompanyId API 方法用于修正信用模块数据的企业归属
- 创建 RefreshCompanyIdButton 组件提供统一的修正企业归属按钮界面
- 在多个信用模块页面集成修正企业归属功能按钮
- 更新 CreditSearchToolbar 组件添加修正企业归属按钮
- 修改多个信用模块页面布局结构调整工具栏元素顺序
- 启用 .env.development 中的 API URL 配置
This commit is contained in:
2026-01-20 22:12:39 +08:00
parent d5e2c43f4e
commit fa188f482b
24 changed files with 346 additions and 202 deletions

View File

@@ -12,15 +12,18 @@
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">
<RefreshCompanyIdButton module="credit-branch" @done="reload" />
<search
@search="reload"
:selection="selection"
@add="openEdit"
@remove="removeBatch"
@batchMove="openMove"
@importData="openImport"
@exportData="exportData"
/>
</a-space>
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'companyName'">
@@ -79,6 +82,7 @@
ColumnItem
} from 'ele-admin-pro/es/ele-pro-table/types';
import Search from '@/views/credit/components/CreditSearchToolbar2.vue';
import RefreshCompanyIdButton from '@/views/credit/components/RefreshCompanyIdButton.vue';
import { exportCreditData } from '../utils/export';
import { getPageTitle } from '@/utils/common';
import CreditBranchEdit from './components/creditBranchEdit.vue';