fix(729-3): 기계 찾기 일반 사용자 403 · 일위대가표(Labor_Table) 안 이은 줄 띠 · 띠 글

- 남은 줄 · 못옮김 · [연결] 기계 찾기 = M02 로그인 길 /api/m02/logic-lib/elements(옛 M01 길은 시스템 관리자만 = 일반 사용자 403 · 0 건)
- 서고 일위대가 상세 표(Labor_Table)에도 「M01 연결 없음 n 줄」 띠 · [연결](Labor_Grid 는 구조물 조합 상세만)
- 띠 글에서 「옛 자료」 뺌(우리에 없음 고른 고정 줄도 셈)
- 시험 test_729_3 소스 확인 더함

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-02 12:33:02 +09:00
co-authored by Claude Opus 5.5
parent 56b3247435
commit 33b7b93537
4 changed files with 14 additions and 4 deletions
@@ -19,7 +19,7 @@ import { t as L } from "@ui/ui_template_locale";
import { openModal } from "@ui/ui_template_modal";
import { createTable, type Cell } from "@ui/ui_template_table";
import { createText } from "@ui/ui_template_text";
import { searchElements } from "../M01_MasterData/M01_MasterData_UI_Logic_Api";
import { call } from "./M02_MasterTemplete_Api_Fetch";
import {
guessHopyo,
leftHopyo,
@@ -132,7 +132,9 @@ export function pickMachine(
let seq = 0;
const run = (q: string): void => {
const mine = ++seq;
searchElements("기계", q).then(
call<{ total: number; items: { ref: string; 이름?: string; 규격?: string }[] }>(
`/logic-lib/elements?group=${encodeURIComponent("기계")}&q=${encodeURIComponent(q)}&limit=100`,
).then(
(got) => {
if (mine !== seq) return;
find.hint.textContent = `${got.total}`;