|
@@ -2,9 +2,9 @@
|
|
|
<div class="pb_content">
|
|
|
<div class="pb_content_body">
|
|
|
<div class="student_head" style="position: relative;">
|
|
|
- <div v-if="$route.query.gotype == 1"
|
|
|
+ <div v-if="gotype"
|
|
|
class="backBtn"
|
|
|
- @click.stop="$router.go(-1)">返回</div>
|
|
|
+ @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%">
|
|
@@ -244,6 +244,7 @@ export default {
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
+ gotype:sessionStorage.getItem('gotype'),
|
|
|
zoneList: [],
|
|
|
zoneClass: [],
|
|
|
page: 1,
|
|
@@ -258,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: {},
|
|
@@ -297,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()
|