员工管理
This commit is contained in:
@ -69,8 +69,8 @@ export class ZorroDemoComponent implements OnInit {
|
||||
this.service
|
||||
.request('/rule?_allow_anonymous=true', this.q)
|
||||
.pipe(
|
||||
map((list: Array<{ status: number; statusText: string; statusType: string }>) =>
|
||||
list.map(i => {
|
||||
map((list: { records: Array<{ status: number; statusText: string; statusType: string }> }) =>
|
||||
list.records.map(i => {
|
||||
const statusItem = this.status[i.status];
|
||||
i.statusText = statusItem.text;
|
||||
i.statusType = statusItem.type;
|
||||
|
||||
Reference in New Issue
Block a user