hookehuyr

feat(teacher): 新增教师模块路由、表单页面和作业管理页面

添加教师模块相关功能,包括:
1. 在路由配置中添加教师模块路由
2. 创建教师作业新增表单页面
3. 实现教师作业管理日历视图页面
4. 添加相关Vant组件支持
......@@ -30,15 +30,20 @@ declare module 'vue' {
UploadVideoPopup: typeof import('./components/ui/UploadVideoPopup.vue')['default']
UserAgreement: typeof import('./components/ui/UserAgreement.vue')['default']
VanActionSheet: typeof import('vant/es')['ActionSheet']
VanBackTop: typeof import('vant/es')['BackTop']
VanButton: typeof import('vant/es')['Button']
VanCalendar: typeof import('vant/es')['Calendar']
VanCell: typeof import('vant/es')['Cell']
VanCellGroup: typeof import('vant/es')['CellGroup']
VanCheckbox: typeof import('vant/es')['Checkbox']
VanCol: typeof import('vant/es')['Col']
VanConfigProvider: typeof import('vant/es')['ConfigProvider']
VanDatePicker: typeof import('vant/es')['DatePicker']
VanDatetimePicker: typeof import('vant/es')['DatetimePicker']
VanDialog: typeof import('vant/es')['Dialog']
VanDivider: typeof import('vant/es')['Divider']
VanDropdownItem: typeof import('vant/es')['DropdownItem']
VanDropdownMenu: typeof import('vant/es')['DropdownMenu']
VanEmpty: typeof import('vant/es')['Empty']
VanField: typeof import('vant/es')['Field']
VanForm: typeof import('vant/es')['Form']
......@@ -55,6 +60,7 @@ declare module 'vue' {
VanProgress: typeof import('vant/es')['Progress']
VanRate: typeof import('vant/es')['Rate']
VanRow: typeof import('vant/es')['Row']
VanSearch: typeof import('vant/es')['Search']
VanSwipe: typeof import('vant/es')['Swipe']
VanSwipeItem: typeof import('vant/es')['SwipeItem']
VanTab: typeof import('vant/es')['Tab']
......
/*
* @Date: 2025-03-20 20:36:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-13 11:24:11
* @LastEditTime: 2025-06-17 16:47:13
* @FilePath: /mlaj/src/router/routes.js
* @Description: 路由地址映射配置
*/
import checkinRoutes from './checkin'
import teacherRoutes from './teacher'
export const routes = [
{
......@@ -226,4 +227,5 @@ export const routes = [
}
},
...checkinRoutes,
...teacherRoutes,
]
......
/*
* @Date: 2025-06-17 16:46:50
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-18 11:34:36
* @FilePath: /mlaj/src/router/teacher.js
* @Description: 文件描述
*/
export default [
{
path: '/teacher/index',
name: 'Teacher',
component: () => import('../views/teacher/testPage.vue'),
meta: {
title: '教师',
requiresAuth: true
},
},
{
path: '/teacher/form',
name: 'TeacherForm',
component: () => import('../views/teacher/formPage.vue'),
meta: {
title: '教师新增作业',
requiresAuth: true
},
},
]
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.