|
@@ -1,8 +1,12 @@
|
|
|
<template>
|
|
|
<div class="pb_content">
|
|
|
<div class="pb_content_body">
|
|
|
- <div class="student_head">
|
|
|
+ <div class="student_head" style="position: relative;">
|
|
|
+ <div v-if="gotype"
|
|
|
+ class="backBtn"
|
|
|
+ @click.stop="backliyuan">返回</div>
|
|
|
<!-- <img src="../assets/banner.png" alt="" /> -->
|
|
|
+ <!-- //pbl.cocorobo.cn/pbl-teacher-table/dist -->
|
|
|
<el-carousel trigger="click" style="width: 100%; height: 100%">
|
|
|
<el-carousel-item v-for="item in bannerList" :key="item.id">
|
|
|
<!-- <h3 class="small">{{ item }}</h3> -->
|
|
@@ -240,6 +244,7 @@ export default {
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
+ gotype:sessionStorage.getItem('gotype'),
|
|
|
zoneList: [],
|
|
|
zoneClass: [],
|
|
|
page: 1,
|
|
@@ -254,6 +259,7 @@ export default {
|
|
|
tType: this.$route.query.tType,
|
|
|
org: this.$route.query.org,
|
|
|
screenType: this.$route.query.screenType,
|
|
|
+ role: this.$route.query.role,
|
|
|
CourseType: [],
|
|
|
CourseType2: [],
|
|
|
CourseTypeJson: {},
|
|
@@ -293,6 +299,14 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
+ backliyuan(){
|
|
|
+ let betaL = window.location.href.includes("beta") ? "beta" : "cloud"
|
|
|
+ if (betaL == 'beta') {
|
|
|
+ window.location.href = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/CourseCon?userid=${this.userid}&oid=${this.oid}&org=${this.org}&role=${this.role}&tType=${this.tType}`
|
|
|
+ }else{
|
|
|
+ window.location.href = `https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/CourseCon?userid=${this.userid}&oid=${this.oid}&org=${this.org}&role=${this.role}&tType=${this.tType}`
|
|
|
+ }
|
|
|
+ },
|
|
|
search(){
|
|
|
if(this.typeCheck){
|
|
|
this.selectAll()
|
|
@@ -1314,5 +1328,13 @@ export default {
|
|
|
-webkit-box-shadow: none !important;
|
|
|
box-shadow: none !important;
|
|
|
}
|
|
|
-
|
|
|
+.backBtn{
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: normal;
|
|
|
+ cursor: pointer;
|
|
|
+ position: absolute;
|
|
|
+ top: 20px;
|
|
|
+ right: 20px;
|
|
|
+ z-index: 999999;
|
|
|
+}
|
|
|
</style>
|