From 31ce9a56c95000f1567cda9f5821aadb5d1e4fd0 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 30 八月 2023 16:25:02 +0800
Subject: [PATCH] 1.递交
---
src/views/kb/cjsc.vue | 62 +++++++++++++-----------------
vue.config.js | 4 +-
2 files changed, 29 insertions(+), 37 deletions(-)
diff --git a/src/views/kb/cjsc.vue b/src/views/kb/cjsc.vue
index a19aa26..55b7f22 100644
--- a/src/views/kb/cjsc.vue
+++ b/src/views/kb/cjsc.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">
@@ -318,26 +318,27 @@
WkshpContentData().then(res => {
this.tableDataCenterTopTemp = res.data
- this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)
+ // this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)
+ this.tableDataCenterTop = this.tableDataCenterTopTemp
- const loop = Math.floor(this.tableDataCenterTopTemp.length / scale)// 闇�瑕佸惊鐜殑娆℃暟
- let nowLoop = 0// 褰撳墠寰幆鐨勬鏁�
-
- const timer = setInterval(() => {
- startValue = startValue + scale
- this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)
- nowLoop++
- if (nowLoop === loop) {
- clearInterval(timer)
- this.getCenterTableDataSetInterval()
- }
-
- this.$nextTick(() => {
- this.tableDataCenterTop.forEach(i => {
- loadEcharts('progress' + i.RowNum, progress(i.good_qty, i.plan_qty))
- })
- })
- }, 1000 * 10)
+ // const loop = Math.floor(this.tableDataCenterTopTemp.length / scale)// 闇�瑕佸惊鐜殑娆℃暟
+ // let nowLoop = 0// 褰撳墠寰幆鐨勬鏁�
+ //
+ // const timer = setInterval(() => {
+ // startValue = startValue + scale
+ // this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)
+ // nowLoop++
+ // if (nowLoop === loop) {
+ // clearInterval(timer)
+ // this.getCenterTableDataSetInterval()
+ // }
+ //
+ // this.$nextTick(() => {
+ // this.tableDataCenterTop.forEach(i => {
+ // loadEcharts('progress' + i.RowNum, progress(i.good_qty, i.plan_qty))
+ // })
+ // })
+ // }, 1000 * 10)
this.$nextTick(() => {
this.tableDataCenterTop.forEach(i => {
@@ -345,7 +346,6 @@
})
})
})
-
// WkshpContentData().then(res => {
// this.tableDataCenterTop = res.data
@@ -373,15 +373,6 @@
// })
// }, this.tableDataCenterTop.length <= 20 ? 1000 * 15 : 10)
// })
-
-
-
-
-
-
-
-
-
},
@@ -569,14 +560,15 @@
color: $main_color;
}
-::v-deep .el-table__body-wrapper{
+::v-deep .el-table__body-wrapper {
overflow: hidden !important;
}
-::v-deep .el-table th.gutter{
+::v-deep .el-table th.gutter {
display: none;
- width:0
+ width: 0
}
+
//::v-deep .el-table colgroup col[name='gutter']{
// display: none;
// width: 0;
diff --git a/vue.config.js b/vue.config.js
index 8a18c07..e1c8fee 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -53,8 +53,8 @@
proxy: {
[process.env.VUE_APP_BASE_API]: {
// target: 'http://121.196.36.24:8011', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 鏈湴寮�鍙戞湇鍔″櫒
- // target: 'http://192.168.1.102:8001', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 鑾辩 锛堟湭涓婁簯锛�
- target: 'http://tr3b6v.natappfree.cc', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 鑾辩 (涓婁簯)
+ target: 'http://192.168.1.102:8001', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 鑾辩 锛堟湭涓婁簯锛�
+ // target: 'http://tr3b6v.natappfree.cc', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 鑾辩 (涓婁簯)
changeOrigin: true, // 璇锋眰璺ㄥ煙鏃讹紝闇� 閰嶇疆姝ら」
pathRewrite: { // 璺緞閲嶅啓,鏇挎崲target涓殑璇穤姹傚湴鍧�
--
Gitblit v1.9.3