import request from "@/api/request"; export function getSubOneALlComfortCount(departId, times) { return request.get({ url: `/datav/sub1/rightsComfort/getSubOneALlComfortCount?departId=${departId}&beginTime=${times[0]}&endTime=${times[1]}` }); } export function getSubOnePoliceHurtSituationAndHurtType(departId, times) { return request.get({ url: `/datav/sub1/rightsComfort/getSubOnePoliceHurtSituationAndHurtType?departId=${departId}&beginTime=${times[0]}&endTime=${times[1]}` }); } export function getSubOneCaseAriseSituationRate(departId, times) { return request.get({ url: `/datav/sub1/rightsComfort/getSubOneCaseAriseSituationRate?departId=${departId}&beginTime=${times[0]}&endTime=${times[1]}` }); }