|
|
@ -227,9 +227,9 @@ export async function findJudgeImages(row) {
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
arrFrecadImg: frecadImgs.data,
|
|
|
|
arrFrecadImg: frecadImgs,
|
|
|
|
arrContadImg: contadImgs.data,
|
|
|
|
arrContadImg: contadImgs,
|
|
|
|
arrPicadImg: picadImgs.data
|
|
|
|
arrPicadImg: picadImgs
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
@ -240,61 +240,11 @@ export async function saveJudgeResult(params) {
|
|
|
|
return await axios.post(SAVE_JUDGE_RESULT, params);
|
|
|
|
return await axios.post(SAVE_JUDGE_RESULT, params);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export async function findParkingImages2(row) {
|
|
|
|
export async function findParkingImages(rcMaincode) {
|
|
|
|
const dataGb = row?.msDatagb;
|
|
|
|
|
|
|
|
const scCode = row?.msMaincode;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// const res = await findJudge(scCode);
|
|
|
|
|
|
|
|
// if (res.success) {
|
|
|
|
|
|
|
|
// const [frecadImgs, contadImgs, picadImgs] = await Promise.all([
|
|
|
|
|
|
|
|
// judgeImgList(res, scCode, 5, 'scFrecad', dataGb, 'getScFrecad'),
|
|
|
|
|
|
|
|
// judgeImgList(res, scCode, 9, 'scContad', dataGb, 'getScContad'),
|
|
|
|
|
|
|
|
// judgeImgList(res, scCode, 5, 'scPicad', dataGb, 'getScPicad')
|
|
|
|
|
|
|
|
// ]);
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// return {
|
|
|
|
|
|
|
|
// arrFrecadImg: frecadImgs,
|
|
|
|
|
|
|
|
// arrContadImg: contadImgs,
|
|
|
|
|
|
|
|
// arrPicadImg: picadImgs
|
|
|
|
|
|
|
|
// };
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// return res;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const res = await axios.get(GET_PARKING_IMAGE2 + row?.rcMaincode);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
arrFrecadImg: [],
|
|
|
|
|
|
|
|
arrContadImg: [],
|
|
|
|
|
|
|
|
arrPicadImg: []
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export async function findParkingImages(row) {
|
|
|
|
|
|
|
|
const dataGb = row?.msDatagb;
|
|
|
|
|
|
|
|
const scCode = row?.msMaincode;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// const res = await findJudge(scCode);
|
|
|
|
|
|
|
|
// if (res.success) {
|
|
|
|
|
|
|
|
// const [frecadImgs, contadImgs, picadImgs] = await Promise.all([
|
|
|
|
|
|
|
|
// judgeImgList(res, scCode, 5, 'scFrecad', dataGb, 'getScFrecad'),
|
|
|
|
|
|
|
|
// judgeImgList(res, scCode, 9, 'scContad', dataGb, 'getScContad'),
|
|
|
|
|
|
|
|
// judgeImgList(res, scCode, 5, 'scPicad', dataGb, 'getScPicad')
|
|
|
|
|
|
|
|
// ]);
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// return {
|
|
|
|
|
|
|
|
// arrFrecadImg: frecadImgs,
|
|
|
|
|
|
|
|
// arrContadImg: contadImgs,
|
|
|
|
|
|
|
|
// arrPicadImg: picadImgs
|
|
|
|
|
|
|
|
// };
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// return res;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const [frecadImgs, contadImgs, picadImgs] = await Promise.all([
|
|
|
|
const [frecadImgs, contadImgs, picadImgs] = await Promise.all([
|
|
|
|
await axios.get(GET_PARKING_FRECAD_IMAGE + row?.rcMaincode),
|
|
|
|
await axios.get(GET_PARKING_FRECAD_IMAGE + rcMaincode),
|
|
|
|
await axios.get(GET_PARKING_CONTAD_IMAGE + row?.rcMaincode),
|
|
|
|
await axios.get(GET_PARKING_CONTAD_IMAGE + rcMaincode),
|
|
|
|
await axios.get(GET_PARKING_PICAD_IMAGE + row?.rcMaincode)
|
|
|
|
await axios.get(GET_PARKING_PICAD_IMAGE + rcMaincode)
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|