fix(tkfb): 메뉴 정리 — 휴가신청→tksupport, 부적합→tkqc 외부 링크
- 휴가 신청: /pages → tksupport.technicalkorea.net (external) - 부적합 현황: /pages → tkqc.technicalkorea.net (external) - 소모품 신청 라벨: "생산 소모품 신청" - PAGE_ICONS에 attendance.monthly_comparison 추가 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,7 @@ const PAGE_ICONS = {
|
||||
'attendance.vacation_management': 'fa-cog',
|
||||
'attendance.vacation_allocation': 'fa-plus-circle',
|
||||
'attendance.annual_overview': 'fa-chart-pie',
|
||||
'attendance.monthly_comparison': 'fa-scale-balanced',
|
||||
'admin.user_management': 'fa-users-cog',
|
||||
'admin.projects': 'fa-project-diagram',
|
||||
'admin.tasks': 'fa-tasks',
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/js/tkfb-core.js?v=2026033002"></script>
|
||||
<script src="/js/production-dashboard.js?v=2026033104"></script>
|
||||
<script src="/static/js/tkfb-core.js?v=2026033105"></script>
|
||||
<script src="/js/production-dashboard.js?v=2026033105"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -11,6 +11,12 @@ const API_BASE = '/api';
|
||||
const _tkuserBase = location.hostname.includes('technicalkorea.net')
|
||||
? 'https://tkuser.technicalkorea.net'
|
||||
: `http://${location.hostname}:30380`;
|
||||
const _tksupportBase = location.hostname.includes('technicalkorea.net')
|
||||
? 'https://tksupport.technicalkorea.net'
|
||||
: `http://${location.hostname}:30680`;
|
||||
const _tkqcBase = location.hostname.includes('technicalkorea.net')
|
||||
? 'https://tkqc.technicalkorea.net'
|
||||
: `http://${location.hostname}:30280`;
|
||||
|
||||
/* ===== Token ===== */
|
||||
function _cookieGet(n) { const m = document.cookie.match(new RegExp('(?:^|; )' + n + '=([^;]*)')); return m ? decodeURIComponent(m[1]) : null; }
|
||||
@@ -114,7 +120,7 @@ const NAV_MENU = [
|
||||
{ href: '/pages/work/tbm.html', icon: 'fa-clipboard-list', label: 'TBM 관리', key: 'work.tbm' },
|
||||
{ href: '/pages/work/report-create.html', icon: 'fa-file-alt', label: '작업보고서 작성', key: 'work.report_create' },
|
||||
{ href: '/pages/work/analysis.html', icon: 'fa-chart-bar', label: '작업 분석', key: 'work.analysis', admin: true },
|
||||
{ href: '/pages/work/nonconformity.html', icon: 'fa-exclamation-triangle', label: '부적합 현황', key: 'work.nonconformity' },
|
||||
{ href: `${_tkqcBase}/`, icon: 'fa-exclamation-triangle', label: '부적합 현황', key: 'work.nonconformity', external: true },
|
||||
{ href: '/pages/work/schedule.html', icon: 'fa-calendar-alt', label: '공정표', key: 'work.schedule' },
|
||||
{ href: '/pages/work/meetings.html', icon: 'fa-users', label: '생산회의록', key: 'work.meetings' },
|
||||
{ href: '/pages/work/daily-status.html', icon: 'fa-chart-bar', label: '입력 현황', key: 'work.daily_status' },
|
||||
@@ -127,13 +133,13 @@ const NAV_MENU = [
|
||||
{ href: '/pages/attendance/work-status.html', icon: 'fa-briefcase', label: '근무 현황', key: 'inspection.work_status' },
|
||||
]},
|
||||
{ cat: '소모품 관리', items: [
|
||||
{ href: '/pages/purchase/request.html', icon: 'fa-shopping-cart', label: '소모품 신청', key: 'purchase.request' },
|
||||
{ href: '/pages/purchase/request.html', icon: 'fa-shopping-cart', label: '생산 소모품 신청', key: 'purchase.request' },
|
||||
{ href: '/pages/admin/purchase-analysis.html', icon: 'fa-chart-line', label: '소모품 분석', key: 'purchase.analysis', admin: true },
|
||||
]},
|
||||
{ cat: '근태 관리', items: [
|
||||
{ href: '/pages/attendance/my-vacation-info.html', icon: 'fa-info-circle', label: '내 연차 정보', key: 'attendance.my_vacation_info' },
|
||||
{ href: '/pages/attendance/monthly.html', icon: 'fa-calendar', label: '월간 근태', key: 'attendance.monthly' },
|
||||
{ href: '/pages/attendance/vacation-request.html', icon: 'fa-paper-plane', label: '휴가 신청', key: 'attendance.vacation_request' },
|
||||
{ href: `${_tksupportBase}/`, icon: 'fa-paper-plane', label: '휴가 신청', key: 'attendance.vacation_request', external: true },
|
||||
{ href: '/pages/attendance/vacation-management.html', icon: 'fa-cog', label: '휴가 관리', key: 'attendance.vacation_management', admin: true },
|
||||
{ href: '/pages/attendance/vacation-allocation.html', icon: 'fa-plus-circle', label: '휴가 발생 입력', key: 'attendance.vacation_allocation', admin: true },
|
||||
{ href: '/pages/attendance/annual-overview.html', icon: 'fa-chart-pie', label: '연간 휴가 현황', key: 'attendance.annual_overview', admin: true },
|
||||
|
||||
Reference in New Issue
Block a user