|
@@ -1,5 +1,11 @@
|
|
<template>
|
|
<template>
|
|
<div class="body" :style="{padding : useridL ? '20px' : ''}" >
|
|
<div class="body" :style="{padding : useridL ? '20px' : ''}" >
|
|
|
|
+ <div v-if="gotype" class="pgb">
|
|
|
|
+ <div @click="backO" class="pgbL">
|
|
|
|
+ <img src="../../../../assets/kanban/backPage.svg" alt="">
|
|
|
|
+ <div>智能教务</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<div class="barList">
|
|
<div class="barList">
|
|
<div style="cursor: pointer;" @click="cutPage(index)" :class="[pageEnd == index ? 'Selected' : '']" v-for="(i, index) in barList"
|
|
<div style="cursor: pointer;" @click="cutPage(index)" :class="[pageEnd == index ? 'Selected' : '']" v-for="(i, index) in barList"
|
|
:key="index">
|
|
:key="index">
|
|
@@ -42,6 +48,7 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ gotype:sessionStorage.getItem('gotype'),
|
|
oidL: this.$route.query.oid,
|
|
oidL: this.$route.query.oid,
|
|
orgL: this.$route.query.org,
|
|
orgL: this.$route.query.org,
|
|
useridL: this.$route.query.userid,
|
|
useridL: this.$route.query.userid,
|
|
@@ -59,6 +66,16 @@ export default {
|
|
cutPage(val) {
|
|
cutPage(val) {
|
|
this.pageEnd = val
|
|
this.pageEnd = val
|
|
},
|
|
},
|
|
|
|
+ backO(){
|
|
|
|
+ // let betaL = window.location.href.includes("beta") ? "beta" : "cloud"
|
|
|
|
+ let betaL = "beta"
|
|
|
|
+ if (betaL == 'beta') {
|
|
|
|
+ window.location.href = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/aiOffice?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/#/aiOffice?userid=${this.userid}&oid=${this.oid}&org=${this.org}&role=${this.role}&tType=${this.tType}`
|
|
|
|
+ }
|
|
|
|
+ sessionStorage.removeItem('gotype');
|
|
|
|
+ }
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
@@ -155,4 +172,19 @@ export default {
|
|
color: #0663FE;
|
|
color: #0663FE;
|
|
border-bottom: 2px solid #0663FE;
|
|
border-bottom: 2px solid #0663FE;
|
|
}
|
|
}
|
|
|
|
+.pgb{
|
|
|
|
+ /* font-family: PingFang SC; */
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ display: flex;align-items: center;
|
|
|
|
+ gap: 10px;
|
|
|
|
+ /* padding:40px 90px 0; */
|
|
|
|
+ /* height: 23.8px; */
|
|
|
|
+ margin-bottom: 15px;
|
|
|
|
+}
|
|
|
|
+.pgbL{
|
|
|
|
+ display: flex;align-items: center;
|
|
|
|
+ gap: 10px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|