Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -64,7 +64,7 @@ export class ApiAuthComponent implements OnInit {
|
|||||||
|
|
||||||
openDrawer(item: any) {
|
openDrawer(item: any) {
|
||||||
this.drawer.create({
|
this.drawer.create({
|
||||||
nzTitle: '接口权限配置',
|
nzTitle: `接口权限配置(${item.text})`,
|
||||||
nzContent: AuthDrawerComponent,
|
nzContent: AuthDrawerComponent,
|
||||||
nzWidth: 900,
|
nzWidth: 900,
|
||||||
nzContentParams: { id: item.id, appId: this.selectedPlatform.appId, code: item.keyCode }
|
nzContentParams: { id: item.id, appId: this.selectedPlatform.appId, code: item.keyCode }
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
[req]="{ method: 'POST', allInBody: true, process: beforeReq }" [res]="{ reName: { list: 'data' } }"
|
[req]="{ method: 'POST', allInBody: true, process: beforeReq }" [res]="{ reName: { list: 'data' } }"
|
||||||
[page]="{ show: false}" [loading]="service.http.loading" class="mt-md">
|
[page]="{ show: false}" [loading]="service.http.loading" class="mt-md">
|
||||||
<ng-template st-row="permissionsCode" let-item let-index="index">
|
<ng-template st-row="permissionsCode" let-item let-index="index">
|
||||||
<p nz-typography nzCopyable [nzCopyText]="item.code+'-'+item.permissionsCode">
|
<p nz-typography nzCopyable [nzCopyText]="item.code+'-'+item.permissionsCode" style="margin-bottom: 0;">
|
||||||
{{code}}-{{item.permissionsCode}} </p>
|
{{code}}-{{item.permissionsCode}} </p>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
@ -31,7 +31,7 @@
|
|||||||
<se label="权限编码" required>
|
<se label="权限编码" required>
|
||||||
<input nz-input [(ngModel)]="functionInfo.permissionsCode" placeholder="请输入权限编码" [disabled]="isDisabled" />
|
<input nz-input [(ngModel)]="functionInfo.permissionsCode" placeholder="请输入权限编码" [disabled]="isDisabled" />
|
||||||
</se>
|
</se>
|
||||||
<se label="api地址" required>
|
<se label="api地址">
|
||||||
<input nz-input [(ngModel)]="functionInfo.permissionsUrl" placeholder="请输入权限路径" [disabled]="isDisabled" />
|
<input nz-input [(ngModel)]="functionInfo.permissionsUrl" placeholder="请输入权限路径" [disabled]="isDisabled" />
|
||||||
</se>
|
</se>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -54,6 +54,11 @@
|
|||||||
"text": "货主员工列表",
|
"text": "货主员工列表",
|
||||||
"icon": "anticon anticon-dashboard",
|
"icon": "anticon anticon-dashboard",
|
||||||
"link": "/usercenter/freight/user"
|
"link": "/usercenter/freight/user"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "货主员工详情",
|
||||||
|
"icon": "anticon anticon-dashboard",
|
||||||
|
"link": "/usercenter/freight/user/view/:id"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@ -52,6 +52,11 @@
|
|||||||
"text": "货主员工列表",
|
"text": "货主员工列表",
|
||||||
"icon": "anticon anticon-dashboard",
|
"icon": "anticon anticon-dashboard",
|
||||||
"link": "/usercenter/freight/user"
|
"link": "/usercenter/freight/user"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "货主员工详情",
|
||||||
|
"icon": "anticon anticon-dashboard",
|
||||||
|
"link": "/usercenter/freight/user/view/:id"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user