From 728b11f6fd8fa47032291da8f098bef81c29ab9d Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Tue, 23 Apr 2024 15:40:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/data/common/dictionary.namespace.ts | 13 +++++++ .../sys-account/sys-account.component.html | 38 +++++++++--------- .../sys-account/sys-account.component.less | 2 +- .../sys-account/sys-account.component.ts | 8 +++- .../account/sys-role/sys-role.component.html | 10 ++--- src/app/pages/body/index/index.component.ts | 26 ++++++++++--- src/app/pages/system/menu/menu.component.html | 5 +-- src/app/pages/system/menu/menu.component.ts | 17 ++++---- .../pipes/account/sys-account-status.pipe.ts | 20 ---------- src/app/pipes/common/dictionary.pipe.ts | 39 +++++++++++++++++++ src/app/pipes/menu/menu-type.pipe.ts | 21 ---------- src/app/servies/common/common.service.ts | 29 ++++++++++++++ 12 files changed, 145 insertions(+), 83 deletions(-) create mode 100644 src/app/data/common/dictionary.namespace.ts delete mode 100644 src/app/pipes/account/sys-account-status.pipe.ts create mode 100644 src/app/pipes/common/dictionary.pipe.ts delete mode 100644 src/app/pipes/menu/menu-type.pipe.ts create mode 100644 src/app/servies/common/common.service.ts diff --git a/src/app/data/common/dictionary.namespace.ts b/src/app/data/common/dictionary.namespace.ts new file mode 100644 index 0000000..280d530 --- /dev/null +++ b/src/app/data/common/dictionary.namespace.ts @@ -0,0 +1,13 @@ +export interface Dictionary { + codeType: string; + codeValue: string; + codeName: string; + codeDesc: string; + sortId: number; + ext1: string; + ext2: string; + ext3: string; +} + +export const dictionaryData: Dictionary[] = []; + diff --git a/src/app/pages/account/sys-account/sys-account.component.html b/src/app/pages/account/sys-account/sys-account.component.html index 9c3ff04..549fdb8 100644 --- a/src/app/pages/account/sys-account/sys-account.component.html +++ b/src/app/pages/account/sys-account/sys-account.component.html @@ -1,42 +1,41 @@ -