| | |
| | | import { getTimeDistance, yuan, fixedZero } from '@delon/abc'; |
| | | import { getNotice, getActivities } from '../../../../../_mock/api.service'; |
| | | import { getFakeChartData } from '../../../../../_mock/chart.service'; |
| | | import { _HttpClient } from '@delon/theme'; |
| | | |
| | | @Component({ |
| | | selector: 'app-dashboard-workplace', |
| | |
| | | ]; |
| | | // endregion |
| | | |
| | | constructor(public msg: NzMessageService) {} |
| | | constructor( |
| | | public msg: NzMessageService, |
| | | public http: _HttpClient, |
| | | ) { } |
| | | |
| | | ngOnInit() { |
| | | debugger; |
| | | this.http.get('user-context').subscribe( |
| | | res => { |
| | | console.log(res); |
| | | } |
| | | ); |
| | | setTimeout(() => { |
| | | this.notice = getNotice(); |
| | | this.activities = getActivities().map((item: any) => { |