fix:query_range接口start end 时间改为unit timestemp

This commit is contained in:
wangwenrui
2020-05-15 14:54:51 +08:00
parent 97f50ff44f
commit b374f52050
14 changed files with 38 additions and 20 deletions

View File

@@ -737,8 +737,8 @@
let before=this.dateFormat('yyyy-mm-dd HH:MM:SS',beforeDate);
let params={
query:'sum(nz_alert_nums)',
start:before,
end:cur,
start:this.$stringTimeParseToUnix(before),
end:this.$stringTimeParseToUnix(cur),
step:'15s'
}
this.$get('/prom/api/v1/query_range',params).then(response=>{