diff --git a/src/views/Brand.vue b/src/views/Brand.vue index 18dcb3d..908a085 100644 --- a/src/views/Brand.vue +++ b/src/views/Brand.vue @@ -216,44 +216,8 @@ export default { mounted() { this.nowTimes(); this.getEchart(); - this.ajax2(); }, methods: { - - ajax2() { - //jquery方式 get请求 - $.ajax({ - type:"GET", - url:"http://192.168.31.128:8866/pk/openup/OpenStatisticsController/parkingRanking", - data:{"authCode":"712110694681677824"}, - async:true, - cache:true, - dataType:"text", - success:function (backdata,status,xmlHttpRequest) { - console.log(backdata) - }, - error:function (msg) { - console.log(msg) - } - }); - - //jquery方式 get请求 - $.ajax({ - type:"GET", - url:"http://192.168.31.128:8866/pk/openup/OpenStatisticsController/todayTrafficStatistics", - data:{"authCode":"712110694681677824"}, - async:true, - cache:true, - dataType:"text", - success:function (backdata,status,xmlHttpRequest) { - console.log(backdata) - }, - error:function (msg) { - console.log(msg) - } - }); -}, - nowTimes() { this.clear(); let dayjs = this.dayjs()