From e8a241328889c886f67a6a01aa56dcff48251031 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Mon, 10 Mar 2025 16:47:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=BE=E9=A9=B6=E8=88=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/jsc/allTable.vue | 422 ++++++++++++++++++ .../jsc/components/{total.vue => 1total.vue} | 14 +- src/views/jsc/components/all.vue | 172 +++++-- src/views/jsc/components/overtime.vue | 7 +- src/views/jsc/jsc.vue | 20 +- 5 files changed, 575 insertions(+), 60 deletions(-) create mode 100644 src/views/jsc/allTable.vue rename src/views/jsc/components/{total.vue => 1total.vue} (89%) diff --git a/src/views/jsc/allTable.vue b/src/views/jsc/allTable.vue new file mode 100644 index 0000000..dd5b07a --- /dev/null +++ b/src/views/jsc/allTable.vue @@ -0,0 +1,422 @@ + + + + + diff --git a/src/views/jsc/components/total.vue b/src/views/jsc/components/1total.vue similarity index 89% rename from src/views/jsc/components/total.vue rename to src/views/jsc/components/1total.vue index a236da1..cd02302 100644 --- a/src/views/jsc/components/total.vue +++ b/src/views/jsc/components/1total.vue @@ -67,8 +67,14 @@ tableHeight: 200 } }, - created() {}, - mounted() { + created() { + this.layout = this.$options.layout; + }, + mounted() { + if(this.$store.getters.device === 'mobile'){ + this.layout.w = 12 + } + console.log("this.totallayout",this.layout) }, watch:{ myData(newval){ @@ -110,12 +116,12 @@ .progress-card { display: flex; - flex-wrap: wrap; + // flex-wrap: wrap; align-items: center; justify-content: space-between; &-item { - min-width: 120px; + // min-width: 120px; margin: 10px; display: flex; flex-direction: column; diff --git a/src/views/jsc/components/all.vue b/src/views/jsc/components/all.vue index e53429f..1492bd5 100644 --- a/src/views/jsc/components/all.vue +++ b/src/views/jsc/components/all.vue @@ -13,32 +13,48 @@
-
+
+ }" :height="250" :data="list"> + :align="item.align" :formatter="item.formatter"> + +
-
+
-
- +
{{item}}
- +
@@ -61,26 +77,38 @@
+ + + + + + +