diff --git a/src/api/datav.ts b/src/api/datav.ts index 37d0bf5..768c59d 100644 --- a/src/api/datav.ts +++ b/src/api/datav.ts @@ -4,4 +4,10 @@ export function getCaseVerifData(times) { return request.get({ url: `/datav/caseVerif?beginTime=${times[0]}&endTime=${times[1]}` }); +} + +export function getRightsComfortData(times) { + return request.get({ + url: `/datav/rightsComfort?beginTime=${times[0]}&endTime=${times[1]}` + }); } \ No newline at end of file diff --git a/src/components/datav/statistic.vue b/src/components/datav/statistic.vue index 8969793..63231ec 100644 --- a/src/components/datav/statistic.vue +++ b/src/components/datav/statistic.vue @@ -1,7 +1,7 @@