1.2.0
This commit is contained in:
@ -25,8 +25,10 @@
|
||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||
</div>
|
||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.expend-options]="_$expand" class="text-right">
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||
<button nz-button [disabled]="false" nzType="primary">导出</button>
|
||||
<button nz-button nzType="primary" acl [acl-ability]="['SYSTEM-ANNOUNCEMENT-list']"
|
||||
[nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||
<button nz-button [disabled]="false" nzType="primary" acl
|
||||
[acl-ability]="['SYSTEM-ANNOUNCEMENT-export']">导出</button>
|
||||
<button nz-button [disabled]="false" (click)="resetSF()">重置</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
{{ !_$expand ? '展开' : '收起' }}
|
||||
@ -40,7 +42,8 @@
|
||||
<nz-card class="content-box">
|
||||
<div class="d-flex justify-content-end mb-sm mt-sm">
|
||||
<div>
|
||||
<button nz-button nzType="primary" (click)="roleAction('', 1)">新增公告</button>
|
||||
<button nz-button nzType="primary" (click)="roleAction('', 1)" acl
|
||||
[acl-ability]="['SYSTEM-ANNOUNCEMENT-add']">新增公告</button>
|
||||
</div>
|
||||
</div>
|
||||
<st #st [data]="service.$api_getAnnouncementInfoList_page" [columns]="columns" [req]="{ params: reqParams }"
|
||||
|
||||
@ -39,10 +39,12 @@ export class AnnouncementMessageComponent implements OnInit {
|
||||
buttons: [
|
||||
{
|
||||
text: '编辑',
|
||||
acl: { ability: ['SYSTEM-ANNOUNCEMENT-edit'] },
|
||||
click: item => this.roleAction(item, 2)
|
||||
},
|
||||
{
|
||||
text: '删除',
|
||||
acl: { ability: ['SYSTEM-ANNOUNCEMENT-delete'] },
|
||||
click: item => this.deleteAction(item)
|
||||
},
|
||||
]
|
||||
|
||||
@ -54,7 +54,7 @@ const routes: Routes = [
|
||||
{ path: 'network-freight/new/:id', component: NetworkFreightNewComponent },
|
||||
{ path: 'close-account', component: CloseAccountComponent },
|
||||
// { path: 'btn-management', component: BtnManagementComponent },
|
||||
{ path: 'announcement-message', component: AnnouncementMessageComponent },
|
||||
{ path: 'announcement-message', component: AnnouncementMessageComponent, data: { guard: { ability: ['SYSTEM-ANNOUNCEMENT-list'] } } },
|
||||
{ path: 'insurance-set', component: InsuranceSetComponent },
|
||||
{ path: 'sms-template', component: SmsTemplateComponent, data: { guard: { ability: ['SMS_TEMPLATE-search'] } } }
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user