# Project Doing ## 2025-12-18 ### [Task 1] Global Message Component, API Encapsulation, and Login/Logout Integration - **Time**: 2025-12-18 - **Goal**: Implement global message, encapsulate axios, and integrate login. - **Scope**: - `src/components/ui/WMessage.vue` (Review/Update) - `package.json` (Add axios) - `src/service/request/index.ts` (Create) - `src/service/api/auth.ts` (Create) - `src/stores/user.ts` (Update) - `src/components/TheNavigation.vue` (Update) ### [Task 2] Score API Encapsulation and Business Integration - **Time**: 2025-12-18 - **Goal**: Encapsulate Score API and integrate into components. - **Scope**: - `src/service/api/score.ts` (Create) - `src/stores/score.ts` (Create) - `src/components/TheNavigation.vue` (Update) - `src/components/ScoreForm.vue` (Update) - `project_task.md` (Update) ### [Task 2] Verification and Documentation - **Time**: 2025-12-18 - **Goal**: Verify score integration and update documentation. - **Scope**: - `project_task.md` (Update status) ### [Task 2] Fix Score Refresh Issue - **Time**: 2025-12-18 - **Goal**: Ensure score data is fetched when ScoreForm mounts if store is empty. - **Scope**: - `src/components/ScoreForm.vue` (Update onMounted) ### [Task 3] Enhance WMessage Component - **Time**: 2025-12-18 - **Goal**: Add position configuration support (top/bottom/left/right/center). - **Scope**: - `src/utils/message.ts` (Update logic to support multiple containers) - `src/components/ui/WMessage.vue` (No changes needed, styles handled by container) ### [Task 4] Implement Fullscreen Loading - **Time**: 2025-12-18 - **Goal**: Add blocking loading overlay controlled by request config. - **Scope**: - `src/components/ui/WLoading.vue` (Create) - `src/utils/loading.ts` (Create) - `src/service/request/index.ts` (Update interceptors)