Browse Source

历史数据查询 选择日期从15天改成一个月(bug)

zy 5 months ago
parent
commit
40436bfe2c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cpp-ui/src/views/stationDataQuery/historyforecastdata/index.vue

+ 2 - 2
cpp-ui/src/views/stationDataQuery/historyforecastdata/index.vue

@@ -778,8 +778,8 @@ export default {
         this.$message.warning("开始时间不能大于结束时间")
         return
       }
-      if (endTime - startTime > 60 * 60 * 24 * 1000 * 15) {
-        this.$message.warning("查询数据不能超过15天!")
+      if (endTime - startTime > 60 * 60 * 24 * 1000 * 30) {
+        this.$message.warning("查询数据不能超过30天!")
         return
       }
       let queryParams = {