From 71d8310e35239eef4508a03d7ef87f0dcc9ec839 Mon Sep 17 00:00:00 2001 From: j1ack <1209452658@qq.com> Date: Thu, 4 Aug 2022 14:12:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Brand.vue | 36 ------------------------------------ 1 file changed, 36 deletions(-) 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()