|
@@ -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;
|