From 8722d1317fe739e1ba50b81dbaf2af9350b97f72 Mon Sep 17 00:00:00 2001
From: baicai <18221243570@163.com>
Date: Thu, 31 Jul 2025 14:24:05 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=BD=93=E7=94=B5=E6=B1=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/work/dtdc/Chart.vue | 11 ++++--
pages/work/dtdc/index.vue | 70 +++++++++++++++++++++++++--------------
2 files changed, 54 insertions(+), 27 deletions(-)
diff --git a/pages/work/dtdc/Chart.vue b/pages/work/dtdc/Chart.vue
index dc31c03..7eb8f13 100644
--- a/pages/work/dtdc/Chart.vue
+++ b/pages/work/dtdc/Chart.vue
@@ -9,8 +9,8 @@
+ canvasId="scrollcolumnid" :optsWatch='false' :inScrollView="true" :pageScrollTop="pageScrollTop"
+ :opts="options" :ontouch="true" />
@@ -34,6 +34,12 @@
data() {
return {
options: {
+ enableScroll: true,
+ xAxis: {
+ scrollShow: true,
+ itemCount: 4,
+ disableGrid: true
+ },
update: true,
duration: 0,
animation: false,
@@ -166,6 +172,7 @@
.chart-container {
width: 100%;
height: 250px;
+ margin-top: 20px;
}
::v-deep {
diff --git a/pages/work/dtdc/index.vue b/pages/work/dtdc/index.vue
index 15167ec..1993b62 100644
--- a/pages/work/dtdc/index.vue
+++ b/pages/work/dtdc/index.vue
@@ -1,21 +1,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
暂无数据
@@ -24,7 +10,7 @@
@@ -78,6 +64,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -123,6 +127,12 @@
this.pageScrollTop = e.scrollTop
},
methods: {
+ openSearch() {
+ this.$refs.searchPopup.open()
+ },
+ closeSearch() {
+ this.$refs.searchPopup.close()
+ },
toDetail(item, dataType) {
const {
clusterDeviceId,
@@ -145,6 +155,7 @@
onSearch() {
this.pageNum = 1 //每次搜索从1开始搜索
this.getTableData(true)
+ this.closeSearch()
},
// 重置
// 清空搜索栏选中数据
@@ -157,6 +168,7 @@
this.clusterOptions = []
this.pageNum = 1
this.getTableData(true)
+ this.closeSearch()
},
changeStackId(val) {
if (val) {
@@ -233,20 +245,28 @@