jevononlie 5 months ago
parent 141d7b92e5
commit 16b8c02f57

@ -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) {

Loading…
Cancel
Save