调整菜单结构,增加通道列表,支持节点搜索

This commit is contained in:
lin
2025-07-02 17:21:20 +08:00
parent e194c027cb
commit 8d488b33e9
44 changed files with 2865 additions and 249 deletions

View File

@@ -4,7 +4,7 @@
ref="groupTree"
:show-header="true"
:edit="true"
:click-event="treeNodeClickEvent"
@clickEvent="treeNodeClickEvent"
:on-channel-change="onChannelChange"
:enable-add-channel="true"
:add-channel-to-group="addChannelToGroup"
@@ -20,7 +20,7 @@
<div style="float: right;">
<el-form-item label="搜索">
<el-input
v-model="searchSrt"
v-model="searchStr"
style="margin-right: 1rem; width: 10rem; "
placeholder="关键字"
prefix-icon="el-icon-search"
@@ -132,7 +132,7 @@ export default {
data() {
return {
channelList: [],
searchSrt: '',
searchStr: '',
channelType: '',
online: '',
hasGroup: 'false',
@@ -170,7 +170,7 @@ export default {
this.$store.dispatch('commonChanel/getParentList', {
page: this.currentPage,
count: this.count,
query: this.searchSrt,
query: this.searchStr,
online: this.online,
channelType: this.channelType,
groupDeviceId: this.groupDeviceId