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..a54bc7b 100644 --- a/src/views/dashboard/home.vue +++ b/src/views/dashboard/home.vue @@ -9,7 +9,7 @@ {{ date }}{{ week }} -
数据更新时间:2023/01/17
+
数据更新时间:{{updateTime}}
@@ -347,7 +347,8 @@ export default { 小店镇: [118.81007, 35.422484], 夏庄镇: [118.700674, 35.419525], }, - isMap:false + isMap:false, + updateTime:'' }; }, created() { @@ -422,7 +423,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 +711,7 @@ export default { }, top: 0, right: "2%", - itemHeight: 8, + itemHeight: this.fontSize(8), }, tooltip: { trigger: "axis",