From eb69ee4eaa60b689d7d59317bd6f0319d5a15ffd Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 20 四月 2023 10:12:53 +0800
Subject: [PATCH] 1.递交
---
src/views/kb/cgdd.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/views/kb/cgdd.vue b/src/views/kb/cgdd.vue
index d27cf49..3b604e7 100644
--- a/src/views/kb/cgdd.vue
+++ b/src/views/kb/cgdd.vue
@@ -3,9 +3,9 @@
<div class="kb_dashboard">
<!-- 鏄熺┖鑳屾櫙-->
- <div ref="starsRef" class="stars">
- <div v-for="(item, index) in starsCount" :key="index" class="star" />
- </div>
+ <!-- <div ref="starsRef" class="stars">-->
+ <!-- <div v-for="(item, index) in starsCount" :key="index" class="star" />-->
+ <!-- </div>-->
<div class="kb_header">
<div class="flex_c_c kb_header_text">
@@ -287,7 +287,7 @@
this.getPurchaseLeftBottom()
this.getPurchaseRight()
- this.setStarsRef()
+ // this.setStarsRef()
},
methods: {
@@ -320,7 +320,7 @@
this.purchaseLeftTopData = res.data[0]
loadEcharts('cgddchart', cgddchart(this.purchaseLeftTopData.ThisMonthPurchaseOrderCont, this.purchaseLeftTopData.ThisMonthPurchaseArrivalOrderCont, this.purchaseLeftTopData.ThisMonthWareHouseOrderCont))
})
- }, 1000 * 6)
+ }, 1000 * 30)
},
getPurchaseLeftBottom() {
PurchaseLeftBottom().then(res => {
@@ -346,7 +346,7 @@
}
})
}
- }, this.tableData.length <= 13 ? 1000 * 3 : 100)
+ }, this.tableData.length <= 13 ? 1000 * 10 : 100)
})
},
getPurchaseRight() {
@@ -363,13 +363,13 @@
divData.scrollTop = 0
PurchaseRight().then(res => {
this.tableDataRank = res.data
- if (this.tableDataRank.length > 21) {
+ if (this.tableDataRank.length > 23) {
clearInterval(this.PurchaseRight)
this.getPurchaseRight()
}
})
}
- }, this.tableDataRank.length <= 21 ? 1000 * 3 : 100)
+ }, this.tableDataRank.length <= 23 ? 1000 * 10 : 100)
})
},
tableRowClassName({ row, rowIndex }) {
--
Gitblit v1.9.3