feat: 修复bug

This commit is contained in:
fyy
2025-09-06 13:32:28 +08:00
parent 38f6877031
commit a6f5b0c56d
3 changed files with 54 additions and 34 deletions

View File

@@ -119,32 +119,9 @@ async function getCarCount() {
},
);
const result = await response.json();
overviewItems.value[1].value = result.data.pageTotals;
const response2 = await fetch(
'https://server.cqnctc.com:6081/web/thirdParty/queryInParkData',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
Accept: 'application/json, text/plain, */*',
},
body: JSON.stringify({
pageReq: {
pageNum: 1,
pageSize: 10,
},
plNos: ['PFN000000012', 'PFN000000022', 'PFN000000025'],
parkInBeginTime: '',
parkInEndTime: '',
orgId: 10012,
parkOrderTypes: [100, 200, 201, 300, 500],
terminalSource: 50,
remark: '',
}),
},
);
const result2 = await response2.json();
overviewItems.value[1].totalValue = result2.data.pageTotals;
overviewItems.value[1].value = result.data.todayCount;
overviewItems.value[1].totalValue = result.data.allCount;
}
// 预警
async function getStatisticsCurrDayCount() {