diff --git a/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue b/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue index e9df46c..1779e63 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/components/parameterSetDialog.vue @@ -511,7 +511,7 @@ export default { //采样参数查询 // -act=sampling [0xA4 ] --flag=[Request Set Flag, default is set=1, 0: request] --rf=[Request Flag] --reqtype=[Request Type] --maintime=[Main Time] --samplecount=[Sample Count] --samplingfreq=[Sample Frequency] --heartbeat=[Heartbeat Time] samplingSearch() { - if (this.rowData.isonline) { + if (this.rowData.isonline || this.rowData.onlinestatus === 1) { this.sampLoading = true; let params = [ { @@ -559,7 +559,7 @@ export default { }, //设置采样查询 samplingSet() { - if (this.rowData.isonline) { + if (this.rowData.isonline || this.rowData.onlinestatus === 1) { this.$refs.samplingFormref.validate((valid) => { if (valid) { this.sampSetLoading = true; @@ -615,7 +615,7 @@ export default { //上位机查询 //--act=cma [0xA7] --flag=[Request Set Flag, default is set=1, 0: request] --ip=[IP Address] --cmaport=[CMA Port] --domain=[Domain] upperSearch() { - if (this.rowData.isonline) { + if (this.rowData.isonline || this.rowData.onlinestatus === 1) { this.upperLoading = true; let params = [ { @@ -652,7 +652,7 @@ export default { }, //上位机设置 upperSet() { - if (this.rowData.isonline) { + if (this.rowData.isonline || this.rowData.onlinestatus === 1) { this.upperSetLoading = true; let params = [ { @@ -690,7 +690,7 @@ export default { //id参数查询 // --act=termid [0xAC] --flag=[Request Set Flag, default is set=1, 0: request] --newcmdid=[New CMD ID] --compid=[Component Id] --orgid=[Original Id] idSearch() { - if (this.rowData.isonline) { + if (this.rowData.isonline || this.rowData.onlinestatus === 1) { this.idLoading = true; let params = [ { @@ -727,7 +727,7 @@ export default { }, //id参数设置 idSet() { - if (this.rowData.isonline) { + if (this.rowData.isonline || this.rowData.onlinestatus === 1) { this.$refs.idParameterref.validate((valid) => { if (valid) { this.idSetLoading = true; diff --git a/src/views/realTimeMonitor/index.vue b/src/views/realTimeMonitor/index.vue index e75bb6b..fda959a 100644 --- a/src/views/realTimeMonitor/index.vue +++ b/src/views/realTimeMonitor/index.vue @@ -247,6 +247,9 @@ 历史图片 + + 参数配置
+ + + + 查询 @@ -237,6 +244,7 @@ export default { towerid: -1, channelid: -1, termid: -1, + search: "", // timeVal: "", }, picList: [],