更新 dataBuhegelvCtrl.js,修正循环结构以正确遍历小月数组,优化数据获取逻辑

This commit is contained in:
yindongqi 2025-08-08 16:53:23 +08:00
parent d553696536
commit b761e04fa8

View File

@ -392,7 +392,7 @@
for (let j = 0; j < $scope.DasaiSzqx.length; j++) {
for (let k = 0; k < $scope.DasaiStreet.length; k++) {
for (let l = 0; l < $scope.DaaiHj.length; l++) {
for (let m = 0; m < $scope.DasaiLittlemonth; m++) {
for (let m = 0; m < $scope.DasaiLittlemonth.length; m++) {
console.log("跑缓存参数:","月份:"+$scope.DasaiMonths[i],"区县:"+$scope.DasaiSzqx[j],"街道:"+$scope.DasaiStreet[k],"环节:"+$scope.DaaiHj[l],"小月:"+$scope.DasaiLittlemonth[m])
// 统计合格率大屏--抽检监测(左一)
await $http.get(Gaddress + '/TongJi/GetTongJiHeGeLvDaPingStreetDasai?&month=' + $scope.DasaiMonths[i] + '&szqx=' + $scope.DasaiSzqx[j] +