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 @@ />