|
|
|
@ -62,15 +62,9 @@ export class IndexComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
ngOnInit(): void { |
|
|
|
|
|
|
|
|
|
this.http.jsonp('/areas_v3/bound/510000_full.json' , 'features').subscribe(data => { |
|
|
|
|
console.log(data); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.adminInfoObject = this.store.get(ADMIN_INFO_OBJECT); |
|
|
|
|
this.roleType = this.store.get(ADMIN_INFO_OBJECT)['secRole'].roleType; |
|
|
|
|
console.log(this.roleType); |
|
|
|
|
if (this.roleType === 1) { |
|
|
|
|
this.getIndexCount(); |
|
|
|
|
this.getLineCount(); |
|
|
|
@ -362,6 +356,12 @@ export class IndexComponent implements OnInit { |
|
|
|
|
yAxis: { |
|
|
|
|
type: 'value' |
|
|
|
|
}, |
|
|
|
|
tooltip: { |
|
|
|
|
trigger: 'axis', |
|
|
|
|
axisPointer: { |
|
|
|
|
type: 'shadow' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
series: [ |
|
|
|
|
{ |
|
|
|
|
data: sumData, |
|
|
|
@ -410,6 +410,7 @@ export class IndexComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
data: productData |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
series: [ |
|
|
|
|
{ |
|
|
|
|
data: sumData, |
|
|
|
|