ソースを参照

修改数据面板返回

11wqe1 4 日 前
コミット
492b0fe442
1 ファイル変更6 行追加3 行削除
  1. 6 3
      src/views/kanBan/components/dataBoardNew/index.vue

+ 6 - 3
src/views/kanBan/components/dataBoardNew/index.vue

@@ -49,9 +49,12 @@ export default {
   data() {
     return {
       gotype: this.$route.query.gotype,
+      useridL: this.$route.query.useridL,
       oidL: this.$route.query.oid,
       orgL: this.$route.query.org,
-      useridL: this.$route.query.userid,
+      role: this.$route.query.role,
+      tType: this.$route.query.tType,
+
       opl:0,
       barList: [
           { name: this.lang.BasicData, ind: 1 },
@@ -68,9 +71,9 @@ export default {
     },
     backO(){
       if (this.$region == '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}`
+        window.location.href = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/aiOffice?userid=${this.useridL}&oid=${this.oidL}&org=${this.orgL}&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}`
+        window.location.href = `https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/aiOffice?userid=${this.useridL}&oid=${this.oidL}&org=${this.orgL}&role=${this.role}&tType=${this.tType}`
       }
       try {
         window.topU.gotype = ''