|
@@ -36,6 +36,7 @@ import vipGiftIcon from '../images/vip-gift-icon.png';
|
|
// import agreeNo from '../images/agree-no.png';
|
|
// import agreeNo from '../images/agree-no.png';
|
|
import MMessageTip from '@/components/m-message-tip';
|
|
import MMessageTip from '@/components/m-message-tip';
|
|
import SelectStudent from '../modal/select-student';
|
|
import SelectStudent from '../modal/select-student';
|
|
|
|
+import { setLoginInit } from '@/state';
|
|
|
|
|
|
const classList: any = [];
|
|
const classList: any = [];
|
|
for (let i = 1; i <= 40; i++) {
|
|
for (let i = 1; i <= 40; i++) {
|
|
@@ -317,9 +318,9 @@ export default defineComponent({
|
|
) {
|
|
) {
|
|
otherParams.showOtherMessage = `您已绑定【${
|
|
otherParams.showOtherMessage = `您已绑定【${
|
|
forms.studentItem?.schoolName || ''
|
|
forms.studentItem?.schoolName || ''
|
|
- }】,提交后将更换到【
|
|
|
|
- <span style="color: #2B85FF">${forms.details.name || ''}</span>
|
|
|
|
- 】,是否确认提交?`;
|
|
|
|
|
|
+ }】,提交后将更换到
|
|
|
|
+ <span style="color: #2B85FF">【${forms.details.name || ''}】</span>
|
|
|
|
+ ,是否确认提交?`;
|
|
otherParams.showOtherSchool = true;
|
|
otherParams.showOtherSchool = true;
|
|
otherParams.showCancelButton = true;
|
|
otherParams.showCancelButton = true;
|
|
otherParams.showCloseButton = false;
|
|
otherParams.showCloseButton = false;
|
|
@@ -378,6 +379,11 @@ export default defineComponent({
|
|
forms.showMessage = '报名信息更新,请刷新后重新提交';
|
|
forms.showMessage = '报名信息更新,请刷新后重新提交';
|
|
forms.showButton = true;
|
|
forms.showButton = true;
|
|
} else {
|
|
} else {
|
|
|
|
+ studentRegisterStore.setToken(
|
|
|
|
+ result.data.token_type + ' ' + result.data.access_token
|
|
|
|
+ );
|
|
|
|
+ setLoginInit();
|
|
|
|
+
|
|
const { extra, username } = studentInfo;
|
|
const { extra, username } = studentInfo;
|
|
const registerResult = await request.post(
|
|
const registerResult = await request.post(
|
|
'/edu-app/student/register',
|
|
'/edu-app/student/register',
|
|
@@ -852,7 +858,7 @@ export default defineComponent({
|
|
|
|
|
|
<MMessageTip
|
|
<MMessageTip
|
|
show={otherParams.showOtherSchool}
|
|
show={otherParams.showOtherSchool}
|
|
- showCloseButton={otherParams.showCloseButton}
|
|
|
|
|
|
+ // showCloseButton={otherParams.showCloseButton}
|
|
messageAlign={otherParams.messageAlign}
|
|
messageAlign={otherParams.messageAlign}
|
|
message={otherParams.showOtherMessage}
|
|
message={otherParams.showOtherMessage}
|
|
showCancelButton={otherParams.showCancelButton}
|
|
showCancelButton={otherParams.showCancelButton}
|