洋浦项目阶段代码提交

init
gongdi 4 years ago
parent 6ff261a116
commit bf350afdfd

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

@ -281,7 +281,7 @@ const menuConfig = [
component: () => import("./pages/monitorCenter/schoolDaily.vue"), component: () => import("./pages/monitorCenter/schoolDaily.vue"),
}, },
{ {
title: "教学应用情况", title: "信息化应用情况",
path: "/monitorCenter/information", path: "/monitorCenter/information",
name: "information", name: "information",
component: () => import("./pages/monitorCenter/schoolInformation.vue"), component: () => import("./pages/monitorCenter/schoolInformation.vue"),

@ -14,7 +14,7 @@
return { return {
columns: [ columns: [
{ {
title: '', title: '角色',
dataIndex: 'index', dataIndex: 'index',
key: 'index', key: 'index',
align: "center", align: "center",
@ -75,8 +75,8 @@
}, },
], ],
tableData: [ tableData: [
{index:"教职工",totalNum:257,realNum:250,lateNum:3,leaveNum:1,publicNum:3,trusteeshipNum:'--',feverNum:0,quarantineNum:0,vaccinesNum:257}, {index:"教职工",totalNum:589,realNum:580,lateNum:3,leaveNum:1,publicNum:3,trusteeshipNum:'--',feverNum:0,quarantineNum:0,vaccinesNum:589},
{index:"学生",totalNum:1280,realNum:1270,lateNum:8,leaveNum:10,publicNum:'--',trusteeshipNum:568,feverNum:0,quarantineNum:0,vaccinesNum:1196} {index:"学生",totalNum:2850,realNum:2830,lateNum:8,leaveNum:10,publicNum:'--',trusteeshipNum:568,feverNum:0,quarantineNum:0,vaccinesNum:2215}
] ]
} }
}, },

@ -4,7 +4,7 @@
<div class="content-left-style"> <div class="content-left-style">
<dv-decoration-9> <dv-decoration-9>
<div class="box-9-content-style"> <div class="box-9-content-style">
<div class="box-9-text-style" style="font-size: 20px">78</div> <div class="box-9-text-style" style="font-size: 20px">53</div>
<div class="box-9-text-style" style="font-size: 12px">共计班级</div> <div class="box-9-text-style" style="font-size: 12px">共计班级</div>
</div> </div>
</dv-decoration-9> </dv-decoration-9>
@ -12,13 +12,13 @@
<div class="content-right-style"> <div class="content-right-style">
<div class="right-top-style"> <div class="right-top-style">
<div class="box-item-style"><span>小学部</span></div> <div class="box-item-style"><span>小学部</span></div>
<div class="box-item-style"><span>班级</span><span class="large-text-style">32</span></div> <div class="box-item-style"><span>班级</span><span class="large-text-style">35</span></div>
<div class="box-item-style"><span>学生</span><span class="large-text-style">650</span></div> <div class="box-item-style"><span>学生</span><span class="large-text-style">1560</span></div>
</div> </div>
<div class="right-bottom-style"> <div class="right-bottom-style">
<div class="box-item-style"><span>初中部</span></div> <div class="box-item-style"><span>初中部</span></div>
<div class="box-item-style"><span>班级</span><span class="large-text-style">28</span></div> <div class="box-item-style"><span>班级</span><span class="large-text-style">25</span></div>
<div class="box-item-style"><span>学生</span><span class="large-text-style">561</span></div> <div class="box-item-style"><span>学生</span><span class="large-text-style">1290</span></div>
</div> </div>
</div> </div>
</div> </div>

@ -4,7 +4,7 @@
<div class="content-left-style"> <div class="content-left-style">
<dv-decoration-9> <dv-decoration-9>
<div class="box-9-content-style"> <div class="box-9-content-style">
<div class="box-9-text-style" style="font-size: 20px">128</div> <div class="box-9-text-style" style="font-size: 20px">589</div>
<div class="box-9-text-style" style="font-size: 12px">共计人数</div> <div class="box-9-text-style" style="font-size: 12px">共计人数</div>
</div> </div>
</dv-decoration-9> </dv-decoration-9>
@ -12,7 +12,7 @@
<div class="content-right-style"> <div class="content-right-style">
<div class="right-item-style"> <div class="right-item-style">
<span>小学部</span> <span>小学部</span>
<span>75</span> <span>252</span>
</div> </div>
<div class="right-item-style"> <div class="right-item-style">
<span>行政后勤</span> <span>行政后勤</span>
@ -20,11 +20,11 @@
</div> </div>
<div class="right-item-style"> <div class="right-item-style">
<span>初中部</span> <span>初中部</span>
<span>53</span> <span>337</span>
</div> </div>
<div class="right-item-style"> <div class="right-item-style">
<span>德育处</span> <span>德育处</span>
<span>53</span> <span>26</span>
</div> </div>
</div> </div>
</div> </div>

