@dssp/supervision 1.0.24 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1492,6 +1492,13 @@ let BuildingInspectionAiMeasurement = class BuildingInspectionAiMeasurement exte
|
|
|
1492
1492
|
result: slimResult
|
|
1493
1493
|
});
|
|
1494
1494
|
const judged = Object.assign(Object.assign(Object.assign({}, item), result.item), (image_data ? { image_data } : {}));
|
|
1495
|
+
// 측정 서버가 retake 를 내면 재촬영이다 — 측정 길이가 부재 치수보다 길게 나온 경우로,
|
|
1496
|
+
// 시공 불량이 아니라 측정 오류다. 검측 엔진은 이 값을 모르고 '부적합'으로 판정하므로
|
|
1497
|
+
// (engine.py 는 없어진 unreliable 을 본다) 여기서 되돌린다. 서버 판정을 그대로 쓰는 것.
|
|
1498
|
+
if (this.measureResult.retake) {
|
|
1499
|
+
judged.verdict = 'hold';
|
|
1500
|
+
judged.reason = this.measureResult.summary || '측정 길이가 부재 치수보다 길게 나왔습니다. 다시 촬영해 주세요.';
|
|
1501
|
+
}
|
|
1495
1502
|
this._mergeItems([judged]);
|
|
1496
1503
|
// 확정 즉시 체크리스트에 기록한다. 「검사 등록」까지 미루면 그 사이에 화면을 벗어나거나
|
|
1497
1504
|
// 재판정이 일어났을 때 측정 판정만 유실된다 (VLM 항목은 inspect 결과에 남아 있어 티가 안 남).
|
|
@@ -1500,7 +1507,9 @@ let BuildingInspectionAiMeasurement = class BuildingInspectionAiMeasurement exte
|
|
|
1500
1507
|
this.panel = 'none';
|
|
1501
1508
|
this.selectedItem = null;
|
|
1502
1509
|
if (judged.verdict === 'hold') {
|
|
1503
|
-
|
|
1510
|
+
// 재촬영 사유는 측정 서버가 낸 문장을 그대로 쓴다 — 플랫폼이 촬영 품질을 근거로
|
|
1511
|
+
// 재촬영을 권하지 않는다(2026-09-12-2 전달본 정책).
|
|
1512
|
+
notify({ message: judged.reason || '재촬영이 필요합니다.', level: 'warn' });
|
|
1504
1513
|
}
|
|
1505
1514
|
else {
|
|
1506
1515
|
notify({ message: `판정이 확정되었습니다: ${this._verdictLabel(judged)}` });
|