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

@@ -80,7 +80,7 @@ export default {
queryBasic () {
return new Promise((resolve, reject) => {
try {
getData(api.detection.performanceEvent.overviewBasic, { serverIp: this.detection.appName }).then(data => {
getData(api.detection.performanceEvent.overviewBasic, { domain: this.detection.appName,startTime: this.detection.startTime }).then(data => {
resolve(data[0])
}).catch(error => {
reject(error)