diff --git a/src/views/realTimeMonitor/components/parameterArea.vue b/src/views/realTimeMonitor/components/parameterArea.vue
index 74da36f..c767d84 100644
--- a/src/views/realTimeMonitor/components/parameterArea.vue
+++ b/src/views/realTimeMonitor/components/parameterArea.vue
@@ -18,7 +18,6 @@
type="date"
placeholder="选择日期"
format="yyyy 年 MM 月 dd 日"
- value-format="timestamp"
:picker-options="pickerOptions"
@change="changedate"
@focus="handleDateFocus"
@@ -292,7 +291,7 @@ export default {
},
//选择时间
changedate() {
- console.log(this.dateValue);
+ console.log(this.dateValue.getTime());
this.$parent.getPhotoList(
this.selectChannelValue,
this.dateValue,
@@ -311,7 +310,7 @@ export default {
this.channelListOption = this.channelListOption.concat(res.data.list);
console.log(this.channelListOption);
this.channelfocalOpyion = res.data.list; //焦距通道
- this.channelarrValue = this.channelfocalOpyion[0].channelid;
+
this.selectChannelValue = this.channelListOption[0].channelid; //默认选中所有通道;
this.$store.commit("channelId", this.selectChannelValue); //通道保存在vuex中
this.$store.commit("channelIdList", res.data.list); //将通道保存在vuex中
@@ -323,6 +322,12 @@ export default {
this.selectDyId = res.data.dyId;
this.selectLineId = res.data.lineId;
//this.selectTowerId = res.data.towerId;
+ if (res.data.list.length == 0) {
+ this.channelarrValue = null;
+ return;
+ } else {
+ this.channelarrValue = this.channelfocalOpyion[0].channelid;
+ }
})
.catch((err) => {
console.log(err); //代码错误、请求失败捕获
diff --git a/src/views/realTimeMonitor/components/setschedule.vue b/src/views/realTimeMonitor/components/setschedule.vue
index d9ac7ac..0e9d15f 100644
--- a/src/views/realTimeMonitor/components/setschedule.vue
+++ b/src/views/realTimeMonitor/components/setschedule.vue
@@ -61,6 +61,9 @@
>
刷新装置时间表
+
装置时间表
{{
@@ -68,11 +71,7 @@
}}
-
- 装置时间表
-
+
@@ -870,10 +869,12 @@ export default {
//点击分页
handleCurrentChange(val) {
this.page = val;
+ this.getruleList();
},
//每页条数
handleSizeChange(val) {
this.pageSize = val;
+ this.getruleList();
},
},
};
diff --git a/src/views/realTimeMonitor/components/siderBar.vue b/src/views/realTimeMonitor/components/siderBar.vue
index b5a8a7f..686174a 100644
--- a/src/views/realTimeMonitor/components/siderBar.vue
+++ b/src/views/realTimeMonitor/components/siderBar.vue
@@ -88,7 +88,7 @@
>{{ node.label }}