Browse Source

修改取token方式

lex-xin 5 years ago
parent
commit
8489c17e9c

File diff suppressed because it is too large
+ 0 - 0
dist/app.501e9fd3fa81e02bb469.js


File diff suppressed because it is too large
+ 0 - 0
dist/css/Account.f3f64f75.css


+ 1 - 0
dist/css/CourseEvaluation.3321765b.css

@@ -0,0 +1 @@
+[data-v-1b7ec459] .van-cell-group{margin-top:.15rem}[data-v-1b7ec459] .van-cell-group /deep/ .van-cell{padding:.14rem .16rem}.title-item[data-v-1b7ec459]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:.05rem 0}.title-item .text[data-v-1b7ec459]{margin-right:.15rem;font-size:.17rem;color:#1a1a1a}.title-item[data-v-1b7ec459] .van-rate{line-height:0}[data-v-1b7ec459] .van-cell__title{font-size:.17rem;color:#1a1a1a;-webkit-box-flex:1;-ms-flex:auto 1;flex:auto 1}[data-v-1b7ec459] .van-cell__value,[data-v-1b7ec459] .van-field__control{font-size:.17rem;color:#666;width:70%;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.textarea[data-v-1b7ec459]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.textarea[data-v-1b7ec459] .van-cell__value{margin-top:.1rem;width:100%}.twoConnect[data-v-1b7ec459]{width:55%}[data-v-1b7ec459] .van-radio-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}[data-v-1b7ec459] .van-radio-group /deep/ .van-radio{margin-left:.18rem}[data-v-1b7ec459] .van-radio__icon .van-icon{border-color:#aaa}[data-v-1b7ec459] .van-radio__icon--checked .van-icon{border-color:#14928a;background:#14928a}.button-group[data-v-1b7ec459]{margin:.3rem .26rem .2rem}.button-group .van-button--primary[data-v-1b7ec459]{background:#14928a;border:1px solid #14928a;font-size:.18rem}

+ 0 - 1
dist/css/CourseEvaluation.ca907b48.css

@@ -1 +0,0 @@
-[data-v-9da5925e] .van-cell-group{margin-top:.15rem}[data-v-9da5925e] .van-cell-group /deep/ .van-cell{padding:.14rem .16rem}.title-item[data-v-9da5925e]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:.05rem 0}.title-item .text[data-v-9da5925e]{margin-right:.15rem;font-size:.17rem;color:#1a1a1a}.title-item[data-v-9da5925e] .van-rate{line-height:0}[data-v-9da5925e] .van-cell__title{font-size:.17rem;color:#1a1a1a;-webkit-box-flex:1;-ms-flex:auto 1;flex:auto 1}[data-v-9da5925e] .van-cell__value,[data-v-9da5925e] .van-field__control{font-size:.17rem;color:#666;width:70%;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.textarea[data-v-9da5925e]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.textarea[data-v-9da5925e] .van-cell__value{margin-top:.1rem;width:100%}.twoConnect[data-v-9da5925e]{width:55%}[data-v-9da5925e] .van-radio-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}[data-v-9da5925e] .van-radio-group /deep/ .van-radio{margin-left:.18rem}[data-v-9da5925e] .van-radio__icon .van-icon{border-color:#aaa}[data-v-9da5925e] .van-radio__icon--checked .van-icon{border-color:#14928a;background:#14928a}.button-group[data-v-9da5925e]{margin:.3rem .26rem .2rem}.button-group .van-button--primary[data-v-9da5925e]{background:#14928a;border:1px solid #14928a;font-size:.18rem}

File diff suppressed because it is too large
+ 0 - 0
dist/css/ManageEvaluation.84ea0765.css


File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/js/Account.7735761a.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/Account.87a9d827.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/CourseEvaluation.127c52ff.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/CourseEvaluation.7c560cf5.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/ManageEvaluation.283739c9.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/ManageEvaluation.d2f3ed2f.js


+ 10 - 0
src/views/audition/CourseEvaluation.vue

@@ -132,6 +132,11 @@ export default {
     };
   },
   created() {
+    let params = this.$route.query;
+    if (params.Authorization) {
+      localStorage.setItem("Authorization", decodeURI(params.Authorization));
+      localStorage.setItem("userInfo", decodeURI(params.Authorization));
+    }
     this.courseId = this.$route.query.id;
     this.reviewId = parseInt(this.$route.query.reviewId);
     this.isInside = this.$route.query.isInside;
@@ -140,6 +145,11 @@ export default {
     }
   },
   mounted() {
+    let params = this.$route.query;
+    if (params.Authorization) {
+      localStorage.setItem("Authorization", decodeURI(params.Authorization));
+      localStorage.setItem("userInfo", decodeURI(params.Authorization));
+    }
     // 获取头部信息
     if (this.reviewId) {
       // 获取老评价

+ 5 - 0
src/views/audition/ManageEvaluation.vue

@@ -175,6 +175,11 @@ export default {
     }
   },
   mounted() {
+    let params = this.$route.query;
+    if (params.Authorization) {
+      localStorage.setItem("Authorization", decodeURI(params.Authorization));
+      localStorage.setItem("userInfo", decodeURI(params.Authorization));
+    }
     this.dateSection.currentDate = new Date();
     this.dateSection.showStartDate = this.timeFormat(
       this.dateSection.currentDate

Some files were not shown because too many files changed in this diff