jevononlie 5 months ago
parent 141d7b92e5
commit 16b8c02f57

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

Loading…
Cancel
Save