From 19cc342e6f33566407f39f317a09a96b299fadcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Fri, 24 Oct 2025 17:24:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E9=81=93=E6=B0=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mdm/CountryRegion/index.ts | 19 +- src/views/mdm/Bank/components/Form.vue | 522 +++++++++++++++++- src/views/mdm/Bank/index.vue | 5 - src/views/mdm/CountryRegion/index.vue | 15 +- src/views/mdm/ExpenseName/index.vue | 15 +- .../PipeGasDownloadPoint/components/config.ts | 479 ++++++++-------- src/views/mdm/PipeGasDownloadPoint/index.vue | 2 +- .../mdm/PipelineGgasLine/components/config.ts | 122 ++-- src/views/mdm/PipelineGgasLine/index.vue | 2 +- src/views/mdm/TaxRate/index.vue | 15 +- 10 files changed, 865 insertions(+), 331 deletions(-) diff --git a/src/api/mdm/CountryRegion/index.ts b/src/api/mdm/CountryRegion/index.ts index 2976d5a..af6a01b 100644 --- a/src/api/mdm/CountryRegion/index.ts +++ b/src/api/mdm/CountryRegion/index.ts @@ -14,11 +14,12 @@ enum Api { Disable= '/mdm/countryRegion/disable', DataLog = '/mdm/countryRegion/datalog', - TreeData = '/mdm/countryRegion/tree' + TreeData = '/mdm/countryRegion/tree', + TreeChild = '/mdm/countryRegion/child' } /** - * @description: 查询LngBRegion分页列表 + * @description: 查询LngBRegion树 */ export async function getTreeData(params: LngBRegionPageParams, mode: ErrorMessageMode = 'modal') { return defHttp.get( @@ -31,6 +32,20 @@ export async function getTreeData(params: LngBRegionPageParams, mode: ErrorMessa }, ); } +/** + * @description: 分节点查询LngBRegion树 + */ +export async function getTreeChild(params: LngBRegionPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.TreeChild, + params, + }, + { + errorMessageMode: mode, + }, + ); +} /** * @description: 查询LngBRegion分页列表 diff --git a/src/views/mdm/Bank/components/Form.vue b/src/views/mdm/Bank/components/Form.vue index 7ec809a..82b567d 100644 --- a/src/views/mdm/Bank/components/Form.vue +++ b/src/views/mdm/Bank/components/Form.vue @@ -7,7 +7,8 @@ />