lex 1 year ago
parent
commit
ca3c9e904b

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


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


+ 1 - 1
src/utils/auth.js

@@ -22,7 +22,7 @@ function getCookieDomain() {
 
 // 获取token关键字
 function getKeyWordKey() {
-  const origin = window.location.origin;
+  const origin = window.location.host;
   return origin.indexOf("online.") >= 0 || origin === "gym.lexiaoya.cn"
     ? "dy_admin_token"
     : "dy_admin_token_test";

+ 14 - 1
src/views/teamBuild/components/teamBaseInfo.vue

@@ -73,7 +73,7 @@
         >
           <el-select
             v-model.trim="topFrom.school"
-            :disabled="!topFrom.section || basdisabled"
+            :disabled="!topFrom.section || basdisabled || cooperDisabled"
             @change="chioseSchool"
             filterable
             clearable
@@ -772,6 +772,7 @@ export default {
       isInit: false,
       technician: [],
       basdisabled: false,
+      cooperDisabled: false, // 合作单位状态
       // 整合报名中
       paymentExpireDate: "",
       applyExpireDate: null,
@@ -849,6 +850,11 @@ export default {
     } else {
       this.basdisabled = false;
     }
+    if (this.teamStatus == "PROGRESS" || this.teamStatus == "PAUSE") {
+      this.cooperDisabled = true;
+    } else {
+      this.cooperDisabled = true;
+    }
   },
   deactivated() {},
   // async beforeDestroy() {
@@ -984,6 +990,13 @@ export default {
       } else {
         this.basdisabled = false;
       }
+
+      if (this.teamStatus == "PROGRESS" || this.teamStatus == "PAUSE") {
+        this.cooperDisabled = true;
+      } else {
+        this.cooperDisabled = true;
+      }
+
       if (this.$route.query.id) {
         // 单团修改
         this.teamid = this.$route.query.id;

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