洋浦学校八大中心 教学管理中心前端布局

init
gongdi 3 years ago
parent a65f6ba46f
commit 0c4c79412f

@ -953,68 +953,68 @@ const menuConfigYP = [
component: () => import("./pages/secondPages/secondPageBox.vue"), component: () => import("./pages/secondPages/secondPageBox.vue"),
children: [ children: [
{ {
title: "首页", title: "",
path: "/teachingCenter/teachingHomePage", path: "/teachingCenter/teachingHomePage",
name: "teachingHome", name: "teachingHome",
disable: true, disable: true,
component: () => import("./pages/teachingCenter/teachingCenter.vue"), component: () => import("./pages/teachingCenter/teachingCenter.vue"),
}, },
{ // {
title: "学院学堂", // title: "学院学堂",
path: "/teachingCenter/collegeSchool", // path: "/teachingCenter/collegeSchool",
name: "collegeSchoolPage", // name: "collegeSchoolPage",
disable: true, // disable: true,
component: () => import("./pages/teachingCenter/teachingCenter.vue"), // component: () => import("./pages/teachingCenter/teachingCenter.vue"),
}, // },
{ // {
title: "同步备课", // title: "同步备课",
path: "/teachingCenter/lessonPreparation", // path: "/teachingCenter/lessonPreparation",
name: "lessonPreparationPage", // name: "lessonPreparationPage",
disable: true, // disable: true,
component: () => import("./pages/teachingCenter/teachingCenter.vue"), // component: () => import("./pages/teachingCenter/teachingCenter.vue"),
}, // },
{ // {
title: "课堂授课", // title: "课堂授课",
path: "/teachingCenter/lecture", // path: "/teachingCenter/lecture",
name: "lecturePage", // name: "lecturePage",
disable: true, // disable: true,
component: () => import("./pages/teachingCenter/teachingCenter.vue"), // component: () => import("./pages/teachingCenter/teachingCenter.vue"),
}, // },
{ // {
title: "课后辅导", // title: "课后辅导",
path: "/teachingCenter/coach", // path: "/teachingCenter/coach",
name: "coachPage", // name: "coachPage",
disable: true, // disable: true,
component: () => import("./pages/teachingCenter/teachingCenter.vue"), // component: () => import("./pages/teachingCenter/teachingCenter.vue"),
}, // },
{ // {
title: "学生作业", // title: "学生作业",
path: "/teachingCenter/studentTask", // path: "/teachingCenter/studentTask",
name: "studentTaskPage", // name: "studentTaskPage",
disable: true, // disable: true,
component: () => import("./pages/teachingCenter/teachingCenter.vue"), // component: () => import("./pages/teachingCenter/teachingCenter.vue"),
}, // },
{ // {
title: "阶段练习", // title: "阶段练习",
path: "/teachingCenter/studentPractice", // path: "/teachingCenter/studentPractice",
name: "studentPracticePage", // name: "studentPracticePage",
disable: true, // disable: true,
component: () => import("./pages/teachingCenter/teachingCenter.vue"), // component: () => import("./pages/teachingCenter/teachingCenter.vue"),
}, // },
{ // {
title: "教学研究", // title: "教学研究",
path: "/teachingCenter/teachingResearch", // path: "/teachingCenter/teachingResearch",
name: "teachingResearchPage", // name: "teachingResearchPage",
disable: true, // disable: true,
component: () => import("./pages/teachingCenter/teachingCenter.vue"), // component: () => import("./pages/teachingCenter/teachingCenter.vue"),
}, // },
{ // {
title: "更多", // title: "更多",
path: "/teachingCenter/more", // path: "/teachingCenter/more",
name: "morePage", // name: "morePage",
disable: true, // disable: true,
component: () => import("./pages/teachingCenter/teachingCenter.vue"), // component: () => import("./pages/teachingCenter/teachingCenter.vue"),
}, // },
] ]
}, },
{ {

@ -0,0 +1,34 @@
<template>
<CommonBox title="课程安排" class="teaching-center-course-arrangement-style">
<a-spin class="course-arrangement-box-style" :spinning="spinning">
</a-spin>
</CommonBox>
</template>
<script>
/*
* 课程安排
* */
import CommonBox from '../secondPages/commonBox.vue';
import {Icon, Spin, List, Empty} from 'ant-design-vue';
export default{
data(){
return {
spinning: false,
listScroll: this.StaticParams.scrollOption,
}
},
components:{
CommonBox,
ASpin: Spin,
}
}
</script>
<style scoped lang="scss">
@import "../../assets/scss/style";
.teaching-center-course-arrangement-style {
width: 100%;
height: 280px !important;
position: relative;
}
</style>

@ -0,0 +1,34 @@
<template>
<CommonBox title="校本课程" class="teaching-center-school-base-course-style">
<a-spin class="school-base-course-box-style" :spinning="spinning">
</a-spin>
</CommonBox>
</template>
<script>
/*
* 校本课程
* */
import CommonBox from '../secondPages/commonBox.vue';
import {Icon, Spin, List, Empty} from 'ant-design-vue';
export default{
data(){
return {
spinning: false,
listScroll: this.StaticParams.scrollOption,
}
},
components:{
CommonBox,
ASpin: Spin,
}
}
</script>
<style scoped lang="scss">
@import "../../assets/scss/style";
.teaching-center-school-base-course-style {
width: 100%;
height: 280px !important;
position: relative;
}
</style>

@ -0,0 +1,35 @@
<template>
<CommonBox title="科研活动" class="teaching-center-science-activities-style">
<a-spin class="science-activities-box-style" :spinning="spinning">
</a-spin>
</CommonBox>
</template>
<script>
/*
* 科研活动
* */
import CommonBox from '../secondPages/commonBox.vue';
import {Icon, Spin, List, Empty} from 'ant-design-vue';
export default{
data(){
return {
spinning: false,
listScroll: this.StaticParams.scrollOption,
}
},
components:{
CommonBox,
ASpin: Spin,
}
}
</script>
<style scoped lang="scss">
@import "../../assets/scss/style";
.teaching-center-science-activities-style {
width: 100%;
height: 420px !important;
position: relative;
margin-top: 50px;
}
</style>

@ -0,0 +1,34 @@
<template>
<CommonBox title="教研活动" class="teaching-center-teaching-activities-style">
<a-spin class="teaching-activities-box-style" :spinning="spinning">
</a-spin>
</CommonBox>
</template>
<script>
/*
* 教研活动
* */
import CommonBox from '../secondPages/commonBox.vue';
import {Icon, Spin, List, Empty} from 'ant-design-vue';
export default{
data(){
return {
spinning: false,
listScroll: this.StaticParams.scrollOption,
}
},
components:{
CommonBox,
ASpin: Spin,
}
}
</script>
<style scoped lang="scss">
@import "../../assets/scss/style";
.teaching-center-teaching-activities-style {
width: 100%;
height: 420px !important;
position: relative;
}
</style>

@ -1,19 +1,58 @@
<template> <template>
<div> <div class="teaching-center-style">
<div class="column-style">
<course-arrangement/>
<teaching-check/>
</div>
<div class="column-style">
<school-base-course/>
<test-arrangement/>
</div>
<div class="column-style">
<teaching-activities/>
<science-activities/>
</div>
</div> </div>
</template> </template>
<script> <script>
/* /*
* 教学管理中心 * 教学管理中心
* */ * */
import CourseArrangement from './courseArrangement.vue';
import TeachingCheck from './teachingCheck.vue';
import SchoolBaseCourse from './schoolBaseCourse.vue';
import TestArrangement from './testArrangement.vue';
import TeachingActivities from './teachingActivities.vue';
import ScienceActivities from './scienceActivities.vue';
export default{ export default{
data(){ data(){
return {} return {}
},
created(){
document.documentElement.style.setProperty('--modTitleOne', '#094193');
document.documentElement.style.setProperty('--modTitleTwo', '#094193');
},
components:{
CourseArrangement,
TeachingCheck,
SchoolBaseCourse,
TestArrangement,
TeachingActivities,
ScienceActivities
} }
} }
</script> </script>
<style scoped lang="scss">
<style></style> .teaching-center-style{
width: 100%;
display: flex;
justify-content: space-between;
margin-top: 10px;
.column-style{
display: flex;
flex-direction: column;
width: 640px;
padding: 10px;
}
}
</style>

@ -0,0 +1,35 @@
<template>
<CommonBox title="教学检查" class="teaching-center-teaching-check-style">
<a-spin class="teaching-check-box-style" :spinning="spinning">
</a-spin>
</CommonBox>
</template>
<script>
/*
* 教学检查
* */
import CommonBox from '../secondPages/commonBox.vue';
import {Icon, Spin, List, Empty} from 'ant-design-vue';
export default{
data(){
return {
spinning: false,
listScroll: this.StaticParams.scrollOption,
}
},
components:{
CommonBox,
ASpin: Spin,
}
}
</script>
<style scoped lang="scss">
@import "../../assets/scss/style";
.teaching-center-teaching-check-style {
width: 100%;
height: 560px !important;
position: relative;
margin-top: 50px;
}
</style>

@ -0,0 +1,35 @@
<template>
<CommonBox title="考试安排" class="teaching-center-test-arrangement-style">
<a-spin class="test-arrangement-box-style" :spinning="spinning">
</a-spin>
</CommonBox>
</template>
<script>
/*
* 考试安排
* */
import CommonBox from '../secondPages/commonBox.vue';
import {Icon, Spin, List, Empty} from 'ant-design-vue';
export default{
data(){
return {
spinning: false,
listScroll: this.StaticParams.scrollOption,
}
},
components:{
CommonBox,
ASpin: Spin,
}
}
</script>
<style scoped lang="scss">
@import "../../assets/scss/style";
.teaching-center-test-arrangement-style {
width: 100%;
height: 560px !important;
position: relative;
margin-top: 50px;
}
</style>

@ -23,11 +23,11 @@ const loginGuard = (to, from, next, options) => {
const hasToken = getToken(); const hasToken = getToken();
//localStorage和cookie均校验 //localStorage和cookie均校验
if (hasToken && user && user.personId) { if (hasToken && user && user.personId) {
if(toPath === "/teachingCenter"){ // if(toPath === "/teachingCenter"){
//跳转教学中心 // //跳转教学中心
window.location.href="https://www.edusoa.com/dsideal_yy/DataCenter_yp/TeachCenter.html"; // window.location.href="https://www.edusoa.com/dsideal_yy/DataCenter_yp/TeachCenter.html";
return; // return;
} // }
if(toPath === "/resourcesCenter"){ if(toPath === "/resourcesCenter"){
//跳转教学中心 //跳转教学中心
window.location.href="https://www.edusoa.com/dsideal_yy/DataCenter_yp/ResourceCenter.html"; window.location.href="https://www.edusoa.com/dsideal_yy/DataCenter_yp/ResourceCenter.html";

Loading…
Cancel
Save