From f876c33603bde50bc629b78897c920e56cac156a Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Fri, 15 Apr 2022 14:46:24 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E7=BB=9F=E8=AE=A1=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layout/components/Logout.vue | 12 +++
src/router/index.js | 6 ++
.../organization/studentStatistics/index.vue | 87 +++++++++++++++++++
3 files changed, 105 insertions(+)
create mode 100644 src/views/organization/studentStatistics/index.vue
diff --git a/src/layout/components/Logout.vue b/src/layout/components/Logout.vue
index 2b5f1f568..27f5818c2 100644
--- a/src/layout/components/Logout.vue
+++ b/src/layout/components/Logout.vue
@@ -13,6 +13,9 @@
教学管理
+
+ 数据统计
+
{{ $t('global.exit') }}
@@ -42,8 +45,14 @@ export default {
companyAdmin() {
return this.$store.state.user.companyAdmin;
},
+ isNotCompanyAdmin(){
+ return this.$store.state.user.companyAdmin==false;
+ },
isSameProject() {
return this.$store.state.user.companyProjectList.includes(getSessionStorage('project').toUpperCase());
+ },
+ isCGY() {
+ return getSessionStorage('project') === 'cgy';
}
},
mounted() {
@@ -62,6 +71,9 @@ export default {
},
handleOrganization() {
this.$router.push({ path: `/info/organization` });
+ },
+ handleStatistics(){
+ this.$router.push({ path: `/info/gradeStatistics` });
}
}
};
diff --git a/src/router/index.js b/src/router/index.js
index 6add0a02e..59471c241 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -172,6 +172,7 @@ const StudentManage = () => import('@/views/organization/classManage/studentMana
const DurationView = () => import('@/views/organization/classManage/durationView');
const GradeList = () => import('@/views/organization/examManage/gradeList');
const GradeStatistics = () => import('@/views/organization/examManage/gradeStatistics');
+const StudentStatistics = () => import('@/views/organization/studentStatistics/index');
const CreateRule = () => import('@/views/organization/ruleManage/createRule');
const TotalGrade = () => import('@/views/organization/ruleManage/totalGrade');
const InfoLessonDetail = () => import('@/views/organization/lessonManage/lessonDetail');
@@ -658,6 +659,11 @@ export const publicAsyncRoute = [
component: GradeStatistics,
hidden: true
},
+ {
+ path: 'studentStatistics',
+ component: StudentStatistics,
+ hidden: true
+ },
{
path: 'createRule',
component: CreateRule,
diff --git a/src/views/organization/studentStatistics/index.vue b/src/views/organization/studentStatistics/index.vue
new file mode 100644
index 000000000..eb3cbfbb4
--- /dev/null
+++ b/src/views/organization/studentStatistics/index.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+