Files
hr-position-system/.claude/settings.local.json
DonaldFang 方士碩 12ceccc3d3 refactor: 新增 ui.js 和 main.js 模組,啟用 ES6 Modules
新增檔案:
- js/ui.js - UI 操作、模組切換、預覽更新、表單資料收集
- js/main.js - 主程式初始化、事件監聽器設置、快捷鍵

更新檔案:
- index.html - 引用 ES6 模組 (type="module")

功能:
 模組切換功能
 標籤頁切換
 表單欄位監聽
 JSON 預覽更新
 快捷鍵支援 (Ctrl+S, Ctrl+N)
 用戶信息載入
 登出功能

注意:
- 大部分 JavaScript 代碼仍在 HTML 中(約 2400 行)
- 已建立核心模組架構,便於後續逐步遷移
- 使用 ES6 Modules,需要通過 HTTP Server 運行

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 17:18:28 +08:00

44 lines
1.3 KiB
JSON

{
"permissions": {
"allow": [
"Bash(python apply_cors_fix.py:*)",
"Bash(python -c:*)",
"Bash(python quick_fix.py:*)",
"Bash(python complete_fix.py:*)",
"Bash(python app_updated.py:*)",
"Bash(python start_server.py:*)",
"Bash(python improve_error_display.py:*)",
"Bash(python fix_gemini_model.py:*)",
"Bash(taskkill:*)",
"Bash(git init:*)",
"Bash(git checkout:*)",
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(git remote add:*)",
"Bash(git push:*)",
"Bash(python init_gitea.py:*)",
"Bash(curl:*)",
"Bash(python add_csv_buttons.py:*)",
"Bash(python add_org_fields.py:*)",
"Bash(python add_position_list_and_admin.py:*)",
"Bash(python add_dept_function.py:*)",
"Bash(python add_dept_relation.py:*)",
"Bash(cat:*)",
"Bash(python add_random_positions.py:*)",
"Bash(timeout /t 3 /nobreak)",
"Bash(python -m json.tool:*)",
"Bash(python app.py:*)",
"Bash(tasklist:*)",
"Bash(findstr:*)",
"Bash(netstat:*)",
"Bash(powershell -Command \"Stop-Process -Id 44816,14404,45900 -Force\")",
"Bash(powershell -Command \"Get-Process python | Stop-Process -Force\")",
"Bash(python llm_config.py:*)",
"Bash(python:*)",
"Bash(mkdir:*)"
],
"deny": [],
"ask": []
}
}