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 @@