洋浦学校 待办工作阶段代码提交

init
gongdi 3 years ago
parent 4ba6db00e8
commit ddbca06468

@ -455,7 +455,8 @@ const menuConfigDS = [
path: "/teachingCenter",
name: "teachingCenterPage",
imgUrl:"./3D/builds-b2/3d-res/texture/three.png",
component: () => import("./pages/secondPages/secondPageBox.vue"),
//component: () => import("./pages/secondPages/secondPageBox.vue"),
component: () => import("./pages/teachingAdmin/index.vue"),
children: [
{
title: "首页",
@ -529,7 +530,8 @@ const menuConfigDS = [
path: "/resourcesCenter",
name: "resourcesCenterPage",
imgUrl:"./3D/builds-b2/3d-res/texture/seven.png",
component: () => import("./pages/secondPages/secondPageBox.vue"),
/*component: () => import("./pages/secondPages/secondPageBox.vue"),*/
component: () => import("./pages/teachingResource/index.vue"),
children: [
{
title: "首页",

@ -51,6 +51,7 @@
}, 500)
},
modelChange:function (path) {
console.log("path:",path)
this.$router.replace({path:path});
}
},

@ -142,6 +142,7 @@
this.$emit("modelChange", this.menuPath);
return;
}
//
routePath = "/" + routePathAry[0];
}

@ -0,0 +1,68 @@
<template>
<div class="iframe-box-style" style="width: 100%;height: 100%">
<!--<div class="back-style" title="回到首页" @click="toMainPage"><a-icon type="home" theme="filled" /></div>-->
<iframe class="iframe-style"
src="https://cloud.edusoa.com/DataCenter/TeachCenter.html"
width="100%" height="100%"
frameborder="0"
scrolling="auto"
sandbox="allow-scripts allow-top-navigation allow-same-origin"
></iframe>
<div class="content-right-style" style="pointer-events: none">
<MenuRight/>
</div>
</div>
</template>
<script>
import {Icon} from 'ant-design-vue';
import MenuRight from '../homePages/threeDimensionalSchoolModel/menuRight.vue';
//src="https://cloud.edusoa.com/DataCenter/TeachCenter.html"
//src="https://www.edusoa.com/dsideal_yy/pro_integration/reactProject/test/test.html"
export default{
data(){
return {}
},
methods:{},
components:{
AIcon:Icon,
MenuRight
}
}
</script>
<style scoped lang="scss">
@import "../../assets/scss/style";
.iframe-box-style{
position: relative;
.back-style{
width: 30px;
height: 30px;
border-radius: 30px;
background-color: $color-default-bright;
margin-left: 10px;
display: flex;
justify-content: center;
align-items: center;
color: #0a1f3f;
cursor: pointer;
position: absolute;
top: 10px;
left: 1805px;
z-index: 1000;
}
.iframe-style{
position: absolute;
top: 0;
left: 0;
}
.content-right-style{
width: auto;
height: 800px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
right: 0;
}
}
</style>

@ -0,0 +1,68 @@
<template>
<div class="iframe-box-style" style="width: 100%;height: 100%">
<!--<div class="back-style" title="回到首页" @click="toMainPage"><a-icon type="home" theme="filled" /></div>-->
<iframe class="iframe-style"
src="https://cloud.edusoa.com/DataCenter/ResourceCenter.html"
width="100%" height="100%"
frameborder="0"
scrolling="auto"
sandbox="allow-scripts allow-top-navigation allow-same-origin"
></iframe>
<div class="content-right-style" style="pointer-events: none">
<MenuRight/>
</div>
</div>
</template>
<script>
import {Icon} from 'ant-design-vue';
import MenuRight from '../homePages/threeDimensionalSchoolModel/menuRight.vue';
//src="https://cloud.edusoa.com/DataCenter/TeachCenter.html"
//src="https://www.edusoa.com/dsideal_yy/pro_integration/reactProject/test/test.html"
export default{
data(){
return {}
},
methods:{},
components:{
AIcon:Icon,
MenuRight
}
}
</script>
<style scoped lang="scss">
@import "../../assets/scss/style";
.iframe-box-style{
position: relative;
.back-style{
width: 30px;
height: 30px;
border-radius: 30px;
background-color: $color-default-bright;
margin-left: 10px;
display: flex;
justify-content: center;
align-items: center;
color: #0a1f3f;
cursor: pointer;
position: absolute;
top: 10px;
left: 1805px;
z-index: 1000;
}
.iframe-style{
position: absolute;
top: 0;
left: 0;
}
.content-right-style{
width: auto;
height: 800px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
right: 0;
}
}
</style>

@ -23,16 +23,16 @@ const loginGuard = (to, from, next, options) => {
const hasToken = getToken();
//localStorage和cookie均校验
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 === "/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";

Loading…
Cancel
Save