This commit is contained in:
BianLzhaoMin 2026-01-26 10:04:43 +08:00
parent 962ceebf0b
commit 766bf671e0
2 changed files with 3 additions and 3 deletions

View File

@ -144,7 +144,7 @@ function getElectricAndWaterGrowthRate() {
}, function (result) {
console.log(result, '水电环比数据');
if (result) {
updateComparisonData(result);
updateComparisonData(result.data);
} else if (result && result.data) {
updateComparisonData(result.data);
}

View File

@ -780,13 +780,13 @@ function initModalPersonnelListTable() {
}
},
{
field: 'peopleNum',
field: 'dutyNum',
title: '当日到岗人数',
width: '15%',
align: 'center',
templet: function (d) {
// 只显示数字不可点击优先使用peopleNum如果没有则使用dutyNum
const count = d.peopleNum || d.dutyNum || 0;
const count = d.dutyNum || 0;
return '<span style="color: #00FEFC;">' + count + '</span>';
}
}