|
@@ -121,7 +121,7 @@
|
|
|
import chartPit_sg from './chart-pit-sg.vue' //饼图
|
|
|
import bigdataSupermap from '@/components/supermap' //超图
|
|
|
|
|
|
- import {initPieChartData,eventcatalogueBigData,deptBigData} from '@/api/bigdata/bigdata';
|
|
|
+ import {initPieChartData,eventcatalogueBigData,deptBigData,getRlt} from '@/api/bigdata/bigdata';
|
|
|
import {
|
|
|
fontConfig
|
|
|
} from '@/api/login'
|
|
@@ -144,11 +144,10 @@
|
|
|
created() {
|
|
|
this.fontConfig()
|
|
|
this.eventcatalogueBigData();
|
|
|
+ this.rlt()
|
|
|
},
|
|
|
mounted() {
|
|
|
- setTimeout(() => {
|
|
|
- this.$refs.bigdataSupermap.loadHeatMap()//事件分布
|
|
|
- }, 1000)
|
|
|
+
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -189,6 +188,15 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ rlt() {
|
|
|
+ let that = this
|
|
|
+ getRlt().then(resp => {
|
|
|
+ setTimeout(() => {
|
|
|
+ //事件分布
|
|
|
+ that.$refs.bigdataSupermap.loadHeatMap(resp.data)
|
|
|
+ }, 5000)
|
|
|
+ })
|
|
|
+ },
|
|
|
fontConfig(){
|
|
|
fontConfig().then(res => {
|
|
|
this.systemTitle.title = res.data.fontTitle;
|