| | |
| | | import { Component, OnInit } from '@angular/core'; |
| | | import { NzMessageService } from 'ng-zorro-antd'; |
| | | import { ModalHelper } from '@delon/theme'; |
| | | import { _HttpClient } from '@delon/theme'; |
| | | import { HttpClient } from '@angular/common/http'; |
| | | import { getInstaller, deleteInstaller } from '../../../../../_mock/installer.service'; |
| | | import * as moment from 'moment'; |
| | | import { UserInstallerEditComponent } from './edit/edit.component'; |
| | |
| | | sortMap: any = {}; |
| | | |
| | | constructor( |
| | | public http: _HttpClient, |
| | | public http: HttpClient, |
| | | public msgSrv: NzMessageService, |
| | | private modalHelper: ModalHelper) {} |
| | | |
| | |
| | | if (reload) { |
| | | this.q.pi = 1; |
| | | } |
| | | this.http.get('./assets/users-installer-data.json', this.q).subscribe((res: any) => { |
| | | this.http.get('http://localhost:8001/user/operate_user', this.q).subscribe((res: any) => { |
| | | |
| | | let data = res.data; |
| | | const total = res.total; |
| | | |