35 lines
1.4 KiB
Markdown
35 lines
1.4 KiB
Markdown
# Task 9 Report: Application, Approval, Logs, and Users Pages
|
|
|
|
## Completed
|
|
|
|
Created all 4 page components in `frontend/src/views/`:
|
|
|
|
1. **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
|
|
|
|
2. **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
|
|
|
|
3. **Logs.vue** - Operation logs page:
|
|
- Filter bar with operation type dropdown and date range picker
|
|
- Table listing operation logs with search and reset functionality
|
|
|
|
4. **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.vue`
|
|
- `c:/1111/12.project/VSCode/warehouse-mms/frontend/src/views/Approval.vue`
|
|
- `c:/1111/12.project/VSCode/warehouse-mms/frontend/src/views/Logs.vue`
|
|
- `c:/1111/12.project/VSCode/warehouse-mms/frontend/src/views/Users.vue`
|