Sfoglia il codice sorgente

查询参数时间

wangzhe 8 mesi fa
parent
commit
3b87cd2652
1 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  1. 8 1
      screen-demo/src/views/templateInstance.vue

+ 8 - 1
screen-demo/src/views/templateInstance.vue

@@ -1070,7 +1070,14 @@ export default {
 
     oneEchart(){
       let result = {}
-      let param = {"dayNum":0,"dimensionFlag":"0","orderBy":"","queryEndTime":"2024-01-09 23:59:59","queryStartTime":"2023-12-04 00:00:00"}
+      // 参数时间有要求,需要传入 2024-03-01 23:59:59 - 2024-04-29 00:00:00 数据 月份两位的 带时分秒
+      let param = {
+        "dayNum":0,
+        "dimensionFlag":"0",
+        "orderBy":"",
+        "queryStartTime":"2024-03-01 23:59:59",
+        "queryEndTime":"2024-04-29 00:00:00"
+      };
       this.$requestSDK(
           "/jilin-devloper/jilin/getNumAll",
           param,