wip feat(M01): 기계 구분·상세구분 2단 거름 · 소요량/계수 용도 표시·대상 거름
기계.json 머리 구분 딕셔너리 추가(세부분류 유지) · UI_Side 기계 2단 필터 Store/Router/Api_Fetch usage 쿼리 추가 · UI_Tables 용도 표시 + 대상 드롭다운 locale 문구 추가 · 관련 시험 수정·추가
This commit is contained in:
@@ -11,10 +11,11 @@ import { t as L } from "@ui/ui_template_locale";
|
||||
import { fetchFiles, fetchSubsAll, type FileInfo, type SubInfo } from "./M01_MasterData_Api_Fetch";
|
||||
import { renderTree, type MakeRow } from "./M01_MasterData_UI_Tree";
|
||||
|
||||
/** 컨테이너마다 기억하는 화면 상태 — 찾기 글 · 쪽 (거름은 `m01.filter.*`) */
|
||||
/** 컨테이너마다 기억하는 화면 상태 — 찾기 글 · 쪽 · 소요량·계수 표의 용도 대상 거름 (거름은 `m01.filter.*`) */
|
||||
export interface View {
|
||||
q: string;
|
||||
page: number;
|
||||
usage?: string;
|
||||
}
|
||||
|
||||
const viewKey = (group: string): string => `m01.view.${group}`;
|
||||
@@ -262,7 +263,7 @@ export function buildSide(
|
||||
const one = files[0];
|
||||
const dropped: Partial<Record<Group, { label: string; detail?: string }>> = {
|
||||
인력: { label: L("M01_LaborSub"), detail: L("M01_LaborDetail") },
|
||||
기계: { label: L("M01_MachineSub") },
|
||||
기계: { label: L("M01_MachineSub"), detail: L("M01_MachineDetail") },
|
||||
소요량: { label: L("M01_LaborSub"), detail: L("M01_LaborDetail") },
|
||||
계수: { label: L("M01_LaborSub"), detail: L("M01_LaborDetail") },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user