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

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

@@ -7,7 +7,7 @@
</el-form-item>
<el-form-item label="搜索">
<el-input
v-model="searchSrt"
v-model="searchStr"
style="margin-right: 1rem; width: auto;"
placeholder="关键字"
prefix-icon="el-icon-search"
@@ -248,7 +248,7 @@ export default {
videoComponentList: [],
currentPlayerInfo: {}, // 当前播放对象
updateLooper: 0, // 数据刷新轮训标志
searchSrt: '',
searchStr: '',
channelType: '',
online: '',
subStream: '',
@@ -322,7 +322,7 @@ export default {
this.$store.dispatch('device/queryChannels', [this.deviceId, {
page: this.currentPage,
count: this.count,
query: this.searchSrt,
query: this.searchStr,
online: this.online,
channelType: this.channelType
}]).then(data => {
@@ -465,7 +465,7 @@ export default {
var url = `/${this.$router.currentRoute.name}/${this.$router.currentRoute.params.deviceId}/${itemData.deviceId}`
this.$router.push(url).then(() => {
this.searchSrt = ''
this.searchStr = ''
this.channelType = ''
this.online = ''
this.initParam()
@@ -477,7 +477,7 @@ export default {
{
page: this.currentPage,
count: this.count,
query: this.searchSrt,
query: this.searchStr,
online: this.online,
channelType: this.channelType
},

View File

@@ -3,7 +3,7 @@
<el-form :inline="true" size="mini">
<el-form-item label="搜索">
<el-input
v-model="searchSrt"
v-model="searchStr"
style="margin-right: 1rem; width: auto;"
placeholder="关键字"
prefix-icon="el-icon-search"
@@ -185,7 +185,7 @@ export default {
return {
deviceList: [], // 设备列表
currentDevice: {}, // 当前操作设备对象
searchSrt: '',
searchStr: '',
online: null,
videoComponentList: [],
updateLooper: 0, // 数据刷新轮训标志
@@ -231,7 +231,7 @@ export default {
this.$store.dispatch('device/queryDevices', {
page: this.currentPage,
count: this.count,
query: this.searchSrt,
query: this.searchStr,
status: this.online
}).then((data) => {
this.total = data.total