|  | @@ -189,7 +189,7 @@ export default defineComponent({
 | 
											
												
													
														|  |        showCloseButton: true, // 是否显示关闭按钮
 |  |        showCloseButton: true, // 是否显示关闭按钮
 | 
											
												
													
														|  |        showOtherMessage: '',
 |  |        showOtherMessage: '',
 | 
											
												
													
														|  |        /**  limit 超限制,change 更换学生,nickname 名称不一致  */
 |  |        /**  limit 超限制,change 更换学生,nickname 名称不一致  */
 | 
											
												
													
														|  | -      otherType: '' as 'limit' | 'change' | 'nickname',
 |  | 
 | 
											
												
													
														|  | 
 |  | +      otherType: '' as 'limit' | 'change' | 'nickname' | 'member',
 | 
											
												
													
														|  |        showCancelButton: true,
 |  |        showCancelButton: true,
 | 
											
												
													
														|  |        cancelButtonColor: '',
 |  |        cancelButtonColor: '',
 | 
											
												
													
														|  |        cancelButtonText: '取消',
 |  |        cancelButtonText: '取消',
 | 
											
										
											
												
													
														|  | @@ -515,9 +515,11 @@ export default defineComponent({
 | 
											
												
													
														|  |        ) {
 |  |        ) {
 | 
											
												
													
														|  |          otherParams.showOtherMessage = `您已绑定【${
 |  |          otherParams.showOtherMessage = `您已绑定【${
 | 
											
												
													
														|  |            forms.studentItem?.schoolName || ''
 |  |            forms.studentItem?.schoolName || ''
 | 
											
												
													
														|  | -        }】,提交后将更换到【${
 |  | 
 | 
											
												
													
														|  | 
 |  | +        }】,提交后将更换到【
 | 
											
												
													
														|  | 
 |  | +        <span style="color: #2B85FF">${
 | 
											
												
													
														|  |            forms.registerDetails.schoolName || ''
 |  |            forms.registerDetails.schoolName || ''
 | 
											
												
													
														|  | -        }】,是否确认提交?`;
 |  | 
 | 
											
												
													
														|  | 
 |  | +        }</span>
 | 
											
												
													
														|  | 
 |  | +        】,是否确认提交?`;
 | 
											
												
													
														|  |          otherParams.showOtherSchool = true;
 |  |          otherParams.showOtherSchool = true;
 | 
											
												
													
														|  |          otherParams.showCloseButton = false;
 |  |          otherParams.showCloseButton = false;
 | 
											
												
													
														|  |          otherParams.showCancelButton = true;
 |  |          otherParams.showCancelButton = true;
 | 
											
										
											
												
													
														|  | @@ -663,7 +665,20 @@ export default defineComponent({
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          if (schoolInfo.data.hasBuyCourse && vipList.length > 0) {
 |  |          if (schoolInfo.data.hasBuyCourse && vipList.length > 0) {
 | 
											
												
													
														|  | -          forms.dialogConfirmStatus = true;
 |  | 
 | 
											
												
													
														|  | 
 |  | +          // forms.dialogConfirmStatus = true;
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +          // 15907121011
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +          otherParams.showOtherMessage = `该学员已购买会员,是否确认购买?`;
 | 
											
												
													
														|  | 
 |  | +          otherParams.showOtherSchool = true;
 | 
											
												
													
														|  | 
 |  | +          otherParams.showCloseButton = false;
 | 
											
												
													
														|  | 
 |  | +          otherParams.showCancelButton = true;
 | 
											
												
													
														|  | 
 |  | +          otherParams.cancelButtonColor = '';
 | 
											
												
													
														|  | 
 |  | +          otherParams.cancelButtonText = '取消';
 | 
											
												
													
														|  | 
 |  | +          otherParams.confirmButtonColor = '';
 | 
											
												
													
														|  | 
 |  | +          otherParams.confirmButtonText = '确定';
 | 
											
												
													
														|  | 
 |  | +          otherParams.otherType = 'member';
 | 
											
												
													
														|  | 
 |  | +          otherParams.messageAlign = 'center';
 | 
											
												
													
														|  |            return;
 |  |            return;
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -1745,7 +1760,7 @@ export default defineComponent({
 | 
											
												
													
														|  |          </Popup>
 |  |          </Popup>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          {/* 已经购买过样品 */}
 |  |          {/* 已经购买过样品 */}
 | 
											
												
													
														|  | -        <MDialog
 |  | 
 | 
											
												
													
														|  | 
 |  | +        {/* <MDialog
 | 
											
												
													
														|  |            title="提示"
 |  |            title="提示"
 | 
											
												
													
														|  |            v-model:show={forms.dialogConfirmStatus}
 |  |            v-model:show={forms.dialogConfirmStatus}
 | 
											
												
													
														|  |            message={'已购买会员,是否确认购买?'}
 |  |            message={'已购买会员,是否确认购买?'}
 | 
											
										
											
												
													
														|  | @@ -1762,7 +1777,7 @@ export default defineComponent({
 | 
											
												
													
														|  |                applyOver();
 |  |                applyOver();
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |            }}
 |  |            }}
 | 
											
												
													
														|  | -        />
 |  | 
 | 
											
												
													
														|  | 
 |  | +        /> */}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          <MDialog
 |  |          <MDialog
 | 
											
												
													
														|  |            title="提示"
 |  |            title="提示"
 | 
											
										
											
												
													
														|  | @@ -1870,10 +1885,23 @@ export default defineComponent({
 | 
											
												
													
														|  |                forms.isRegister = 'create'; // 新建
 |  |                forms.isRegister = 'create'; // 新建
 | 
											
												
													
														|  |                changeTipStatus(false, false);
 |  |                changeTipStatus(false, false);
 | 
											
												
													
														|  |                onSubmit();
 |  |                onSubmit();
 | 
											
												
													
														|  | -            } else if (otherParams.otherType === 'limit') {
 |  | 
 | 
											
												
													
														|  | 
 |  | +            } else if (otherParams.otherType === 'member') {
 | 
											
												
													
														|  | 
 |  | +              //取消支付,判断是否有结束时间,是否已经结束
 | 
											
												
													
														|  | 
 |  | +              if (forms.registerExpireTime && forms.activeOverStatus) {
 | 
											
												
													
														|  | 
 |  | +                applyOver();
 | 
											
												
													
														|  | 
 |  | +              }
 | 
											
												
													
														|  | 
 |  | +              //     onConfirm={async () => {
 | 
											
												
													
														|  | 
 |  | +              //   await paymentContinue();
 | 
											
												
													
														|  | 
 |  | +              // }}
 | 
											
												
													
														|  | 
 |  | +              // onCancel={() => {
 | 
											
												
													
														|  | 
 |  | +              //   //取消支付,判断是否有结束时间,是否已经结束
 | 
											
												
													
														|  | 
 |  | +              //   if (forms.registerExpireTime && forms.activeOverStatus) {
 | 
											
												
													
														|  | 
 |  | +              //     applyOver();
 | 
											
												
													
														|  | 
 |  | +              //   }
 | 
											
												
													
														|  | 
 |  | +              // }}
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |            }}
 |  |            }}
 | 
											
												
													
														|  | -          onConfirm={() => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +          onConfirm={async () => {
 | 
											
												
													
														|  |              otherParams.showOtherSchool = false;
 |  |              otherParams.showOtherSchool = false;
 | 
											
												
													
														|  |              // 名字
 |  |              // 名字
 | 
											
												
													
														|  |              if (otherParams.otherType === 'nickname') {
 |  |              if (otherParams.otherType === 'nickname') {
 | 
											
										
											
												
													
														|  | @@ -1894,6 +1922,8 @@ export default defineComponent({
 | 
											
												
													
														|  |                    : true,
 |  |                    : true,
 | 
											
												
													
														|  |                  false
 |  |                  false
 | 
											
												
													
														|  |                );
 |  |                );
 | 
											
												
													
														|  | 
 |  | +            } else if (otherParams.otherType === 'member') {
 | 
											
												
													
														|  | 
 |  | +              await paymentContinue();
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |            }}
 |  |            }}
 | 
											
												
													
														|  |          />
 |  |          />
 |