diff --git a/public/excel/wuliu.xlsx b/public/excel/wuliu.xlsx index 6404b8d..833b755 100644 Binary files a/public/excel/wuliu.xlsx and b/public/excel/wuliu.xlsx differ diff --git a/src/views/dashboard/home.vue b/src/views/dashboard/home.vue index 30ae5af..f86ea39 100644 --- a/src/views/dashboard/home.vue +++ b/src/views/dashboard/home.vue @@ -9,7 +9,7 @@ {{ date }}{{ week }} -
数据更新时间:2023/01/17
+
数据更新时间:{{updateTime}}
@@ -271,6 +271,7 @@ export default { villageData: [], villList: [], mySwiper: null, + mySwiper1:null, temp: "", weather: "", slideList: [ @@ -347,7 +348,8 @@ export default { 小店镇: [118.81007, 35.422484], 夏庄镇: [118.700674, 35.419525], }, - isMap:false + isMap:false, + updateTime:'' }; }, created() { @@ -422,7 +424,7 @@ export default { this.yData2.push(item.派件量); }); // this.dateTime = content1[0][0].日期.replaceAll(".", "/"); - this.dateTime = content1[0][0].日期.replace(/\D/g, "/"); + this.updateTime = content1[0][0].日期.replace(/\D/g, "/"); // this.$message.success(content1[0][0].日期); content1[3].map((item) => { this.villageData.push({ name: item.村点名称, upData: item.上行, downData: item.下行 }); @@ -710,7 +712,7 @@ export default { }, top: 0, right: "2%", - itemHeight: 8, + itemHeight: this.fontSize(8), }, tooltip: { trigger: "axis", @@ -928,7 +930,7 @@ export default { }, run1() { - this.mySwiper = new Swiper(".swiper2", { + this.mySwiper1 = new Swiper(".swiper2", { loop: true, // 循环模式选项 // autoplay: true, //可选选项,自动滑动 autoplay: {