|
|
@ -23,6 +23,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
import request from '@/utils/request'
|
|
|
|
let marker, polygon, drawingManager, lngLat, map, MultiPolygon;
|
|
|
|
let marker, polygon, drawingManager, lngLat, map, MultiPolygon;
|
|
|
|
let path = [];// 设置回显数据参数
|
|
|
|
let path = [];// 设置回显数据参数
|
|
|
|
import axios from 'axios'
|
|
|
|
import axios from 'axios'
|
|
|
@ -255,12 +256,14 @@ export default {
|
|
|
|
* 获取所有围栏
|
|
|
|
* 获取所有围栏
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
getAllPolygons(){
|
|
|
|
getAllPolygons(){
|
|
|
|
|
|
|
|
debugger
|
|
|
|
const _this = this;
|
|
|
|
const _this = this;
|
|
|
|
request({
|
|
|
|
request({
|
|
|
|
url: '/api/scm/StationArea/'+ id,
|
|
|
|
url: '/api/scm/StationArea/getOthersArea/',
|
|
|
|
method: 'get'
|
|
|
|
method: 'post'
|
|
|
|
}).then(res => {
|
|
|
|
}).then(res => {
|
|
|
|
this.dataInfo(res.data)
|
|
|
|
console.log('getOthersArea',res)
|
|
|
|
|
|
|
|
// this.dataInfo(res.data)
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// axios.get(url.url + "/v1/polygons/findAll").then(function (response) {
|
|
|
|
// axios.get(url.url + "/v1/polygons/findAll").then(function (response) {
|
|
|
|