瀏覽代碼

时间提示

pull/194/head
helloDy 7 月之前
父節點
當前提交
101dc1807e
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/views/monitoring/equipmentFullParams/index.vue

+ 2
- 2
src/views/monitoring/equipmentFullParams/index.vue 查看文件

@@ -281,11 +281,11 @@ export default {
async handleSearchBarBtnClick({ btnName, timeVal }) {
if (timeVal && timeVal.length > 0) {
console.log('nihc ', timeVal)
if (new Date(timeVal[1]).getTime() - new Date(timeVal[0]).getTime() <= 10 * 60 * 1000) {
if (new Date(timeVal[1]).getTime() - new Date(timeVal[0]).getTime() <= 30 * 60 * 1000) {
this.queryParams.recordTime = timeVal;
await this.handleQuery();
} else {
this.$message.warning('时间范围最大一小时限制!')
this.$message.warning('时间范围最大30分钟限制!')
}
} else {
this.queryParams.recordTime = [];


Loading…
取消
儲存