web_src/src/components/channelList.vue
@@ -237,6 +237,8 @@ that.initData(); }, 1000) }else{ that.$message.error(res.data.msg); } }).catch(function (e) { that.isLoging = false; @@ -244,7 +246,7 @@ }); }, queryRecords: function (itemData) { var format = moment().format("YYYY-M-D"); var format = moment().format("yyyy-MM-DD"); let deviceId = this.deviceId; let channelId = itemData.channelId; this.$refs.devicePlayer.openDialog("record", deviceId, channelId, {date: format})