CN-301 Detection-饼图、柱状图开发问题修改:

1.接口增加参数
2.饼图显示异常
This commit is contained in:
hyx
2022-03-04 18:16:06 +08:00
parent 5bbda24a17
commit 3af81d28a3
6 changed files with 9 additions and 27 deletions

View File

@@ -203,7 +203,7 @@ export default {
queryBasic () {
return new Promise((resolve, reject) => {
try {
get(api.detection.securityEvent.overviewBasic, { eventId: this.detection.eventId }).then(response => {
get(api.detection.securityEvent.overviewBasic, { eventId: this.detection.eventId,startTime: this.detection.startTime }).then(response => {
if (response.code === 200) {
resolve(response.data.result[0])
} else {