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 49faf701..3ba17bde 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" } ] },
+
{{code}}-{{item.permissionsCode}}