diff --git a/src/api/infra/demo/demo03/inner/index.ts b/src/api/infra/demo/demo03/inner/index.ts
new file mode 100644
index 00000000..f15ee1dc
--- /dev/null
+++ b/src/api/infra/demo/demo03/inner/index.ts
@@ -0,0 +1,53 @@
+import request from '@/config/axios'
+
+export interface Demo03StudentVO {
+ id: number
+ name: string
+ sex: number
+ birthday: Date
+ description: string
+}
+
+// 查询学生分页
+export const getDemo03StudentPage = async (params) => {
+ return await request.get({ url: `/infra/demo03-student/page`, params })
+}
+
+// 查询学生详情
+export const getDemo03Student = async (id: number) => {
+ return await request.get({ url: `/infra/demo03-student/get?id=` + id })
+}
+
+// 新增学生
+export const createDemo03Student = async (data: Demo03StudentVO) => {
+ return await request.post({ url: `/infra/demo03-student/create`, data })
+}
+
+// 修改学生
+export const updateDemo03Student = async (data: Demo03StudentVO) => {
+ return await request.put({ url: `/infra/demo03-student/update`, data })
+}
+
+// 删除学生
+export const deleteDemo03Student = async (id: number) => {
+ return await request.delete({ url: `/infra/demo03-student/delete?id=` + id })
+}
+
+// 导出学生 Excel
+export const exportDemo03Student = async (params) => {
+ return await request.download({ url: `/infra/demo03-student/export-excel`, params })
+}
+
+// ==================== 子表(学生课程) ====================
+
+// 获得学生课程列表
+export const getDemo03CourseListByStudentId = async (studentId) => {
+ return await request.get({ url: `/infra/demo03-student/demo03-course/list-by-student-id?studentId=` + studentId })
+}
+
+// ==================== 子表(学生班级) ====================
+
+// 获得学生班级
+export const getDemo03GradeByStudentId = async (studentId) => {
+ return await request.get({ url: `/infra/demo03-student/demo03-grade/get-by-student-id?studentId=` + studentId })
+}
\ No newline at end of file
diff --git a/src/api/infra/demo11/index.ts b/src/api/infra/demo11/index.ts
deleted file mode 100644
index 4c4c7b4e..00000000
--- a/src/api/infra/demo11/index.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-import request from '@/config/axios'
-
-export interface Demo11StudentVO {
- id: number
- name: string
- description: string
- birthday: Date
- sex: number
- enabled: boolean
- avatar: string
- video: string
- memo: string
-}
-
-// 查询学生列表
-export const getDemo11StudentPage = async (params) => {
- return await request.get({ url: `/infra/demo11-student/page`, params })
-}
-
-// 查询学生详情
-export const getDemo11Student = async (id: number) => {
- return await request.get({ url: `/infra/demo11-student/get?id=` + id })
-}
-
-// 新增学生
-export const createDemo11Student = async (data: Demo11StudentVO) => {
- return await request.post({ url: `/infra/demo11-student/create`, data })
-}
-
-// 修改学生
-export const updateDemo11Student = async (data: Demo11StudentVO) => {
- return await request.put({ url: `/infra/demo11-student/update`, data })
-}
-
-// 删除学生
-export const deleteDemo11Student = async (id: number) => {
- return await request.delete({ url: `/infra/demo11-student/delete?id=` + id })
-}
-
-// 导出学生 Excel
-export const exportDemo11Student = async (params) => {
- return await request.download({ url: `/infra/demo11-student/export-excel`, params })
-}
-
-// ==================== 子表(学生联系人) ====================
-
-// 获得学生联系人列表
-export const getDemo11StudentContactListByStudentId = async (studentId) => {
- return await request.get({ url: `/infra/demo11-student/demo11-student/list-by-student-id?studentId=` + studentId })
-}
-
-// ==================== 子表(学生班主任) ====================
-
-// 获得学生班主任
-export const getDemo11StudentTeacherByStudentId = async (studentId) => {
- return await request.get({ url: `/infra/demo11-student/demo11-student/get-by-student-id?studentId=` + studentId })
-}
\ No newline at end of file
diff --git a/src/api/infra/demo12/index.ts b/src/api/infra/demo12/index.ts
deleted file mode 100644
index 3f2be47e..00000000
--- a/src/api/infra/demo12/index.ts
+++ /dev/null
@@ -1,95 +0,0 @@
-import request from '@/config/axios'
-
-export interface Demo12StudentVO {
- id: number
- name: string
- description: string
- birthday: Date
- sex: number
- enabled: boolean
- avatar: string
- video: string
- memo: string
-}
-
-// 查询学生列表
-export const getDemo12StudentPage = async (params) => {
- return await request.get({ url: `/infra/demo12-student/page`, params })
-}
-
-// 查询学生详情
-export const getDemo12Student = async (id: number) => {
- return await request.get({ url: `/infra/demo12-student/get?id=` + id })
-}
-
-// 新增学生
-export const createDemo12Student = async (data: Demo12StudentVO) => {
- return await request.post({ url: `/infra/demo12-student/create`, data })
-}
-
-// 修改学生
-export const updateDemo12Student = async (data: Demo12StudentVO) => {
- return await request.put({ url: `/infra/demo12-student/update`, data })
-}
-
-// 删除学生
-export const deleteDemo12Student = async (id: number) => {
- return await request.delete({ url: `/infra/demo12-student/delete?id=` + id })
-}
-
-// 导出学生 Excel
-export const exportDemo12Student = async (params) => {
- return await request.download({ url: `/infra/demo12-student/export-excel`, params })
-}
-
-// ==================== 子表(学生联系人) ====================
-
-// 获得学生联系人分页
-export const getDemo12StudentContactPage = async (params) => {
- return await request.get({ url: `/infra/demo12-student/demo12-student-contact/page`, params })
-}
-// 新增学生联系人
-export const createDemo12StudentContact = async (data) => {
- return await request.post({ url: `/infra/demo12-student/demo12-student-contact/create`, data })
-}
-
-// 修改学生联系人
-export const updateDemo12StudentContact = async (data) => {
- return await request.put({ url: `/infra/demo12-student/demo12-student-contact/update`, data })
-}
-
-// 删除学生联系人
-export const deleteDemo12StudentContact = async (id: number) => {
- return await request.delete({ url: `/infra/demo12-student/demo12-student-contact/delete?id=` + id })
-}
-
-// 获得学生联系人
-export const getDemo12StudentContact = async (id: number) => {
- return await request.get({ url: `/infra/demo12-student/demo12-student-contact/get?id=` + id })
-}
-
-// ==================== 子表(学生班主任) ====================
-
-// 获得学生班主任分页
-export const getDemo12StudentTeacherPage = async (params) => {
- return await request.get({ url: `/infra/demo12-student/demo12-student-teacher/page`, params })
-}
-// 新增学生班主任
-export const createDemo12StudentTeacher = async (data) => {
- return await request.post({ url: `/infra/demo12-student/demo12-student-teacher/create`, data })
-}
-
-// 修改学生班主任
-export const updateDemo12StudentTeacher = async (data) => {
- return await request.put({ url: `/infra/demo12-student/demo12-student-teacher/update`, data })
-}
-
-// 删除学生班主任
-export const deleteDemo12StudentTeacher = async (id: number) => {
- return await request.delete({ url: `/infra/demo12-student/demo12-student-teacher/delete?id=` + id })
-}
-
-// 获得学生班主任
-export const getDemo12StudentTeacher = async (id: number) => {
- return await request.get({ url: `/infra/demo12-student/demo12-student-teacher/get?id=` + id })
-}
\ No newline at end of file
diff --git a/src/views/infra/demo12/components/Demo12StudentContactForm.vue b/src/views/infra/demo/demo03/inner/Demo03StudentForm.vue
similarity index 61%
rename from src/views/infra/demo12/components/Demo12StudentContactForm.vue
rename to src/views/infra/demo/demo03/inner/Demo03StudentForm.vue
index e246678b..fe9327b9 100644
--- a/src/views/infra/demo12/components/Demo12StudentContactForm.vue
+++ b/src/views/infra/demo/demo03/inner/Demo03StudentForm.vue
@@ -10,8 +10,16 @@
-
-
+
+
+
+ {{ dict.label }}
+
+
-
-
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
确 定
取 消
@@ -59,8 +49,10 @@
\ No newline at end of file
diff --git a/src/views/infra/demo/demo03/inner/components/Demo03CourseList.vue b/src/views/infra/demo/demo03/inner/components/Demo03CourseList.vue
new file mode 100644
index 00000000..d912fc5d
--- /dev/null
+++ b/src/views/infra/demo/demo03/inner/components/Demo03CourseList.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/infra/demo/demo03/inner/components/Demo03GradeForm.vue b/src/views/infra/demo/demo03/inner/components/Demo03GradeForm.vue
new file mode 100644
index 00000000..e0eeb192
--- /dev/null
+++ b/src/views/infra/demo/demo03/inner/components/Demo03GradeForm.vue
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/infra/demo/demo03/inner/components/Demo03GradeList.vue b/src/views/infra/demo/demo03/inner/components/Demo03GradeList.vue
new file mode 100644
index 00000000..96905414
--- /dev/null
+++ b/src/views/infra/demo/demo03/inner/components/Demo03GradeList.vue
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/infra/demo11/index.vue b/src/views/infra/demo/demo03/inner/index.vue
similarity index 74%
rename from src/views/infra/demo11/index.vue
rename to src/views/infra/demo/demo03/inner/index.vue
index 36529eb9..4ce6037d 100644
--- a/src/views/infra/demo11/index.vue
+++ b/src/views/infra/demo/demo03/inner/index.vue
@@ -17,16 +17,6 @@
class="!w-240px"
/>
-
-
-
-
-
-
-
-
新增
@@ -84,7 +59,7 @@
plain
@click="handleExport"
:loading="exportLoading"
- v-hasPermi="['infra:demo11-student:export']"
+ v-hasPermi="['infra:demo03-student:export']"
>
导出
@@ -95,9 +70,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
编辑
@@ -139,7 +119,7 @@
link
type="danger"
@click="handleDelete(scope.row.id)"
- v-hasPermi="['infra:demo11-student:delete']"
+ v-hasPermi="['infra:demo03-student:delete']"
>
删除
@@ -156,32 +136,32 @@
-
+
diff --git a/src/views/infra/demo04/DemoStudentAddressList.vue b/src/views/infra/demo04/DemoStudentAddressList.vue
deleted file mode 100644
index 92143456..00000000
--- a/src/views/infra/demo04/DemoStudentAddressList.vue
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/demo04/DemoStudentContactForm.vue b/src/views/infra/demo04/DemoStudentContactForm.vue
deleted file mode 100644
index c8744eb0..00000000
--- a/src/views/infra/demo04/DemoStudentContactForm.vue
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
diff --git a/src/views/infra/demo04/DemoStudentContactList.vue b/src/views/infra/demo04/DemoStudentContactList.vue
deleted file mode 100644
index b944c407..00000000
--- a/src/views/infra/demo04/DemoStudentContactList.vue
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/demo04/DemoStudentForm.vue b/src/views/infra/demo04/DemoStudentForm.vue
deleted file mode 100644
index fe0788c4..00000000
--- a/src/views/infra/demo04/DemoStudentForm.vue
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
diff --git a/src/views/infra/demo04/index.vue b/src/views/infra/demo04/index.vue
deleted file mode 100644
index 9a6b8bfe..00000000
--- a/src/views/infra/demo04/index.vue
+++ /dev/null
@@ -1,184 +0,0 @@
-
-
-
-
-
- 搜索
- 重置
-
- 新增
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/infra/demo11/Demo11StudentForm.vue b/src/views/infra/demo11/Demo11StudentForm.vue
deleted file mode 100644
index 39c21a2b..00000000
--- a/src/views/infra/demo11/Demo11StudentForm.vue
+++ /dev/null
@@ -1,183 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/src/views/infra/demo11/components/Demo11StudentContactForm.vue b/src/views/infra/demo11/components/Demo11StudentContactForm.vue
deleted file mode 100644
index ba900017..00000000
--- a/src/views/infra/demo11/components/Demo11StudentContactForm.vue
+++ /dev/null
@@ -1,174 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- —
-
-
-
-
-
- + 添加学生联系人
-
-
-
\ No newline at end of file
diff --git a/src/views/infra/demo11/components/Demo11StudentTeacherForm.vue b/src/views/infra/demo11/components/Demo11StudentTeacherForm.vue
deleted file mode 100644
index a8697be1..00000000
--- a/src/views/infra/demo11/components/Demo11StudentTeacherForm.vue
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/infra/demo12/Demo12StudentForm.vue b/src/views/infra/demo12/Demo12StudentForm.vue
deleted file mode 100644
index af4e2733..00000000
--- a/src/views/infra/demo12/Demo12StudentForm.vue
+++ /dev/null
@@ -1,183 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/src/views/infra/demo12/components/Demo12StudentContactList.vue b/src/views/infra/demo12/components/Demo12StudentContactList.vue
deleted file mode 100644
index b9b1e717..00000000
--- a/src/views/infra/demo12/components/Demo12StudentContactList.vue
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/infra/demo12/components/Demo12StudentTeacherForm.vue b/src/views/infra/demo12/components/Demo12StudentTeacherForm.vue
deleted file mode 100644
index 92e2b373..00000000
--- a/src/views/infra/demo12/components/Demo12StudentTeacherForm.vue
+++ /dev/null
@@ -1,155 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/src/views/infra/demo12/components/Demo12StudentTeacherList.vue b/src/views/infra/demo12/components/Demo12StudentTeacherList.vue
deleted file mode 100644
index d0594534..00000000
--- a/src/views/infra/demo12/components/Demo12StudentTeacherList.vue
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/infra/demo12/index.vue b/src/views/infra/demo12/index.vue
deleted file mode 100644
index 47ec7f21..00000000
--- a/src/views/infra/demo12/index.vue
+++ /dev/null
@@ -1,278 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
- 新增
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/infra/testDemo/index.vue b/src/views/infra/testDemo/index.vue
deleted file mode 100644
index 5b7c1587..00000000
--- a/src/views/infra/testDemo/index.vue
+++ /dev/null
@@ -1,6 +0,0 @@
-
- index
-
-