From 3b091db7a2cbe9ac9ae53bfa1c7e895dd4aca787 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 07 十二月 2022 17:10:13 +0800
Subject: [PATCH] 大华视频显示
---
src/views/systemSetting/device/point/index.vue | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/src/views/systemSetting/device/point/index.vue b/src/views/systemSetting/device/point/index.vue
index 09180d7..d97ee68 100644
--- a/src/views/systemSetting/device/point/index.vue
+++ b/src/views/systemSetting/device/point/index.vue
@@ -171,7 +171,7 @@
::v-deep .el-tree-node__label {
line-height: 30px;
font-size: 14px;
- color: rgb(75, 155, 183);
+ // color: rgb(75, 155, 183);
}
</style>
<script>
@@ -189,7 +189,7 @@
totalNum: 10,
pageSize: 10,
videoData: [],
- value: "",
+ searchData: null,
};
},
methods: {
@@ -214,18 +214,14 @@
},
selectedDepartment(data) {
this.currentPage = 1;
- if (!data.children) {
- this.getVideoPointList(data);
- } else {
- data.parentId = data.id;
- data.id = null;
- this.getVideoPointList(data);
- }
+ data.parentId = data.id;
+ data.id = null;
+ this.searchData = data;
+ this.getVideoPointList(data);
},
current_change(e) {
this.currentPage = e;
-
- this.getVideoPointList();
+ this.getVideoPointList(this.searchData);
},
},
};
--
Gitblit v1.8.0