| | |
| | | import { currentGET } from "api/modules"; |
| | | import * as echarts from "echarts"; |
| | | import { GETNOBASE } from "api"; |
| | | import {Getproductionvolume} from "@/api/http.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | |
| | | mounted() { |
| | | // console.log(xzqCode); |
| | | this.getData("china"); |
| | | this.getData(); |
| | | }, |
| | | methods: { |
| | | getData(code) { |
| | | // currentGET("big8", { regionCode: code }).then((res) => { |
| | | // console.log("设备分布", res); |
| | | // if (res.success) { |
| | | // this.getGeojson(res.data.regionCode, res.data.dataList); |
| | | // this.mapclick(); |
| | | // } else { |
| | | // this.$Message.warning(res.msg); |
| | | // } |
| | | // }); |
| | | |
| | | async getData(code) { |
| | | |
| | | }, |
| | | /** |
| | | * @description: 获取geojson |