1.4 KiB
1.4 KiB
Task 9 Report: Application, Approval, Logs, and Users Pages
Completed
Created all 4 page components in frontend/src/views/:
-
Application.vue - Material application page with two tabs:
- "发起申请" tab: Form to submit new material applications with dynamic item rows
- "我的申请" tab: Table listing user's own applications with cancel action
-
Approval.vue - Application approval page:
- Lists all applications with status filter (all/pending/approved/rejected)
- Approve action with auto-outbound toggle dialog
- Reject action with reason input dialog
-
Logs.vue - Operation logs page:
- Filter bar with operation type dropdown and date range picker
- Table listing operation logs with search and reset functionality
-
Users.vue - User management page:
- User list with role badge display
- Add/Edit user modal with username, password, role, and description fields
- Delete confirmation dialog integration
Verification
Dev server (Vite v5.4.21) started successfully on port 8083 with no build errors.
Files Created
c:/1111/12.project/VSCode/warehouse-mms/frontend/src/views/Application.vuec:/1111/12.project/VSCode/warehouse-mms/frontend/src/views/Approval.vuec:/1111/12.project/VSCode/warehouse-mms/frontend/src/views/Logs.vuec:/1111/12.project/VSCode/warehouse-mms/frontend/src/views/Users.vue