feat:검사주기(n/c값) 및 검사기준(standard_criteria) 기능 추가

- 검사주기 입력을 n값, c값, 텍스트 3개로 분리
- standard_criteria JSON으로 구조화된 비교기준 저장 (min/max + 이상/초과/이하/미만)
- 미리보기 측정치 셀 수를 frequency_n 기반 동적 렌더링
- 그룹 항목 미리보기에서 측정치/검사방식/주기/판정 행별 개별 표시
- ID 비교 === → == 수정 (문자열/숫자 타입 불일치 버그)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-02 20:37:06 +09:00
parent 202183d621
commit 623d6992f4
5 changed files with 226 additions and 79 deletions

View File

@@ -131,8 +131,11 @@ private function prepareTemplateData(DocumentTemplate $template): array
'item' => $i->item,
'standard' => $i->standard,
'tolerance' => $i->tolerance,
'standard_criteria' => $i->standard_criteria,
'method' => $i->method,
'measurement_type' => $i->measurement_type,
'frequency_n' => $i->frequency_n,
'frequency_c' => $i->frequency_c,
'frequency' => $i->frequency,
'regulation' => $i->regulation,
];