From 280f875e99a418c65493e66b9baae6c62688b7b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666>
Date: Tue, 12 Nov 2024 17:32:52 +0800
Subject: [PATCH] =?UTF-8?q?add=EF=BC=9A=E4=BD=9C=E4=B8=9A=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=EF=BC=8C=E4=BB=A5=E5=8F=8A=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8Dbug=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/renderer/src/router/index.js | 6 +
src/renderer/src/views/classManage/index.vue | 4 +-
.../src/views/job-management/Header/index.vue | 27 ++++
.../src/views/job-management/Left/index.vue | 108 +++++++++++++
.../src/views/job-management/Right/index.vue | 84 ++++++++++
.../job-management/components/button.vue | 148 ++++++++++++++++++
.../components/customSelect.vue | 114 ++++++++++++++
.../src/views/job-management/index.vue | 31 ++++
src/renderer/src/views/model/index.vue | 1 +
src/renderer/src/views/profile/userInfo.vue | 13 +-
10 files changed, 531 insertions(+), 5 deletions(-)
create mode 100644 src/renderer/src/views/job-management/Header/index.vue
create mode 100644 src/renderer/src/views/job-management/Left/index.vue
create mode 100644 src/renderer/src/views/job-management/Right/index.vue
create mode 100644 src/renderer/src/views/job-management/components/button.vue
create mode 100644 src/renderer/src/views/job-management/components/customSelect.vue
create mode 100644 src/renderer/src/views/job-management/index.vue
diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js
index 918838d..9a1a89c 100644
--- a/src/renderer/src/router/index.js
+++ b/src/renderer/src/router/index.js
@@ -56,6 +56,12 @@ export const constantRoutes = [
name: 'examination-analysis',
meta: { title: '考试分析' }
},
+ {
+ path: 'management',
+ component: () => import('@/views/job-management/index.vue'),
+ name: 'job-management',
+ meta: { title: '作业管理' }
+ },
]
},
diff --git a/src/renderer/src/views/classManage/index.vue b/src/renderer/src/views/classManage/index.vue
index 331e9cf..da9be1a 100644
--- a/src/renderer/src/views/classManage/index.vue
+++ b/src/renderer/src/views/classManage/index.vue
@@ -286,7 +286,9 @@
}
onMounted(() => {
- getClassInfo()
+ // 没有加入学校之前的处理
+ if(userStore.deptId)
+ getClassInfo()
nextTick(() => {
viewportHeight.value = getViewportHeight()
})
diff --git a/src/renderer/src/views/job-management/Header/index.vue b/src/renderer/src/views/job-management/Header/index.vue
new file mode 100644
index 0000000..c4b5483
--- /dev/null
+++ b/src/renderer/src/views/job-management/Header/index.vue
@@ -0,0 +1,27 @@
+
+