From 819a00f7337e19a30b17925b79120a65a7bcff33 Mon Sep 17 00:00:00 2001 From: xuziqiang <1344691446@qq.com> Date: Wed, 12 Jun 2024 18:15:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=81=E4=B8=9A=E7=BB=86=E8=8A=82?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hx-op/src/api/origanizemanage.ts | 1 + .../enterpriseManage/TreeAdd.vue | 28 +++++-- .../enterpriseManage/config.ts | 18 ++-- .../enterpriseManage/index.vue | 84 +++++++++++-------- lib/util/http/axios.ts | 4 +- 5 files changed, 84 insertions(+), 51 deletions(-) diff --git a/hx-op/src/api/origanizemanage.ts b/hx-op/src/api/origanizemanage.ts index a5b8364..27fe2f3 100644 --- a/hx-op/src/api/origanizemanage.ts +++ b/hx-op/src/api/origanizemanage.ts @@ -15,4 +15,5 @@ export enum enterPrise { queryOrgPermission = `${BASE_URL}/admin/org/QueryOrgPermission`, queryOrgTree = `${BASE_URL}/admin/org/QueryLinkOrgTree`, resetPwd = `${BASE_URL}/api/user/resetPwd`, + delLink = `${BASE_URL}/admin/org/delLink`, } diff --git a/hx-op/src/view/organizationManage/enterpriseManage/TreeAdd.vue b/hx-op/src/view/organizationManage/enterpriseManage/TreeAdd.vue index 9438895..9b3188c 100644 --- a/hx-op/src/view/organizationManage/enterpriseManage/TreeAdd.vue +++ b/hx-op/src/view/organizationManage/enterpriseManage/TreeAdd.vue @@ -1,22 +1,35 @@ diff --git a/lib/util/http/axios.ts b/lib/util/http/axios.ts index 79aa7f9..c0fe1aa 100644 --- a/lib/util/http/axios.ts +++ b/lib/util/http/axios.ts @@ -75,10 +75,10 @@ export class NSAxios { return config; }, undefined); - const errCodeMap = new Map([ + const errCodeMap = new Map([ [13, ''], [1, ''], - [3005, () => routerConfig.logout()], + [10086, () => routerConfig.logout()], ]); // type closeType = (() => void) | undefined;