feat: update UI title, restore guide functionality, and simplify server list view

This commit is contained in:
2026-04-23 14:48:06 +09:00
parent e5b4eb8295
commit bb1cc36d01
9 changed files with 84 additions and 50 deletions

View File

@@ -211,7 +211,7 @@ export function initSwModal(onSave: () => void, closeModalsCb: () => void) {
if (dateStr.length < 6) { alert('올바른 구매연월(YYYYMM)을 입력해주세요.'); return; }
const prefix = `${typeCode}-${dateStr.substring(0, 6)}-`;
try {
const res = await fetch(`http://localhost:3000/api/generate-asset-code?prefix=${prefix}`);
const res = await fetch(`http://172.16.40.100:3000/api/generate-asset-code?prefix=${prefix}`);
const data = await res.json();
if (data.nextCode) setFieldValue('sw-자산번호', data.nextCode);
} catch (err) { alert('자산번호 생성에 실패했습니다.'); }