From d743a9af68d85c57c6a326844014e0c6694ed812 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Fri, 21 Jan 2022 17:59:24 +0800 Subject: [PATCH] edit --- .../menu-manager/components/api-auth/api-auth.component.ts | 2 +- .../api-auth/auth-drawer/auth-drawer.component.html | 4 ++-- src/assets/mocks/menu-data.json | 5 +++++ src/assets/mocks/platform/tms-obc-web.json | 5 +++++ 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/app/routes/menu-manager/components/api-auth/api-auth.component.ts b/src/app/routes/menu-manager/components/api-auth/api-auth.component.ts index 9a7a9fa0..ba637fe0 100644 --- a/src/app/routes/menu-manager/components/api-auth/api-auth.component.ts +++ b/src/app/routes/menu-manager/components/api-auth/api-auth.component.ts @@ -64,7 +64,7 @@ export class ApiAuthComponent implements OnInit { openDrawer(item: any) { this.drawer.create({ - nzTitle: '接口权限配置', + nzTitle: `接口权限配置(${item.text})`, nzContent: AuthDrawerComponent, nzWidth: 900, nzContentParams: { id: item.id, appId: this.selectedPlatform.appId, code: item.keyCode } diff --git a/src/app/routes/menu-manager/components/api-auth/auth-drawer/auth-drawer.component.html b/src/app/routes/menu-manager/components/api-auth/auth-drawer/auth-drawer.component.html index aec07a59..2c0432ab 100644 --- a/src/app/routes/menu-manager/components/api-auth/auth-drawer/auth-drawer.component.html +++ b/src/app/routes/menu-manager/components/api-auth/auth-drawer/auth-drawer.component.html @@ -17,7 +17,7 @@ [req]="{ method: 'POST', allInBody: true, process: beforeReq }" [res]="{ reName: { list: 'data' } }" [page]="{ show: false}" [loading]="service.http.loading" class="mt-md"> -

+

{{code}}-{{item.permissionsCode}}

@@ -31,7 +31,7 @@ - + diff --git a/src/assets/mocks/menu-data.json b/src/assets/mocks/menu-data.json index 77c36754..40b35d74 100644 --- a/src/assets/mocks/menu-data.json +++ b/src/assets/mocks/menu-data.json @@ -54,6 +54,11 @@ "text": "货主员工列表", "icon": "anticon anticon-dashboard", "link": "/usercenter/freight/user" + }, + { + "text": "货主员工详情", + "icon": "anticon anticon-dashboard", + "link": "/usercenter/freight/user/view/:id" } ] }, diff --git a/src/assets/mocks/platform/tms-obc-web.json b/src/assets/mocks/platform/tms-obc-web.json index 384eca53..d1c34ebb 100644 --- a/src/assets/mocks/platform/tms-obc-web.json +++ b/src/assets/mocks/platform/tms-obc-web.json @@ -52,6 +52,11 @@ "text": "货主员工列表", "icon": "anticon anticon-dashboard", "link": "/usercenter/freight/user" + }, + { + "text": "货主员工详情", + "icon": "anticon anticon-dashboard", + "link": "/usercenter/freight/user/view/:id" } ] },