| | |
| | | 3: { |
| | | table: [], |
| | | geoData: [] |
| | | }, |
| | | 4: { |
| | | table: [], |
| | | geoData: [] |
| | | } |
| | | }; |
| | | getLiveLocationVoList({ type: type }).then(res => { |
| | |
| | | this.gunNum = middleData[3]["table"].length; |
| | | this.mapData = middleData; |
| | | this.setMapData(2); |
| | | // this.getCompanyMap(); |
| | | this.getCompanyMap(); |
| | | } else { |
| | | this.$message.error(res.msg); |
| | | } |
| | |
| | | obj["table"].push(item); |
| | | }); |
| | | this.companyNum = obj["table"].length; |
| | | this.mapData["4"] = {}; |
| | | // this.mapData["4"] = {}; |
| | | this.mapData["4"] = obj; |
| | | } |
| | | }); |
| | |
| | | this.initEchart(); |
| | | this.getHolderNum(0); |
| | | // this.getTableData(0); |
| | | this.getCompanyMap(); |
| | | // this.getCompanyMap(); |
| | | this.getOfficeData(); |
| | | } |
| | | }; |