fix style

This commit is contained in:
Lingzi
2022-03-07 20:27:13 +08:00
parent c11d9f3fa0
commit 9b7b07397b
39 changed files with 96 additions and 34 deletions

View File

@ -16,7 +16,7 @@
<nz-card class="content-box">
<div class="d-flex justify-content-between mb-sm">
<label style="font-size: 18px;">员工列表</label>
<label style="font-size: 18px;"></label>
<div>
<button nz-button nzType="primary" (click)="staffAction()" acl [acl-ability]="['SYSTEM-STAFF-add']">添加员工</button>
<button nz-button acl [acl-ability]="['SYSTEM-STAFF-export']">导出</button>

View File

@ -28,13 +28,14 @@ export class StaffManagementComponent implements OnInit {
};
columns: STColumn[] = [
{ title: '', index: 'key', type: 'checkbox' },
{ title: '员工姓名', index: 'name' },
{ title: '手机号码', index: 'telephone' },
{ title: '角色', index: 'roleName' },
{ title: '', index: 'key', className: 'text-center', type: 'checkbox' },
{ title: '员工姓名', className: 'text-center', index: 'name' },
{ title: '手机号码', className: 'text-center', index: 'telephone' },
{ title: '角色',className: 'text-center', index: 'roleName' },
{
title: '最后登录时间',
index: 'lastLoginDate',
className: 'text-center',
type: 'date'
},
{
@ -49,6 +50,7 @@ export class StaffManagementComponent implements OnInit {
},
{
title: '操作',
className: 'text-center',
buttons: [
{
text: '编辑',