|  | @@ -28,7 +28,11 @@
 | 
	
		
			
				|  |  |                      placeholder="请选择计价标准"
 | 
	
		
			
				|  |  |                    >
 | 
	
		
			
				|  |  |                      <el-option label="按学生" value="STUDENT"> </el-option>
 | 
	
		
			
				|  |  | -                    <el-option label="按老师" value="TEACHER" :disabled="!teamCourse">
 | 
	
		
			
				|  |  | +                    <el-option
 | 
	
		
			
				|  |  | +                      label="按老师"
 | 
	
		
			
				|  |  | +                      value="TEACHER"
 | 
	
		
			
				|  |  | +                      :disabled="!teamCourse"
 | 
	
		
			
				|  |  | +                    >
 | 
	
		
			
				|  |  |                      </el-option>
 | 
	
		
			
				|  |  |                    </el-select>
 | 
	
		
			
				|  |  |                  </el-form-item>
 | 
	
	
		
			
				|  | @@ -38,7 +42,7 @@
 | 
	
		
			
				|  |  |                    class="checkBtn"
 | 
	
		
			
				|  |  |                    :class="[
 | 
	
		
			
				|  |  |                      teamCourse ? 'active' : '',
 | 
	
		
			
				|  |  | -                    teamCourseDisabled ? 'disabled' : '',
 | 
	
		
			
				|  |  | +                    teamCourseDisabled ? 'disabled' : ''
 | 
	
		
			
				|  |  |                    ]"
 | 
	
		
			
				|  |  |                    :style="{ opacity: teamCourseDisabled ? '0.5' : '1' }"
 | 
	
		
			
				|  |  |                    @click.prevent="
 | 
	
	
		
			
				|  | @@ -54,7 +58,10 @@
 | 
	
		
			
				|  |  |                          form.calenderFeeType = 'STUDENT';
 | 
	
		
			
				|  |  |                        }
 | 
	
		
			
				|  |  |                        // 会员收费 创建续费 默认选中,不可取消选中
 | 
	
		
			
				|  |  | -                      if (courseViewType == 2 && $route.query.team_status == 'PROGRESS') {
 | 
	
		
			
				|  |  | +                      if (
 | 
	
		
			
				|  |  | +                        courseViewType == 2 &&
 | 
	
		
			
				|  |  | +                        $route.query.team_status == 'PROGRESS'
 | 
	
		
			
				|  |  | +                      ) {
 | 
	
		
			
				|  |  |                          member = false;
 | 
	
		
			
				|  |  |                          memberDisabled = false;
 | 
	
		
			
				|  |  |                          if (teamCourse) {
 | 
	
	
		
			
				|  | @@ -86,7 +93,10 @@
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |                  <div
 | 
	
		
			
				|  |  |                    class="checkBtn"
 | 
	
		
			
				|  |  | -                  :class="[member ? 'active' : '', memberDisabled ? 'disabled' : '']"
 | 
	
		
			
				|  |  | +                  :class="[
 | 
	
		
			
				|  |  | +                    member ? 'active' : '',
 | 
	
		
			
				|  |  | +                    memberDisabled ? 'disabled' : ''
 | 
	
		
			
				|  |  | +                  ]"
 | 
	
		
			
				|  |  |                    :style="{ opacity: memberDisabled ? '0.5' : '1' }"
 | 
	
		
			
				|  |  |                    @click.prevent="
 | 
	
		
			
				|  |  |                      () => {
 | 
	
	
		
			
				|  | @@ -112,10 +122,15 @@
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |                  <div
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  | -                    isShowLeBao && tenantId == 1 && $route.query.team_status != 'PROGRESS'
 | 
	
		
			
				|  |  | +                    isShowLeBao &&
 | 
	
		
			
				|  |  | +                      tenantId == 1 &&
 | 
	
		
			
				|  |  | +                      $route.query.team_status != 'PROGRESS'
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    class="checkBtn"
 | 
	
		
			
				|  |  | -                  :class="[leBao ? 'active' : '', leBaoDisabled ? 'disabled' : '']"
 | 
	
		
			
				|  |  | +                  :class="[
 | 
	
		
			
				|  |  | +                    leBao ? 'active' : '',
 | 
	
		
			
				|  |  | +                    leBaoDisabled ? 'disabled' : ''
 | 
	
		
			
				|  |  | +                  ]"
 | 
	
		
			
				|  |  |                    :style="{ opacity: leBaoDisabled ? '0.5' : '1' }"
 | 
	
		
			
				|  |  |                    @click.prevent="
 | 
	
		
			
				|  |  |                      () => {
 | 
	
	
		
			
				|  | @@ -143,7 +158,7 @@
 | 
	
		
			
				|  |  |                    class="checkBtn"
 | 
	
		
			
				|  |  |                    :class="[
 | 
	
		
			
				|  |  |                      teamActive ? 'active' : '',
 | 
	
		
			
				|  |  | -                    teamActiveDisabled ? 'disabled' : '',
 | 
	
		
			
				|  |  | +                    teamActiveDisabled ? 'disabled' : ''
 | 
	
		
			
				|  |  |                    ]"
 | 
	
		
			
				|  |  |                    :style="{ opacity: teamActiveDisabled ? '0.5' : '1' }"
 | 
	
		
			
				|  |  |                    @click.prevent="
 | 
	
	
		
			
				|  | @@ -175,12 +190,15 @@
 | 
	
		
			
				|  |  |                <payTeamCourse
 | 
	
		
			
				|  |  |                  :form="form"
 | 
	
		
			
				|  |  |                  :charges="charges"
 | 
	
		
			
				|  |  | -                :courseUnitPriceSettingsByType="organizationCourseUnitPriceSettingsByType"
 | 
	
		
			
				|  |  | +                :courseUnitPriceSettingsByType="
 | 
	
		
			
				|  |  | +                  organizationCourseUnitPriceSettingsByType
 | 
	
		
			
				|  |  | +                "
 | 
	
		
			
				|  |  |                  v-if="teamCourse"
 | 
	
		
			
				|  |  |                  @create="addExtraClass"
 | 
	
		
			
				|  |  |                  @remove="removeExtraClass"
 | 
	
		
			
				|  |  |                  @moneyChange="syncAllMoney"
 | 
	
		
			
				|  |  |                  @priceChange="priceChange"
 | 
	
		
			
				|  |  | +                @priceChange2="priceChange2"
 | 
	
		
			
				|  |  |                />
 | 
	
		
			
				|  |  |                <payMember
 | 
	
		
			
				|  |  |                  ref="payMember"
 | 
	
	
		
			
				|  | @@ -203,7 +221,9 @@
 | 
	
		
			
				|  |  |                />
 | 
	
		
			
				|  |  |                <paySchoolInfo
 | 
	
		
			
				|  |  |                  :form="form"
 | 
	
		
			
				|  |  | -                :courseUnitPriceSettingsByType="organizationCourseUnitPriceSettingsByType"
 | 
	
		
			
				|  |  | +                :courseUnitPriceSettingsByType="
 | 
	
		
			
				|  |  | +                  organizationCourseUnitPriceSettingsByType
 | 
	
		
			
				|  |  | +                "
 | 
	
		
			
				|  |  |                  :teamCourse="teamCourse"
 | 
	
		
			
				|  |  |                  :member="member"
 | 
	
		
			
				|  |  |                  :teamActive="teamActive"
 | 
	
	
		
			
				|  | @@ -213,7 +233,10 @@
 | 
	
		
			
				|  |  |                  @checkType="checkType"
 | 
	
		
			
				|  |  |                />
 | 
	
		
			
				|  |  |                <backMoney
 | 
	
		
			
				|  |  | -                v-if="$route.query.payUserType == 'SCHOOL' && form.currentTotalAmount > 0"
 | 
	
		
			
				|  |  | +                v-if="
 | 
	
		
			
				|  |  | +                  $route.query.payUserType == 'SCHOOL' &&
 | 
	
		
			
				|  |  | +                    form.currentTotalAmount > 0
 | 
	
		
			
				|  |  | +                "
 | 
	
		
			
				|  |  |                  :form="form"
 | 
	
		
			
				|  |  |                />
 | 
	
		
			
				|  |  |              </div>
 | 
	
	
		
			
				|  | @@ -232,8 +255,8 @@
 | 
	
		
			
				|  |  |                        {
 | 
	
		
			
				|  |  |                          required: true,
 | 
	
		
			
				|  |  |                          message: '请选择缴费时间',
 | 
	
		
			
				|  |  | -                        trigger: 'blur',
 | 
	
		
			
				|  |  | -                      },
 | 
	
		
			
				|  |  | +                        trigger: 'blur'
 | 
	
		
			
				|  |  | +                      }
 | 
	
		
			
				|  |  |                      ]"
 | 
	
		
			
				|  |  |                      ref="paymentDate"
 | 
	
		
			
				|  |  |                    >
 | 
	
	
		
			
				|  | @@ -311,8 +334,8 @@
 | 
	
		
			
				|  |  |                        {
 | 
	
		
			
				|  |  |                          required: true,
 | 
	
		
			
				|  |  |                          message: '请输入备注',
 | 
	
		
			
				|  |  | -                        trigger: 'blur',
 | 
	
		
			
				|  |  | -                      },
 | 
	
		
			
				|  |  | +                        trigger: 'blur'
 | 
	
		
			
				|  |  | +                      }
 | 
	
		
			
				|  |  |                      ]"
 | 
	
		
			
				|  |  |                      ref="memo"
 | 
	
		
			
				|  |  |                    >
 | 
	
	
		
			
				|  | @@ -351,10 +374,10 @@
 | 
	
		
			
				|  |  |            <div
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                !teamCourse &&
 | 
	
		
			
				|  |  | -              !member &&
 | 
	
		
			
				|  |  | -              !leBao &&
 | 
	
		
			
				|  |  | -              !teamActive &&
 | 
	
		
			
				|  |  | -              $route.query.team_status == 'PROGRESS'
 | 
	
		
			
				|  |  | +                !member &&
 | 
	
		
			
				|  |  | +                !leBao &&
 | 
	
		
			
				|  |  | +                !teamActive &&
 | 
	
		
			
				|  |  | +                $route.query.team_status == 'PROGRESS'
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              <empty desc="暂无缴费项目配置" />
 | 
	
	
		
			
				|  | @@ -415,7 +438,7 @@ import dayjs from "dayjs";
 | 
	
		
			
				|  |  |  import subjectPreview from "@/views/resetTeaming/modals/subject-preview";
 | 
	
		
			
				|  |  |  import {
 | 
	
		
			
				|  |  |    chargeTypeList,
 | 
	
		
			
				|  |  | -  musicGroupOrganizationCourseSettingsQueryPage,
 | 
	
		
			
				|  |  | +  musicGroupOrganizationCourseSettingsQueryPage
 | 
	
		
			
				|  |  |  } from "@/api/specialSetting";
 | 
	
		
			
				|  |  |  import { getSysTenantConfig } from "@/views/courseRulersManager/api";
 | 
	
		
			
				|  |  |  import { sysConfigList } from "@/api/generalSettings";
 | 
	
	
		
			
				|  | @@ -424,12 +447,12 @@ import {
 | 
	
		
			
				|  |  |    getAllmemberRank,
 | 
	
		
			
				|  |  |    musicGroupcreateCalender,
 | 
	
		
			
				|  |  |    musicGroupresetCalender,
 | 
	
		
			
				|  |  | -  getAutoActivationFlag,
 | 
	
		
			
				|  |  | +  getAutoActivationFlag
 | 
	
		
			
				|  |  |  } from "../api";
 | 
	
		
			
				|  |  |  import {
 | 
	
		
			
				|  |  |    getMusicGroupPaymentCalenderDetail,
 | 
	
		
			
				|  |  |    findMusicGroupSubjectInfo,
 | 
	
		
			
				|  |  | -  getAgreement,
 | 
	
		
			
				|  |  | +  getAgreement
 | 
	
		
			
				|  |  |  } from "@/api/buildTeam";
 | 
	
		
			
				|  |  |  import { vipGroupActivity } from "@/api/vipSeting";
 | 
	
		
			
				|  |  |  export default {
 | 
	
	
		
			
				|  | @@ -440,7 +463,7 @@ export default {
 | 
	
		
			
				|  |  |      payTeamActive,
 | 
	
		
			
				|  |  |      subjectPreview,
 | 
	
		
			
				|  |  |      paySchoolInfo,
 | 
	
		
			
				|  |  | -    backMoney,
 | 
	
		
			
				|  |  | +    backMoney
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
	
		
			
				|  | @@ -456,8 +479,8 @@ export default {
 | 
	
		
			
				|  |  |              actualAmount: "",
 | 
	
		
			
				|  |  |              memberRankSettingId: "",
 | 
	
		
			
				|  |  |              optionalFlag: null,
 | 
	
		
			
				|  |  | -            autoActivationFlag: false,
 | 
	
		
			
				|  |  | -          },
 | 
	
		
			
				|  |  | +            autoActivationFlag: false
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  |          ],
 | 
	
		
			
				|  |  |          leBaoList: [{}],
 | 
	
		
			
				|  |  |          activeList: [{}],
 | 
	
	
		
			
				|  | @@ -471,12 +494,12 @@ export default {
 | 
	
		
			
				|  |  |          calenderFeeJson: {
 | 
	
		
			
				|  |  |            discountTotal: "",
 | 
	
		
			
				|  |  |            allTotal: "",
 | 
	
		
			
				|  |  | -          sutdentNumber: "",
 | 
	
		
			
				|  |  | +          sutdentNumber: ""
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          calenderFeeType: "STUDENT",
 | 
	
		
			
				|  |  |          musicGroupCalenderRefundPeriods: [{ refundDate: "", refundAmount: "" }],
 | 
	
		
			
				|  |  |          currentTotalAmount: 0,
 | 
	
		
			
				|  |  | -        contractUrl: "",
 | 
	
		
			
				|  |  | +        contractUrl: ""
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        teamCourse: false,
 | 
	
		
			
				|  |  |        member: false,
 | 
	
	
		
			
				|  | @@ -506,7 +529,7 @@ export default {
 | 
	
		
			
				|  |  |          minHalfYearFee: null,
 | 
	
		
			
				|  |  |          maxHalfYearFee: null,
 | 
	
		
			
				|  |  |          minYearFee: null,
 | 
	
		
			
				|  |  | -        maxYearFee: null,
 | 
	
		
			
				|  |  | +        maxYearFee: null
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        dialogSubjectVisible: false, // 预览
 | 
	
		
			
				|  |  |        dialogSubjectList: [],
 | 
	
	
		
			
				|  | @@ -515,7 +538,7 @@ export default {
 | 
	
		
			
				|  |  |        tenantId: null,
 | 
	
		
			
				|  |  |        isField: false,
 | 
	
		
			
				|  |  |        showAutoActivationFlag: false,
 | 
	
		
			
				|  |  | -      initDetail: false,
 | 
	
		
			
				|  |  | +      initDetail: false
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    mounted() {
 | 
	
	
		
			
				|  | @@ -539,13 +562,19 @@ export default {
 | 
	
		
			
				|  |  |      async init() {
 | 
	
		
			
				|  |  |        this.organId = this.musicGroup?.organId;
 | 
	
		
			
				|  |  |        this.courseViewType = this.baseInfo?.musicGroup?.courseViewType;
 | 
	
		
			
				|  |  | -      if (this.courseViewType != 2 && this.$route.query.team_status == "DRAFT") {
 | 
	
		
			
				|  |  | +      if (
 | 
	
		
			
				|  |  | +        this.courseViewType != 2 &&
 | 
	
		
			
				|  |  | +        this.$route.query.team_status == "DRAFT"
 | 
	
		
			
				|  |  | +      ) {
 | 
	
		
			
				|  |  |          // 课程团的创建缴费
 | 
	
		
			
				|  |  |          this.teamCourse = true;
 | 
	
		
			
				|  |  |          // 现在课程团不在
 | 
	
		
			
				|  |  |          // this.teamCourseDisabled = true;
 | 
	
		
			
				|  |  |          this.form.paymentType = "MUSIC_APPLY";
 | 
	
		
			
				|  |  | -      } else if (this.courseViewType == 2 && this.$route.query.team_status == "DRAFT") {
 | 
	
		
			
				|  |  | +      } else if (
 | 
	
		
			
				|  |  | +        this.courseViewType == 2 &&
 | 
	
		
			
				|  |  | +        this.$route.query.team_status == "DRAFT"
 | 
	
		
			
				|  |  | +      ) {
 | 
	
		
			
				|  |  |          // 会员团的创建缴费
 | 
	
		
			
				|  |  |          this.member = true;
 | 
	
		
			
				|  |  |          this.memberDisabled = true;
 | 
	
	
		
			
				|  | @@ -578,8 +607,8 @@ export default {
 | 
	
		
			
				|  |  |          // 说明是修改  查缴项目详情
 | 
	
		
			
				|  |  |          this.initDetail = true;
 | 
	
		
			
				|  |  |          await getMusicGroupPaymentCalenderDetail({
 | 
	
		
			
				|  |  | -          id: this.$route.query.calenderId,
 | 
	
		
			
				|  |  | -        }).then((res) => {
 | 
	
		
			
				|  |  | +          id: this.$route.query.calenderId
 | 
	
		
			
				|  |  | +        }).then(res => {
 | 
	
		
			
				|  |  |            if (res.code == 200) {
 | 
	
		
			
				|  |  |              if (res.data?.calender?.musicGroupOrganizationCourseSettingId) {
 | 
	
		
			
				|  |  |                this.form.leixing = "1";
 | 
	
	
		
			
				|  | @@ -596,11 +625,15 @@ export default {
 | 
	
		
			
				|  |  |              ) {
 | 
	
		
			
				|  |  |                this.$set(this.form, "paymentDate", [
 | 
	
		
			
				|  |  |                  res.data?.calender?.startPaymentDate,
 | 
	
		
			
				|  |  | -                res.data?.calender?.deadlinePaymentDate,
 | 
	
		
			
				|  |  | +                res.data?.calender?.deadlinePaymentDate
 | 
	
		
			
				|  |  |                ]);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            this.$set(this.form, "contractUrl", res.data?.calender?.contractUrl);
 | 
	
		
			
				|  |  | +            this.$set(
 | 
	
		
			
				|  |  | +              this.form,
 | 
	
		
			
				|  |  | +              "contractUrl",
 | 
	
		
			
				|  |  | +              res.data?.calender?.contractUrl
 | 
	
		
			
				|  |  | +            );
 | 
	
		
			
				|  |  |              this.$set(this.form, "memo", res.data?.calender?.memo);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              this.$set(
 | 
	
	
		
			
				|  | @@ -611,14 +644,19 @@ export default {
 | 
	
		
			
				|  |  |              this.$set(
 | 
	
		
			
				|  |  |                this.form,
 | 
	
		
			
				|  |  |                "isShowMusicInsuranceForPay",
 | 
	
		
			
				|  |  | -              res.data?.calender?.paymentItemShowState?.isShowMusicInsuranceForPay
 | 
	
		
			
				|  |  | +              res.data?.calender?.paymentItemShowState
 | 
	
		
			
				|  |  | +                ?.isShowMusicInsuranceForPay
 | 
	
		
			
				|  |  |              );
 | 
	
		
			
				|  |  |              this.$set(
 | 
	
		
			
				|  |  |                this.form,
 | 
	
		
			
				|  |  |                "isShowVipCourseForPay",
 | 
	
		
			
				|  |  |                res.data?.calender?.paymentItemShowState?.isShowVipCourseForPay
 | 
	
		
			
				|  |  |              );
 | 
	
		
			
				|  |  | -            this.$set(this.form, "isShowSalePrice", res.data?.calender?.isShowSalePrice);
 | 
	
		
			
				|  |  | +            this.$set(
 | 
	
		
			
				|  |  | +              this.form,
 | 
	
		
			
				|  |  | +              "isShowSalePrice",
 | 
	
		
			
				|  |  | +              res.data?.calender?.isShowSalePrice
 | 
	
		
			
				|  |  | +            );
 | 
	
		
			
				|  |  |              this.$set(
 | 
	
		
			
				|  |  |                this.form,
 | 
	
		
			
				|  |  |                "isShowMusicCourseForPay",
 | 
	
	
		
			
				|  | @@ -645,7 +683,11 @@ export default {
 | 
	
		
			
				|  |  |                  this.$set(this.form, "eclass", res.data?.course);
 | 
	
		
			
				|  |  |                  console.log([...res.data?.course], "res.data?.course");
 | 
	
		
			
				|  |  |                  this.initDetail = true;
 | 
	
		
			
				|  |  | -                this.$set(this.form, "payUserType", res.data?.calender?.payUserType);
 | 
	
		
			
				|  |  | +                this.$set(
 | 
	
		
			
				|  |  | +                  this.form,
 | 
	
		
			
				|  |  | +                  "payUserType",
 | 
	
		
			
				|  |  | +                  res.data?.calender?.payUserType
 | 
	
		
			
				|  |  | +                );
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  this.$set(
 | 
	
		
			
				|  |  |                    this.form,
 | 
	
	
		
			
				|  | @@ -687,7 +729,7 @@ export default {
 | 
	
		
			
				|  |  |                this.teamActive = true;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                this.$set(this.form, "activeList", res.data.activity);
 | 
	
		
			
				|  |  | -              this.form.activeList.forEach((active) => {
 | 
	
		
			
				|  |  | +              this.form.activeList.forEach(active => {
 | 
	
		
			
				|  |  |                  active.vipGroupCategoryNames = active.categoryName;
 | 
	
		
			
				|  |  |                });
 | 
	
		
			
				|  |  |              }
 | 
	
	
		
			
				|  | @@ -705,8 +747,8 @@ export default {
 | 
	
		
			
				|  |  |          page: 1,
 | 
	
		
			
				|  |  |          status: "PROGRESS",
 | 
	
		
			
				|  |  |          activityChannel: 1,
 | 
	
		
			
				|  |  | -        enable: true,
 | 
	
		
			
				|  |  | -      }).then((res) => {
 | 
	
		
			
				|  |  | +        enable: true
 | 
	
		
			
				|  |  | +      }).then(res => {
 | 
	
		
			
				|  |  |          if (res.code == 200) {
 | 
	
		
			
				|  |  |            this.activeList = res.data.rows;
 | 
	
		
			
				|  |  |            if (this.activeList.length <= 0) {
 | 
	
	
		
			
				|  | @@ -728,9 +770,11 @@ export default {
 | 
	
		
			
				|  |  |        try {
 | 
	
		
			
				|  |  |          const res = await sysConfigList({ group: "DEFAULT" });
 | 
	
		
			
				|  |  |          const paramName = "cloud_price_range";
 | 
	
		
			
				|  |  | -        res.data.forEach((item) => {
 | 
	
		
			
				|  |  | +        res.data.forEach(item => {
 | 
	
		
			
				|  |  |            if (item.paramName == paramName) {
 | 
	
		
			
				|  |  | -            const itemValue = item.paranValue ? JSON.parse(item.paranValue) : null;
 | 
	
		
			
				|  |  | +            const itemValue = item.paranValue
 | 
	
		
			
				|  |  | +              ? JSON.parse(item.paranValue)
 | 
	
		
			
				|  |  | +              : null;
 | 
	
		
			
				|  |  |              if (itemValue) {
 | 
	
		
			
				|  |  |                this.rulesForm = itemValue;
 | 
	
		
			
				|  |  |              }
 | 
	
	
		
			
				|  | @@ -744,7 +788,7 @@ export default {
 | 
	
		
			
				|  |  |        try {
 | 
	
		
			
				|  |  |          const res = await getSysTenantConfig({ group: "MUSIC_REPAIR" });
 | 
	
		
			
				|  |  |          this.leBaoInfo = res.data;
 | 
	
		
			
				|  |  | -        res.data.forEach((element) => {
 | 
	
		
			
				|  |  | +        res.data.forEach(element => {
 | 
	
		
			
				|  |  |            if (element.id == 188) {
 | 
	
		
			
				|  |  |              this.isShowLeBao = !!element.paranValue;
 | 
	
		
			
				|  |  |            }
 | 
	
	
		
			
				|  | @@ -772,9 +816,9 @@ export default {
 | 
	
		
			
				|  |  |          const res = await musicGroupOrganizationCourseSettingsQueryPage({
 | 
	
		
			
				|  |  |            row: 9999,
 | 
	
		
			
				|  |  |            courseViewType,
 | 
	
		
			
				|  |  | -          organId,
 | 
	
		
			
				|  |  | +          organId
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  | -        const ids = res.data.rows.map((item) => item.id);
 | 
	
		
			
				|  |  | +        const ids = res.data.rows.map(item => item.id);
 | 
	
		
			
				|  |  |          if (!ids.includes(this.form.musicGroupOrganizationCourseSettingId)) {
 | 
	
		
			
				|  |  |            this.$set(this.form, "musicGroupOrganizationCourseSettingId", null);
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -800,13 +844,13 @@ export default {
 | 
	
		
			
				|  |  |          this.$store.dispatch("delVisitedViews", this.$route);
 | 
	
		
			
				|  |  |          this.$router.push({
 | 
	
		
			
				|  |  |            path: "/business/resetTeaming",
 | 
	
		
			
				|  |  | -          query,
 | 
	
		
			
				|  |  | +          query
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |        } else if (query.type == "look") {
 | 
	
		
			
				|  |  |          this.$store.dispatch("delVisitedViews", this.$route);
 | 
	
		
			
				|  |  |          this.$router.push({
 | 
	
		
			
				|  |  |            path: "/business/resetTeaming",
 | 
	
		
			
				|  |  | -          query,
 | 
	
		
			
				|  |  | +          query
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |        } else if (
 | 
	
		
			
				|  |  |          query.type == "teamDraft" ||
 | 
	
	
		
			
				|  | @@ -816,7 +860,7 @@ export default {
 | 
	
		
			
				|  |  |          this.$store.dispatch("delVisitedViews", this.$route);
 | 
	
		
			
				|  |  |          this.$router.push({
 | 
	
		
			
				|  |  |            path: "/business/resetTeaming",
 | 
	
		
			
				|  |  | -          query,
 | 
	
		
			
				|  |  | +          query
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -831,7 +875,7 @@ export default {
 | 
	
		
			
				|  |  |        );
 | 
	
		
			
				|  |  |        const _ = {};
 | 
	
		
			
				|  |  |        const list = (this.organizationCourseUnitPriceSettings || []).filter(
 | 
	
		
			
				|  |  | -        (item) =>
 | 
	
		
			
				|  |  | +        item =>
 | 
	
		
			
				|  |  |            organId &&
 | 
	
		
			
				|  |  |            organId == item.organId &&
 | 
	
		
			
				|  |  |            courseViewType != null &&
 | 
	
	
		
			
				|  | @@ -860,6 +904,11 @@ export default {
 | 
	
		
			
				|  |  |        this.$set(this.form, "eclass", [..._]);
 | 
	
		
			
				|  |  |        this.syncAllMoney();
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    priceChange2(item, index) {
 | 
	
		
			
				|  |  | +      const _ = [...this.form.eclass];
 | 
	
		
			
				|  |  | +      _[index] = item;
 | 
	
		
			
				|  |  | +      this.$set(this.form, "eclass", [..._]);
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      syncAllMoney() {
 | 
	
		
			
				|  |  |        let money = 0;
 | 
	
		
			
				|  |  |        let first = 0;
 | 
	
	
		
			
				|  | @@ -871,7 +920,9 @@ export default {
 | 
	
		
			
				|  |  |            if (item.isStudentOptional) {
 | 
	
		
			
				|  |  |              first += item.courseCurrentPrice;
 | 
	
		
			
				|  |  |            } else {
 | 
	
		
			
				|  |  | -            const floorMoney = Math.floor(item.courseCurrentPrice / this.cycles.length);
 | 
	
		
			
				|  |  | +            const floorMoney = Math.floor(
 | 
	
		
			
				|  |  | +              item.courseCurrentPrice / this.cycles.length
 | 
	
		
			
				|  |  | +            );
 | 
	
		
			
				|  |  |              const remainder = item.courseCurrentPrice % this.cycles.length;
 | 
	
		
			
				|  |  |              first += floorMoney + remainder;
 | 
	
		
			
				|  |  |              other += floorMoney;
 | 
	
	
		
			
				|  | @@ -899,35 +950,33 @@ export default {
 | 
	
		
			
				|  |  |        this.$set(
 | 
	
		
			
				|  |  |          this.form,
 | 
	
		
			
				|  |  |          "activeList",
 | 
	
		
			
				|  |  | -        this.form.activeList.filter((item) => !!item)
 | 
	
		
			
				|  |  | +        this.form.activeList.filter(item => !!item)
 | 
	
		
			
				|  |  |        );
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      removeExtraClass(index) {
 | 
	
		
			
				|  |  |        this.form.eclass[index] = null;
 | 
	
		
			
				|  |  | -      this.$set(
 | 
	
		
			
				|  |  | -        this.form,
 | 
	
		
			
				|  |  | -        "eclass",
 | 
	
		
			
				|  |  | -        this.form.eclass.filter((item) => !!item)
 | 
	
		
			
				|  |  | -      );
 | 
	
		
			
				|  |  | +      this.$set(this.form, "eclass", this.form.eclass.filter(item => !!item));
 | 
	
		
			
				|  |  |        // this.form.eclass = this.form.eclass.filter((item) => !!item);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      async onPreview() {
 | 
	
		
			
				|  |  |        // 开始预览
 | 
	
		
			
				|  |  |        const musicGroupId = this.$route.query.id;
 | 
	
		
			
				|  |  | -      await findMusicGroupSubjectInfo({ musicGroupId: musicGroupId }).then((res) => {
 | 
	
		
			
				|  |  | -        if (res.code == 200) {
 | 
	
		
			
				|  |  | -          this.dialogSubjectList = res.data.musicGroupSubjectPlans;
 | 
	
		
			
				|  |  | -          // 默认预览第一个
 | 
	
		
			
				|  |  | -          if (this.dialogSubjectList.length <= 0) {
 | 
	
		
			
				|  |  | -            this.$message.error("请先设置声部信息");
 | 
	
		
			
				|  |  | -            return;
 | 
	
		
			
				|  |  | +      await findMusicGroupSubjectInfo({ musicGroupId: musicGroupId }).then(
 | 
	
		
			
				|  |  | +        res => {
 | 
	
		
			
				|  |  | +          if (res.code == 200) {
 | 
	
		
			
				|  |  | +            this.dialogSubjectList = res.data.musicGroupSubjectPlans;
 | 
	
		
			
				|  |  | +            // 默认预览第一个
 | 
	
		
			
				|  |  | +            if (this.dialogSubjectList.length <= 0) {
 | 
	
		
			
				|  |  | +              this.$message.error("请先设置声部信息");
 | 
	
		
			
				|  |  | +              return;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            this.activeName = this.dialogSubjectList[0].subjectId.toString();
 | 
	
		
			
				|  |  | +            this.dialogSubjectVisible = true;
 | 
	
		
			
				|  |  | +          } else {
 | 
	
		
			
				|  |  | +            this.$message.warning("没有可预览的声部");
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | -          this.activeName = this.dialogSubjectList[0].subjectId.toString();
 | 
	
		
			
				|  |  | -          this.dialogSubjectVisible = true;
 | 
	
		
			
				|  |  | -        } else {
 | 
	
		
			
				|  |  | -          this.$message.warning("没有可预览的声部");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -      });
 | 
	
		
			
				|  |  | +      );
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      checkType() {
 | 
	
		
			
				|  |  |        this.$refs.form.validate();
 | 
	
	
		
			
				|  | @@ -943,7 +992,7 @@ export default {
 | 
	
		
			
				|  |  |                {
 | 
	
		
			
				|  |  |                  confirmButtonText: "确定",
 | 
	
		
			
				|  |  |                  cancelButtonText: "取消",
 | 
	
		
			
				|  |  | -                type: "warning",
 | 
	
		
			
				|  |  | +                type: "warning"
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  |              )
 | 
	
		
			
				|  |  |                .then(() => {
 | 
	
	
		
			
				|  | @@ -963,12 +1012,12 @@ export default {
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      onSubmit() {
 | 
	
		
			
				|  |  | -      this.$refs.form.validate(async (isok) => {
 | 
	
		
			
				|  |  | +      this.$refs.form.validate(async isok => {
 | 
	
		
			
				|  |  |          if (isok) {
 | 
	
		
			
				|  |  |            let obj = this.fommatDate();
 | 
	
		
			
				|  |  |            if (obj.payUserType == "SCHOOL") {
 | 
	
		
			
				|  |  |              let total = 0;
 | 
	
		
			
				|  |  | -            this.form.musicGroupCalenderRefundPeriods.forEach((item) => {
 | 
	
		
			
				|  |  | +            this.form.musicGroupCalenderRefundPeriods.forEach(item => {
 | 
	
		
			
				|  |  |                total += item.refundAmount * 1;
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |              if (total != this.form.currentTotalAmount) {
 | 
	
	
		
			
				|  | @@ -989,7 +1038,7 @@ export default {
 | 
	
		
			
				|  |  |                    res.msg || `当前乐团存在未排课的缴费项目,请再次确认操作`,
 | 
	
		
			
				|  |  |                    "提示",
 | 
	
		
			
				|  |  |                    {
 | 
	
		
			
				|  |  | -                    type: "warning",
 | 
	
		
			
				|  |  | +                    type: "warning"
 | 
	
		
			
				|  |  |                    }
 | 
	
		
			
				|  |  |                  );
 | 
	
		
			
				|  |  |                  obj.confirmCreate = true;
 | 
	
	
		
			
				|  | @@ -1012,7 +1061,7 @@ export default {
 | 
	
		
			
				|  |  |                    res.msg || `当前乐团存在未排课的缴费项目,请再次确认操作`,
 | 
	
		
			
				|  |  |                    "提示",
 | 
	
		
			
				|  |  |                    {
 | 
	
		
			
				|  |  | -                    type: "warning",
 | 
	
		
			
				|  |  | +                    type: "warning"
 | 
	
		
			
				|  |  |                    }
 | 
	
		
			
				|  |  |                  );
 | 
	
		
			
				|  |  |                  obj.confirmCreate = true;
 | 
	
	
		
			
				|  | @@ -1044,7 +1093,7 @@ export default {
 | 
	
		
			
				|  |  |            // 值有start,center,end,nearest,当前显示在视图区域中间
 | 
	
		
			
				|  |  |            block: "center",
 | 
	
		
			
				|  |  |            // 值有auto、instant,smooth,缓动动画(当前是慢速的)
 | 
	
		
			
				|  |  | -          behavior: "smooth",
 | 
	
		
			
				|  |  | +          behavior: "smooth"
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |          break; // 跳出循环了
 | 
	
		
			
				|  |  |        }
 | 
	
	
		
			
				|  | @@ -1057,27 +1106,28 @@ export default {
 | 
	
		
			
				|  |  |        let tmpActiveList = form.activeList?.length > 0 ? form.activeList : [];
 | 
	
		
			
				|  |  |        let activeList = [];
 | 
	
		
			
				|  |  |        if (tmpActiveList.length > 0) {
 | 
	
		
			
				|  |  | -        tmpActiveList.forEach((active) => {
 | 
	
		
			
				|  |  | +        tmpActiveList.forEach(active => {
 | 
	
		
			
				|  |  |            if (active.activityId) {
 | 
	
		
			
				|  |  |              active.categoryName = active.vipGroupCategoryNames;
 | 
	
		
			
				|  |  |              activeList.push(active);
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      let memberObj = form.memberList?.length > 0 ? { ...form.memberList[0] } : null;
 | 
	
		
			
				|  |  | +      let memberObj =
 | 
	
		
			
				|  |  | +        form.memberList?.length > 0 ? { ...form.memberList[0] } : null;
 | 
	
		
			
				|  |  |        // 获取会员名称
 | 
	
		
			
				|  |  |        if (memberObj) {
 | 
	
		
			
				|  |  | -        this.memberRankList.forEach((item) => {
 | 
	
		
			
				|  |  | +        this.memberRankList.forEach(item => {
 | 
	
		
			
				|  |  |            if (item.id == memberObj.memberRankSettingId) {
 | 
	
		
			
				|  |  |              memberObj.name = item.name;
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      // console.log(memberObj, 'memberObj', activeList)
 | 
	
		
			
				|  |  | +      console.log(memberObj, "memberObj", activeList, form.eclass);
 | 
	
		
			
				|  |  |        let tempCourseList = form.eclass?.length > 0 ? form.eclass : [];
 | 
	
		
			
				|  |  |        let courseList = [];
 | 
	
		
			
				|  |  |        if (tempCourseList.length > 0) {
 | 
	
		
			
				|  |  | -        tempCourseList.forEach((course) => {
 | 
	
		
			
				|  |  | +        tempCourseList.forEach(course => {
 | 
	
		
			
				|  |  |            if (course.courseType) {
 | 
	
		
			
				|  |  |              course.isStudentOptional = true;
 | 
	
		
			
				|  |  |              courseList.push(course);
 | 
	
	
		
			
				|  | @@ -1089,7 +1139,7 @@ export default {
 | 
	
		
			
				|  |  |          musicGroup: this.musicGroup,
 | 
	
		
			
				|  |  |          paymentCalender: {
 | 
	
		
			
				|  |  |            calender: {
 | 
	
		
			
				|  |  | -            isShowSalePrice: form.isShowSalePrice,
 | 
	
		
			
				|  |  | +            isShowSalePrice: form.isShowSalePrice
 | 
	
		
			
				|  |  |            },
 | 
	
		
			
				|  |  |            activity: [...activeList], // 小班课
 | 
	
		
			
				|  |  |            course: courseList, // 课程
 | 
	
	
		
			
				|  | @@ -1100,12 +1150,12 @@ export default {
 | 
	
		
			
				|  |  |              this.isShowLeBao &&
 | 
	
		
			
				|  |  |              this.$route.query.team_status != "PROGRESS"
 | 
	
		
			
				|  |  |                ? { ...form.leBaoList[0], optionalFlag: false }
 | 
	
		
			
				|  |  | -              : null, // 乐保
 | 
	
		
			
				|  |  | +              : null // 乐保
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          isShowMemberForPay: form.isShowMemberForPay,
 | 
	
		
			
				|  |  |          isShowMusicInsuranceForPay: form.isShowMusicInsuranceForPay,
 | 
	
		
			
				|  |  |          isShowVipCourseForPay: form.isShowVipCourseForPay,
 | 
	
		
			
				|  |  | -        isShowMusicCourseForPay: form.isShowMusicCourseForPay,
 | 
	
		
			
				|  |  | +        isShowMusicCourseForPay: form.isShowMusicCourseForPay
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      fommatDate() {
 | 
	
	
		
			
				|  | @@ -1120,7 +1170,9 @@ export default {
 | 
	
		
			
				|  |  |            calenderActivityList:
 | 
	
		
			
				|  |  |              this.form.activeList?.length > 0 ? this.form.activeList : null,
 | 
	
		
			
				|  |  |            musicRepair:
 | 
	
		
			
				|  |  | -            this.form.leBaoList?.length > 0 ? { ...this.form.leBaoList[0] } : null,
 | 
	
		
			
				|  |  | +            this.form.leBaoList?.length > 0
 | 
	
		
			
				|  |  | +              ? { ...this.form.leBaoList[0] }
 | 
	
		
			
				|  |  | +              : null,
 | 
	
		
			
				|  |  |            calenderMember:
 | 
	
		
			
				|  |  |              this.form.memberList?.length > 0 &&
 | 
	
		
			
				|  |  |              this.form.memberList[0]?.memberRankSettingId
 | 
	
	
		
			
				|  | @@ -1133,9 +1185,9 @@ export default {
 | 
	
		
			
				|  |  |              isShowMemberForPay: this.form.isShowMemberForPay,
 | 
	
		
			
				|  |  |              isShowMusicInsuranceForPay: this.form.isShowMusicInsuranceForPay,
 | 
	
		
			
				|  |  |              isShowVipCourseForPay: this.form.isShowVipCourseForPay,
 | 
	
		
			
				|  |  | -            isShowMusicCourseForPay: this.form.isShowMusicCourseForPay,
 | 
	
		
			
				|  |  | +            isShowMusicCourseForPay: this.form.isShowMusicCourseForPay
 | 
	
		
			
				|  |  |            }),
 | 
	
		
			
				|  |  | -          isShowSalePrice: this.form.isShowSalePrice,
 | 
	
		
			
				|  |  | +          isShowSalePrice: this.form.isShowSalePrice
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  |        } else {
 | 
	
		
			
				|  |  |          let calenderFeeJson = this.form.calenderFeeJson;
 | 
	
	
		
			
				|  | @@ -1153,7 +1205,9 @@ export default {
 | 
	
		
			
				|  |  |            calenderActivityList:
 | 
	
		
			
				|  |  |              this.form.activeList?.length > 0 ? this.form.activeList : null,
 | 
	
		
			
				|  |  |            musicRepair:
 | 
	
		
			
				|  |  | -            this.form.leBaoList?.length > 0 ? { ...this.form.leBaoList[0] } : null,
 | 
	
		
			
				|  |  | +            this.form.leBaoList?.length > 0
 | 
	
		
			
				|  |  | +              ? { ...this.form.leBaoList[0] }
 | 
	
		
			
				|  |  | +              : null,
 | 
	
		
			
				|  |  |            calenderMember:
 | 
	
		
			
				|  |  |              this.form.memberList?.length > 0 &&
 | 
	
		
			
				|  |  |              this.form.memberList[0]?.memberRankSettingId
 | 
	
	
		
			
				|  | @@ -1166,13 +1220,14 @@ export default {
 | 
	
		
			
				|  |  |              isShowMemberForPay: this.form.isShowMemberForPay,
 | 
	
		
			
				|  |  |              isShowMusicInsuranceForPay: this.form.isShowMusicInsuranceForPay,
 | 
	
		
			
				|  |  |              isShowVipCourseForPay: this.form.isShowVipCourseForPay,
 | 
	
		
			
				|  |  | -            isShowMusicCourseForPay: this.form.isShowMusicCourseForPay,
 | 
	
		
			
				|  |  | +            isShowMusicCourseForPay: this.form.isShowMusicCourseForPay
 | 
	
		
			
				|  |  |            }),
 | 
	
		
			
				|  |  |            calenderFeeType: this.form.calenderFeeType,
 | 
	
		
			
				|  |  |            calenderFeeJson: JSON.stringify(calenderFeeJson),
 | 
	
		
			
				|  |  | -          musicGroupCalenderRefundPeriods: this.form.musicGroupCalenderRefundPeriods,
 | 
	
		
			
				|  |  | +          musicGroupCalenderRefundPeriods: this.form
 | 
	
		
			
				|  |  | +            .musicGroupCalenderRefundPeriods,
 | 
	
		
			
				|  |  |            currentTotalAmount: this.form.currentTotalAmount,
 | 
	
		
			
				|  |  | -          contractUrl: this.form.contractUrl,
 | 
	
		
			
				|  |  | +          contractUrl: this.form.contractUrl
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -1191,7 +1246,8 @@ export default {
 | 
	
		
			
				|  |  |        this.form.calenderFeeJson.allTotal = val;
 | 
	
		
			
				|  |  |        if (this.form.calenderFeeJson.discountTotal) {
 | 
	
		
			
				|  |  |          this.form.currentTotalAmount =
 | 
	
		
			
				|  |  | -          this.form.calenderFeeJson.allTotal - this.form.calenderFeeJson.discountTotal;
 | 
	
		
			
				|  |  | +          this.form.calenderFeeJson.allTotal -
 | 
	
		
			
				|  |  | +          this.form.calenderFeeJson.discountTotal;
 | 
	
		
			
				|  |  |        } else {
 | 
	
		
			
				|  |  |          this.form.currentTotalAmount = this.form.calenderFeeJson.allTotal;
 | 
	
		
			
				|  |  |        }
 | 
	
	
		
			
				|  | @@ -1200,7 +1256,7 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      currentTotalAmount(val) {
 | 
	
		
			
				|  |  |        this.$set(this.form, "currentTotalAmount", val);
 | 
	
		
			
				|  |  | -    },
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    watch: {
 | 
	
		
			
				|  |  |      teamCourse(val) {
 | 
	
	
		
			
				|  | @@ -1229,24 +1285,26 @@ export default {
 | 
	
		
			
				|  |  |        handler(newValue, oldValue) {
 | 
	
		
			
				|  |  |          let oldString = JSON.stringify({ ...oldValue });
 | 
	
		
			
				|  |  |          let newString = JSON.stringify({ ...newValue });
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        // console.log(oldString, newString, this.initDetail, "Eclass");
 | 
	
		
			
				|  |  |          if (this.initDetail || oldString == newString) {
 | 
	
		
			
				|  |  |            this.initDetail = false;
 | 
	
		
			
				|  |  |            return;
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |            let arr = [];
 | 
	
		
			
				|  |  | -          newValue.forEach((item) => {
 | 
	
		
			
				|  |  | +          newValue.forEach(item => {
 | 
	
		
			
				|  |  |              arr.push({
 | 
	
		
			
				|  |  |                courseType: item.courseType,
 | 
	
		
			
				|  |  |                teacherNumber: 0,
 | 
	
		
			
				|  |  |                courseNumber: 0,
 | 
	
		
			
				|  |  | -              courseCurrentPrice: 0,
 | 
	
		
			
				|  |  | +              courseCurrentPrice: 0
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |            });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            this.$set(this.form, "teacherFeeList", arr);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | -      deep: true,
 | 
	
		
			
				|  |  | +      deep: true
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      // "form.calenderFeeType"(val, oldValue) {
 | 
	
		
			
				|  |  |      //   if (val == "TEACHER" && !oldValue) {
 | 
	
	
		
			
				|  | @@ -1272,12 +1330,12 @@ export default {
 | 
	
		
			
				|  |  |        console.log(val, oldValue, this.initDetail);
 | 
	
		
			
				|  |  |        if (val == "TEACHER" && !this.initDetail) {
 | 
	
		
			
				|  |  |          let arr = [];
 | 
	
		
			
				|  |  | -        this.form.eclass.forEach((item) => {
 | 
	
		
			
				|  |  | +        this.form.eclass.forEach(item => {
 | 
	
		
			
				|  |  |            arr.push({
 | 
	
		
			
				|  |  |              courseType: item.courseType,
 | 
	
		
			
				|  |  |              teacherNumber: 0,
 | 
	
		
			
				|  |  |              courseNumber: 0,
 | 
	
		
			
				|  |  | -            courseCurrentPrice: 0,
 | 
	
		
			
				|  |  | +            courseCurrentPrice: 0
 | 
	
		
			
				|  |  |            });
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1290,11 +1348,11 @@ export default {
 | 
	
		
			
				|  |  |        if (val && !this.isSetCourseSettingsId) {
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  |            const res = await queryByMusicGroupOrganizationCourseSettingsId({
 | 
	
		
			
				|  |  | -            id: val,
 | 
	
		
			
				|  |  | +            id: val
 | 
	
		
			
				|  |  |            });
 | 
	
		
			
				|  |  | -          let CourseSettingDetail = res.data.map((course) => {
 | 
	
		
			
				|  |  | +          let CourseSettingDetail = res.data.map(course => {
 | 
	
		
			
				|  |  |              return {
 | 
	
		
			
				|  |  | -              ...course,
 | 
	
		
			
				|  |  | +              ...course
 | 
	
		
			
				|  |  |              };
 | 
	
		
			
				|  |  |            });
 | 
	
		
			
				|  |  |            this.$set(this.form, "eclass", res.data);
 | 
	
	
		
			
				|  | @@ -1309,7 +1367,11 @@ export default {
 | 
	
		
			
				|  |  |        this.cycle = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        if (val != "1") {
 | 
	
		
			
				|  |  | -        this.$set(this.form, "musicGroupOrganizationCourseSettingId", undefined);
 | 
	
		
			
				|  |  | +        this.$set(
 | 
	
		
			
				|  |  | +          this.form,
 | 
	
		
			
				|  |  | +          "musicGroupOrganizationCourseSettingId",
 | 
	
		
			
				|  |  | +          undefined
 | 
	
		
			
				|  |  | +        );
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        // this.$set(this.cycle, "paymentAmount", undefined);
 | 
	
	
		
			
				|  | @@ -1321,7 +1383,10 @@ export default {
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        this.isSetCourseSettingsId = false;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -      if (this.courseViewType == 2 && this.$route.query.team_status == "PROGRESS") {
 | 
	
		
			
				|  |  | +      if (
 | 
	
		
			
				|  |  | +        this.courseViewType == 2 &&
 | 
	
		
			
				|  |  | +        this.$route.query.team_status == "PROGRESS"
 | 
	
		
			
				|  |  | +      ) {
 | 
	
		
			
				|  |  |          this.memberDisabled = false;
 | 
	
		
			
				|  |  |          if (val === "1") {
 | 
	
		
			
				|  |  |            // 会员收费 创建续费 默认选中,不可取消选中
 | 
	
	
		
			
				|  | @@ -1336,7 +1401,7 @@ export default {
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -    },
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    computed: {
 | 
	
		
			
				|  |  |      musicGroup() {
 | 
	
	
		
			
				|  | @@ -1344,8 +1409,8 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      Eclass() {
 | 
	
		
			
				|  |  |        return JSON.parse(JSON.stringify(this.form.eclass));
 | 
	
		
			
				|  |  | -    },
 | 
	
		
			
				|  |  | -  },
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  <style lang="scss" scoped>
 |