|
|
@ -201,6 +201,7 @@ export class StationWeeklyPlanComponent implements OnInit { |
|
|
|
this.http.get('/api/PlanTasks', { |
|
|
|
this.http.get('/api/PlanTasks', { |
|
|
|
params: params |
|
|
|
params: params |
|
|
|
}).subscribe((data: any) => { |
|
|
|
}).subscribe((data: any) => { |
|
|
|
|
|
|
|
|
|
|
|
this.isLoading = false |
|
|
|
this.isLoading = false |
|
|
|
// console.log('任务申请列表', data.items);
|
|
|
|
// console.log('任务申请列表', data.items);
|
|
|
|
data.items.forEach(element => { |
|
|
|
data.items.forEach(element => { |
|
|
@ -243,7 +244,8 @@ export class StationWeeklyPlanComponent implements OnInit { |
|
|
|
this.http.get('/api/PlanTasks', { |
|
|
|
this.http.get('/api/PlanTasks', { |
|
|
|
params: params |
|
|
|
params: params |
|
|
|
}).subscribe((data: any) => { |
|
|
|
}).subscribe((data: any) => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
item.isLoading = false |
|
|
|
item.isLoading = false |
|
|
|
let listData = [ |
|
|
|
let listData = [ |
|
|
|
{ name: '双随机', background: '#1D9DFF', icon: 'suiji.png', scale: '0/0', data: [], inspected: 0, finished: 0 }, |
|
|
|
{ name: '双随机', background: '#1D9DFF', icon: 'suiji.png', scale: '0/0', data: [], inspected: 0, finished: 0 }, |
|
|
|