@ -3,11 +3,17 @@
<div class="car-access-content-style"> <div class="car-access-content-style">
<div class="part-one-style"> <div class="part-one-style">
<div class="item-style"> <div class="item-style">
<span class="title-style">入校车辆</span> <div class="img-style">
<img :src="require('../../../assets/images/car.png')"/>
<span class="title-style">出校车辆</span>
</div>
<span class="num-style">20</span> <span class="num-style">20</span>
</div> </div>
<div class="item-style"> <div class="item-style">
<div class="img-style">
<img :src="require('../../../assets/images/car.png')"/>
<span class="title-style">出校车辆</span> <span class="title-style">出校车辆</span>
</div>
<span class="num-style">10</span> <span class="num-style">10</span>
</div> </div>
</div> </div>
@ -134,10 +140,10 @@
@import "../../../assets/scss/style"; @import "../../../assets/scss/style";
.school-safe-car-access-style { .school-safe-car-access-style {
width: 100%; width: 100%;
height: 570px !important; height: 610px !important;
.car-access-content-style { .car-access-content-style {
width: 100%; width: 100%;
height: 535px; height: 555px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.part-one-style { .part-one-style {
@ -156,6 +162,19 @@
align-items: center; align-items: center;
padding: 0 20px; padding: 0 20px;
color: $color-default-bright; color: $color-default-bright;
.img-style{
width: 50%;
height: 40px;
display: flex;
align-items: center;
img{
width: 40px;
height: 40px;
}
.title-style{
margin-left: 10px;
}
}
.num-style { .num-style {
font-size: 20px; font-size: 20px;
} }
@ -167,7 +186,7 @@
} }
.part-three-style{ .part-three-style{
width: 100%; width: 100%;
height: 260px; height: 280px;
margin-top: 5px; margin-top: 5px;
display: flex; display: flex;
.access-list-top-style{ .access-list-top-style{

@ -84,10 +84,10 @@
@import "../../../assets/scss/style"; @import "../../../assets/scss/style";
.school-safe-equipment-operation-style{ .school-safe-equipment-operation-style{
width: 100%; width: 100%;
height: 570px !important; height: 610px !important;
.equipment-operation-content-style{ .equipment-operation-content-style{
width: 100%; width: 100%;
height: 535px; height: 555px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.part-one-style{ .part-one-style{
@ -143,7 +143,7 @@
justify-content: flex-start; justify-content: flex-start;
.row-left-style { .row-left-style {
width: 100px; width: 100px;
height: 30px; height: 40px;
transform: skewX(-45deg); transform: skewX(-45deg);
background-image: linear-gradient(#01386e, #125d8c); background-image: linear-gradient(#01386e, #125d8c);
color: $color-default-bright; color: $color-default-bright;
@ -155,8 +155,8 @@
position: absolute; position: absolute;
left: -25px; left: -25px;
top: 0; top: 0;
height: 30px; height: 40px;
width: 40px; width: 50px;
transform: skewX(45deg); transform: skewX(45deg);
background-image: linear-gradient(#01386e, #125d8c); background-image: linear-gradient(#01386e, #125d8c);
} }
@ -169,7 +169,7 @@
} }
.row-right-style { .row-right-style {
width: 100px; width: 100px;
height: 30px; height: 40px;
transform: skewX(-45deg); transform: skewX(-45deg);
background-image: linear-gradient(#806f44, #40424d); background-image: linear-gradient(#806f44, #40424d);
color: #d5c433; color: #d5c433;
@ -186,19 +186,19 @@
} }
.title-after { .title-after {
position: absolute; position: absolute;
right: -15px; right: -20px;
top: 0; top: 0;
height: 30px; height: 40px;
width: 40px; width: 50px;
transform: skewX(45deg); transform: skewX(45deg);
background-image: linear-gradient(#806f44, #40424d); background-image: linear-gradient(#806f44, #40424d);
} }
} }
.row-percent-style{ .row-percent-style{
height: 30px; height: 40px;
line-height: 30px; line-height: 40px;
color: #d5c433; color: #d5c433;
margin-left: 20px; margin-left: 30px;
} }
} }
} }

@ -46,10 +46,10 @@
@import "../../../assets/scss/style"; @import "../../../assets/scss/style";
.school-safe-person-access-style{ .school-safe-person-access-style{
width: 100%; width: 100%;
height: 260px !important; height: 220px !important;
.person-access-content-style{ .person-access-content-style{
width: 100%; width: 100%;
height: 225px; height: 195px;
display: flex; display: flex;
.access-left-content-style{ .access-left-content-style{
width: 180px; width: 180px;

@ -30,7 +30,11 @@
:class="'class-item-style' + (tag.classId === currentClassId?' current-class-style':'')" :class="'class-item-style' + (tag.classId === currentClassId?' current-class-style':'')"
> >
<span @click="classClick(tag.classId)">{{ tag.className }}</span> <span @click="classClick(tag.classId)">
<span class="img-style">
<img :src="require('../../../assets/images/carema.png')"/>
</span>
{{ tag.className }}</span>
</span> </span>
</span> </span>
</a-table> </a-table>

@ -46,10 +46,10 @@
@import "../../../assets/scss/style"; @import "../../../assets/scss/style";
.school-safe-box-style { .school-safe-box-style {
width: 100%; width: 100%;
height: 260px !important; height: 220px !important;
.school-safe-content-style { .school-safe-content-style {
width: 100%; width: 100%;
height: 225px; height: 195px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.item-style { .item-style {

@ -121,9 +121,9 @@
{id:6,stageName:"六年级",personNum:"270",boyNum:"128",girlNum:"142",classNum:"5"}, {id:6,stageName:"六年级",personNum:"270",boyNum:"128",girlNum:"142",classNum:"5"},
], ],
middleArr:[ middleArr:[
{id:1,stageName:"一年级",personNum:"429",boyNum:"207",girlNum:"222",classNum:"6"}, {id:1,stageName:"一年级",personNum:"429",boyNum:"207",girlNum:"222",classNum:"8"},
{id:2,stageName:"二年级",personNum:"360",boyNum:"210",girlNum:"150",classNum:"6"}, {id:2,stageName:"二年级",personNum:"360",boyNum:"210",girlNum:"150",classNum:"9"},
{id:3,stageName:"三年级",personNum:"401",boyNum:"206",girlNum:"195",classNum:"6"}, {id:3,stageName:"三年级",personNum:"401",boyNum:"206",girlNum:"195",classNum:"8"},
], ],
} }
}, },

@ -46,8 +46,8 @@
stageId:0, stageId:0,
middleArr:[ middleArr:[
{id:1,stageName:"全校",personNum:"246",boyNum:"133",girlNum:"110"}, {id:1,stageName:"全校",personNum:"246",boyNum:"133",girlNum:"110"},
{id:2,stageName:"小学部",personNum:"47",boyNum:"76",girlNum:"15"}, {id:2,stageName:"小学部",personNum:"134",boyNum:"76",girlNum:"56"},
{id:3,stageName:"初中部",personNum:"34",boyNum:"28",girlNum:"44"}, {id:3,stageName:"初中部",personNum:"112",boyNum:"57",girlNum:"54"},
], ],
} }
}, },

@ -22,7 +22,7 @@
return { return {
columns: [ columns: [
{ {
title: '', title: '学段',
dataIndex: 'index', dataIndex: 'index',
key: 'index', key: 'index',
align: "center", align: "center",

@ -144,6 +144,7 @@
.num-style{ .num-style{
width: 200px; width: 200px;
height: 20px; height: 20px;
line-height: 20px;
background-color: #0c4a7b; background-color: #0c4a7b;
text-align: center; text-align: center;
color: #efff41; color: #efff41;

@ -112,7 +112,7 @@
.box-center-style{ .box-center-style{
position: absolute; position: absolute;
display: flex; display: flex;
font-size: 12px; font-size: 16px;
color: #1890ff; color: #1890ff;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;

@ -11,6 +11,10 @@ const whiteList = ['/','/threeDimensionalSchool','/dynamic','/traditional']
*/ */
const loginGuard = (to, from, next, options) => { const loginGuard = (to, from, next, options) => {
let toPath = to.path; let toPath = to.path;
console.log(toPath)
if(whiteList.indexOf(toPath) !== -1){ if(whiteList.indexOf(toPath) !== -1){
//白名单 放行 //白名单 放行
next(); next();
@ -23,6 +27,22 @@ 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"){
//跳转教学中心
window.location.href="https://cloud.edusoa.com/DataCenter/TeachCenter.html";
return;
}
if(toPath === "/resourcesCenter"){
//跳转教学中心
window.location.href="https://cloud.edusoa.com/DataCenter/ResourceCenter.html";
return;
}
if(toPath === "/monitorCenter/information"){
//跳转教学中心
window.location.href="https://cloud.edusoa.com/DataCenter/DataCenter.html";
return;
}
//如果cookie中有登录信息且路由为login则跳转到根路由 //如果cookie中有登录信息且路由为login则跳转到根路由
// 加载动态路由 // 加载动态路由
// loadRoutes(options); // loadRoutes(options);

Loading…
Cancel
Save