xuechunyuan 3 years ago
commit 55b29a6f5f
  1. BIN
      public/excel/wuliu.xlsx
  2. 12
      src/views/dashboard/home.vue

Binary file not shown.

@ -9,7 +9,7 @@
<span>{{ date }}</span <span>{{ date }}</span
><span style="margin-left: 0.1rem">{{ week }}</span> ><span style="margin-left: 0.1rem">{{ week }}</span>
</div> </div>
<div class="uodate_time">数据更新时间:<span class="time_txt">2023/01/17</span></div> <div class="uodate_time">数据更新时间:<span class="time_txt">{{updateTime}}</span></div>
</div> </div>
</div> </div>
</div> </div>
@ -271,6 +271,7 @@ export default {
villageData: [], villageData: [],
villList: [], villList: [],
mySwiper: null, mySwiper: null,
mySwiper1:null,
temp: "", temp: "",
weather: "", weather: "",
slideList: [ slideList: [
@ -347,7 +348,8 @@ export default {
小店镇: [118.81007, 35.422484], 小店镇: [118.81007, 35.422484],
夏庄镇: [118.700674, 35.419525], 夏庄镇: [118.700674, 35.419525],
}, },
isMap:false isMap:false,
updateTime:''
}; };
}, },
created() { created() {
@ -422,7 +424,7 @@ export default {
this.yData2.push(item.派件量); this.yData2.push(item.派件量);
}); });
// this.dateTime = content1[0][0]..replaceAll(".", "/"); // 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].); // this.$message.success(content1[0][0].);
content1[3].map((item) => { content1[3].map((item) => {
this.villageData.push({ name: item.村点名称, upData: item.上行, downData: item.下行 }); this.villageData.push({ name: item.村点名称, upData: item.上行, downData: item.下行 });
@ -710,7 +712,7 @@ export default {
}, },
top: 0, top: 0,
right: "2%", right: "2%",
itemHeight: 8, itemHeight: this.fontSize(8),
}, },
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
@ -928,7 +930,7 @@ export default {
}, },
run1() { run1() {
this.mySwiper = new Swiper(".swiper2", { this.mySwiper1 = new Swiper(".swiper2", {
loop: true, // loop: true, //
// autoplay: true, // // autoplay: true, //
autoplay: { autoplay: {

Loading…
Cancel
Save