|
@@ -44,6 +44,7 @@
|
|
|
teamCourse ? 'active' : '',
|
|
|
teamCourseDisabled ? 'disabled' : ''
|
|
|
]"
|
|
|
+ :style="{ opacity: teamCourseDisabled ? '0.5' : '1' }"
|
|
|
@click.prevent="
|
|
|
() => {
|
|
|
if (teamCourseDisabled) return;
|
|
@@ -96,6 +97,7 @@
|
|
|
member ? 'active' : '',
|
|
|
memberDisabled ? 'disabled' : ''
|
|
|
]"
|
|
|
+ :style="{ opacity: memberDisabled ? '0.5' : '1' }"
|
|
|
@click.prevent="
|
|
|
() => {
|
|
|
if (memberDisabled) return;
|
|
@@ -129,6 +131,7 @@
|
|
|
leBao ? 'active' : '',
|
|
|
leBaoDisabled ? 'disabled' : ''
|
|
|
]"
|
|
|
+ :style="{ opacity: leBaoDisabled ? '0.5' : '1' }"
|
|
|
@click.prevent="
|
|
|
() => {
|
|
|
if (leBaoDisabled) return;
|
|
@@ -157,6 +160,7 @@
|
|
|
teamActive ? 'active' : '',
|
|
|
teamActiveDisabled ? 'disabled' : ''
|
|
|
]"
|
|
|
+ :style="{ opacity: teamActiveDisabled ? '0.5' : '1' }"
|
|
|
@click.prevent="
|
|
|
() => {
|
|
|
if (teamActiveDisabled) return;
|
|
@@ -1370,6 +1374,25 @@ export default {
|
|
|
this.$set(this.form, "eclass", [{}]);
|
|
|
}
|
|
|
this.isSetCourseSettingsId = false;
|
|
|
+
|
|
|
+ if (
|
|
|
+ this.courseViewType == 2 &&
|
|
|
+ this.$route.query.team_status == "PROGRESS"
|
|
|
+ ) {
|
|
|
+ this.memberDisabled = false;
|
|
|
+ if (val === "1") {
|
|
|
+ // 会员收费 创建续费 默认选中,不可取消选中
|
|
|
+ this.member = false;
|
|
|
+ if (this.teamCourse) {
|
|
|
+ this.member = true;
|
|
|
+ this.memberDisabled = true;
|
|
|
+ if (this.member && this.form.memberList.length < 0) {
|
|
|
+ this.form.memberList = [];
|
|
|
+ this.form.memberList.push({});
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
computed: {
|