执法统计周报表、季报表接口优化
This commit is contained in:
parent
78281dea55
commit
789157db16
|
|
@ -1240,7 +1240,7 @@ function closeZfzbPage() {
|
||||||
function getZfxs() {
|
function getZfxs() {
|
||||||
api.getZfxs().then(res => {
|
api.getZfxs().then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
let data = res.data
|
||||||
showEnforceChart(data)
|
showEnforceChart(data)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -1048,6 +1048,8 @@ function getZfxs() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const chart2 = ref(null)
|
const chart2 = ref(null)
|
||||||
|
let enforceChart = null
|
||||||
|
let sumNum = ref(0)
|
||||||
|
|
||||||
function showEnforceChart(data) {
|
function showEnforceChart(data) {
|
||||||
if (chart2.value) {
|
if (chart2.value) {
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,7 @@ public class StatisticController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 季报表
|
* 季报表
|
||||||
|
|
||||||
* @param
|
* @param
|
||||||
* @return 执法季报表统计
|
* @return 执法季报表统计
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -430,7 +430,7 @@ public class SupervisionCheckService {
|
||||||
* @return 统计结果
|
* @return 统计结果
|
||||||
*/
|
*/
|
||||||
public List<SupervisionCheckStatisticsDto> checkStatistics(SupervisionCheckQuery query, RemoteUserInfo user) {
|
public List<SupervisionCheckStatisticsDto> checkStatistics(SupervisionCheckQuery query, RemoteUserInfo user) {
|
||||||
|
Integer ilevel = Optional.ofNullable(query.getIlevel()).orElse(userJurisdiction.getJurisdictionLevel());
|
||||||
return supervisionCheckRepository.checkStatistics(com.aisino.iles.common.util.StringUtils.trimEven0(query.getGxdwbm()) + "%", query.getIlevel());
|
return supervisionCheckRepository.checkStatistics(com.aisino.iles.common.util.StringUtils.trimEven0(query.getGxdwbm()) + "%", query.getIlevel());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue