|
@@ -173,8 +173,8 @@
|
|
|
import com5 from "../components/index/5.vue";
|
|
|
import vueSeamlessScroll from "vue-seamless-scroll";
|
|
|
import {
|
|
|
- fiveNum,
|
|
|
- mapsec,
|
|
|
+ // fiveNum,
|
|
|
+ // mapsec,
|
|
|
} from "../api";
|
|
|
|
|
|
export default {
|
|
@@ -342,7 +342,7 @@
|
|
|
this.timer = setInterval(() => {
|
|
|
this.ssdj();
|
|
|
}, 60000);
|
|
|
- this.fiveNum();
|
|
|
+ // this.fiveNum();
|
|
|
},
|
|
|
methods: {
|
|
|
// 右边第一个 地区探访数据 按钮
|
|
@@ -373,28 +373,28 @@
|
|
|
this.isleftbtnTure = false;
|
|
|
},
|
|
|
|
|
|
- // 地图上5个统计
|
|
|
- async fiveNum() {
|
|
|
- const response = await fiveNum();
|
|
|
- this.maptopResult = response;
|
|
|
- this.circledata0 = Number(((this.maptopResult.ljfknum / this.maptopResult.sqjenum) * 100).toFixed(0));
|
|
|
- },
|
|
|
- async mapsec() {
|
|
|
- const response = await mapsec();
|
|
|
- // console.log(response);
|
|
|
- let data = [];
|
|
|
- for (let arr in response) {
|
|
|
- response[arr].forEach((item, index) => {
|
|
|
- data.push({
|
|
|
- ...item,
|
|
|
- value: this.mapDide[arr][index].concat(parseInt(item.intllmoney)),
|
|
|
- name: item.company_name
|
|
|
- });
|
|
|
- });
|
|
|
- }
|
|
|
- this.mapDataArr = data;
|
|
|
- // }
|
|
|
- },
|
|
|
+ // // 地图上5个统计
|
|
|
+ // async fiveNum() {
|
|
|
+ // const response = await fiveNum();
|
|
|
+ // this.maptopResult = response;
|
|
|
+ // this.circledata0 = Number(((this.maptopResult.ljfknum / this.maptopResult.sqjenum) * 100).toFixed(0));
|
|
|
+ // },
|
|
|
+ // async mapsec() {
|
|
|
+ // const response = await mapsec();
|
|
|
+ // // console.log(response);
|
|
|
+ // let data = [];
|
|
|
+ // for (let arr in response) {
|
|
|
+ // response[arr].forEach((item, index) => {
|
|
|
+ // data.push({
|
|
|
+ // ...item,
|
|
|
+ // value: this.mapDide[arr][index].concat(parseInt(item.intllmoney)),
|
|
|
+ // name: item.company_name
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // this.mapDataArr = data;
|
|
|
+ // // }
|
|
|
+ // },
|
|
|
|
|
|
scrollTextisColor: function (i) {
|
|
|
let inde = i % 3;
|