feat: 修复bug
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user