|  | @@ -145,9 +145,19 @@ export default defineComponent({
 | 
	
		
			
				|  |  |            val: false
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        ],
 | 
	
		
			
				|  |  | +      optionList: [
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +          title: '传统自主练习(依托课堂所学知识与乐器技能,自行完成练习,无任何费用投入)',
 | 
	
		
			
				|  |  | +          val: false
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +          title: 'Ai辅助练习(自主规划+Ai辅助,自行准备软件,品牌不限,一次性投入约300余元)',
 | 
	
		
			
				|  |  | +          val: true
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      ],      
 | 
	
		
			
				|  |  |        username: '',
 | 
	
		
			
				|  |  |        openId: null as any,
 | 
	
		
			
				|  |  | -      participationFlag: true as any, // 是否愿意参加
 | 
	
		
			
				|  |  | +      participationFlag: null as any, // 课后练习方式
 | 
	
		
			
				|  |  |        supportFlag: null as any, // 是否支持
 | 
	
		
			
				|  |  |        currentGrade: null as any,
 | 
	
		
			
				|  |  |        currentClass: null as any,
 | 
	
	
		
			
				|  | @@ -218,6 +228,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        console.log(333,forms.provinceCode)
 | 
	
		
			
				|  |  |        queryDetail();
 | 
	
		
			
				|  |  | +      window.scrollTo(0, 0);
 | 
	
		
			
				|  |  |        // getAreaList();
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -281,7 +292,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |          forms.schoolPopupIndex = data.schoolAreaId ? [data.schoolAreaId] : []
 | 
	
		
			
				|  |  |          forms.schoolName = data.schoolName
 | 
	
		
			
				|  |  |          forms.supportFlag = data.supportFlag
 | 
	
		
			
				|  |  | -        // forms.participationFlag = data.participationFlag
 | 
	
		
			
				|  |  | +        forms.participationFlag = data.participationFlag
 | 
	
		
			
				|  |  |          forms.areaName = data.provinceName + ' ' + data.cityName + ' ' + (data.districtName || '')
 | 
	
		
			
				|  |  |          const gradeIdx = gradeList.find(item => item.text === data.currentGrade)?.value || 1
 | 
	
		
			
				|  |  |          // @ts-ignore
 | 
	
	
		
			
				|  | @@ -350,19 +361,31 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        //   showToast('请勾选是否支持学校数字化转型');
 | 
	
		
			
				|  |  |        //   return false;
 | 
	
		
			
				|  |  |        // }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        if (forms.participationFlag === null) {
 | 
	
		
			
				|  |  | -        showToast('请勾选是否愿意学生参加数字化转型');
 | 
	
		
			
				|  |  | +        showToast('请选择课后练习方式');
 | 
	
		
			
				|  |  |          return false;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      if (forms.participationFlag) {
 | 
	
		
			
				|  |  | -        if (!checkPhone(forms.phone)) {
 | 
	
		
			
				|  |  | -          status && showToast('请输入正确的手机号码');
 | 
	
		
			
				|  |  | -          return false;
 | 
	
		
			
				|  |  | -        } else if (!forms.smsCode) {
 | 
	
		
			
				|  |  | -          status && showToast('请输入验证码');
 | 
	
		
			
				|  |  | -          return false;
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      // if (forms.participationFlag) {
 | 
	
		
			
				|  |  | +      //   if (!checkPhone(forms.phone)) {
 | 
	
		
			
				|  |  | +      //     status && showToast('请输入正确的手机号码');
 | 
	
		
			
				|  |  | +      //     return false;
 | 
	
		
			
				|  |  | +      //   } else if (!forms.smsCode) {
 | 
	
		
			
				|  |  | +      //     status && showToast('请输入验证码');
 | 
	
		
			
				|  |  | +      //     return false;
 | 
	
		
			
				|  |  | +      //   }
 | 
	
		
			
				|  |  | +      // }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      if (!checkPhone(forms.phone)) {
 | 
	
		
			
				|  |  | +        status && showToast('请输入正确的手机号码');
 | 
	
		
			
				|  |  | +        return false;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +      if (!forms.smsCode) {
 | 
	
		
			
				|  |  | +        status && showToast('请输入验证码');
 | 
	
		
			
				|  |  | +        return false;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        return true;
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -377,10 +400,8 @@ export default defineComponent({
 | 
	
		
			
				|  |  |            if (id) {
 | 
	
		
			
				|  |  |              params.id = id
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | -          if (participationFlag) {
 | 
	
		
			
				|  |  | -            params.phone = phone
 | 
	
		
			
				|  |  | -            params.smsCode = smsCode
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | +          params.phone = phone
 | 
	
		
			
				|  |  | +          params.smsCode = smsCode
 | 
	
		
			
				|  |  |            const res = await request.post('/edu-app/open/schoolMeetingQuestion/save', {
 | 
	
		
			
				|  |  |              data: params
 | 
	
		
			
				|  |  |            });
 | 
	
	
		
			
				|  | @@ -675,10 +696,23 @@ export default defineComponent({
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </div> */}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +          <div class={styles.formItem}>
 | 
	
		
			
				|  |  | +            <p style="font-size:15px;"><strong>5. 课后练习方式(二选一)</strong></p>
 | 
	
		
			
				|  |  | +            <div class={[styles.selectItem, styles.specialSelect]}>
 | 
	
		
			
				|  |  | +              {
 | 
	
		
			
				|  |  | +                forms.optionList.map(item =>
 | 
	
		
			
				|  |  | +                  <div onClick={() => (forms.participationFlag = item.val)}>
 | 
	
		
			
				|  |  | +                    <i class={forms.participationFlag === item.val && styles.selectedIcon}></i>
 | 
	
		
			
				|  |  | +                    <span>{item.title}</span>
 | 
	
		
			
				|  |  | +                  </div>
 | 
	
		
			
				|  |  | +                )
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |            {
 | 
	
		
			
				|  |  | -            forms.participationFlag &&
 | 
	
		
			
				|  |  |              <div class={styles.formItem}>
 | 
	
		
			
				|  |  | -              <p style="font-size:15px;"><strong>5. 联系方式</strong></p>
 | 
	
		
			
				|  |  | +              <p style="font-size:15px;"><strong>6. 联系方式</strong></p>
 | 
	
		
			
				|  |  |                <Field
 | 
	
		
			
				|  |  |                  class={styles.valDot}
 | 
	
		
			
				|  |  |                  clearable={false}
 | 
	
	
		
			
				|  | @@ -730,7 +764,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            {
 | 
	
		
			
				|  |  |              forms.participationFlag !== null &&
 | 
	
		
			
				|  |  | -            <img class={styles.bottomBtn} src={forms.participationFlag ? signupBtn : submitBtn}
 | 
	
		
			
				|  |  | +            <img class={styles.bottomBtn} src={submitBtn}
 | 
	
		
			
				|  |  |                onClick={() => {
 | 
	
		
			
				|  |  |                  if (forms.submitLoading) return;
 | 
	
		
			
				|  |  |                  submitFill()
 | 
	
	
		
			
				|  | @@ -757,8 +791,8 @@ export default defineComponent({
 | 
	
		
			
				|  |  |            forms.successPopShow &&
 | 
	
		
			
				|  |  |            <div class={styles.successPop}>
 | 
	
		
			
				|  |  |              <div class={styles.successBox}>
 | 
	
		
			
				|  |  | -              <img class={styles.sTitle} src={forms.participationFlag ? signSusIcon : subSusIcon} />
 | 
	
		
			
				|  |  | -              <p>{forms.participationFlag ? '感谢您的参与' : '感谢您的宝贵意见'}</p>
 | 
	
		
			
				|  |  | +              <img class={styles.sTitle} src={subSusIcon} />
 | 
	
		
			
				|  |  | +              <p>感谢您的参与</p>
 | 
	
		
			
				|  |  |                <img class={styles.sDone} src={doneIcon} onClick={() => {
 | 
	
		
			
				|  |  |                  forms.successPopShow = false
 | 
	
		
			
				|  |  |                }} />
 |