|  | @@ -1,85 +1,14 @@
 | 
	
		
			
				|  |  | -import {
 | 
	
		
			
				|  |  | -  Image,
 | 
	
		
			
				|  |  | -  Cell,
 | 
	
		
			
				|  |  | -  Tag,
 | 
	
		
			
				|  |  | -  Button,
 | 
	
		
			
				|  |  | -  Popup,
 | 
	
		
			
				|  |  | -  showToast,
 | 
	
		
			
				|  |  | -  Form,
 | 
	
		
			
				|  |  | -  Field,
 | 
	
		
			
				|  |  | -  CountDown,
 | 
	
		
			
				|  |  | -  RadioGroup,
 | 
	
		
			
				|  |  | -  Radio,
 | 
	
		
			
				|  |  | -  Picker,
 | 
	
		
			
				|  |  | -  closeToast,
 | 
	
		
			
				|  |  | -  Popover,
 | 
	
		
			
				|  |  | -  Area,
 | 
	
		
			
				|  |  | -  CellGroup,
 | 
	
		
			
				|  |  | -  showConfirmDialog
 | 
	
		
			
				|  |  | -} from 'vant';
 | 
	
		
			
				|  |  | -import {
 | 
	
		
			
				|  |  | -  computed,
 | 
	
		
			
				|  |  | -  defineComponent,
 | 
	
		
			
				|  |  | -  nextTick,
 | 
	
		
			
				|  |  | -  onMounted,
 | 
	
		
			
				|  |  | -  onUnmounted,
 | 
	
		
			
				|  |  | -  reactive,
 | 
	
		
			
				|  |  | -  ref
 | 
	
		
			
				|  |  | -} from 'vue';
 | 
	
		
			
				|  |  | +import { Tag, Button, Popup, Form, Field, RadioGroup, Radio } from 'vant';
 | 
	
		
			
				|  |  | +import { computed, defineComponent, onMounted, reactive } from 'vue';
 | 
	
		
			
				|  |  |  import styles from './detail.module.less';
 | 
	
		
			
				|  |  |  import MSticky from '@/components/m-sticky';
 | 
	
		
			
				|  |  |  // import MVideo from '@/components/m-video';
 | 
	
		
			
				|  |  |  import { useRoute, useRouter } from 'vue-router';
 | 
	
		
			
				|  |  |  import request from '@/helpers/request';
 | 
	
		
			
				|  |  |  import loginSuccess from './images/login-success.png';
 | 
	
		
			
				|  |  | +import bannerBg from './images/banner1.png';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import SelectStudent from '@/views/student-register/modal/select-student';
 | 
	
		
			
				|  |  | -import { browser } from '@/helpers/utils';
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -const classList: any = [];
 | 
	
		
			
				|  |  | -for (let i = 1; i <= 40; i++) {
 | 
	
		
			
				|  |  | -  classList.push({ text: i + '班', value: i });
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -const GRADE_ENUM = {
 | 
	
		
			
				|  |  | -  '1': '一年级',
 | 
	
		
			
				|  |  | -  '2': '二年级',
 | 
	
		
			
				|  |  | -  '3': '三年级',
 | 
	
		
			
				|  |  | -  '4': '四年级',
 | 
	
		
			
				|  |  | -  '5': '五年级',
 | 
	
		
			
				|  |  | -  '6': '六年级',
 | 
	
		
			
				|  |  | -  '7': '七年级',
 | 
	
		
			
				|  |  | -  '8': '八年级',
 | 
	
		
			
				|  |  | -  '9': '九年级'
 | 
	
		
			
				|  |  | -} as any;
 | 
	
		
			
				|  |  | -const getGradeList = (gradeYear?: string, instrumentCode?: string) => {
 | 
	
		
			
				|  |  | -  let tempList: any = [];
 | 
	
		
			
				|  |  | -  const five = [
 | 
	
		
			
				|  |  | -    { text: '一年级', value: 1, instrumentCode },
 | 
	
		
			
				|  |  | -    { text: '二年级', value: 2, instrumentCode },
 | 
	
		
			
				|  |  | -    { text: '三年级', value: 3, instrumentCode },
 | 
	
		
			
				|  |  | -    { text: '四年级', value: 4, instrumentCode },
 | 
	
		
			
				|  |  | -    { text: '五年级', value: 5, instrumentCode }
 | 
	
		
			
				|  |  | -  ];
 | 
	
		
			
				|  |  | -  const one = [{ text: '六年级', value: 6, instrumentCode }];
 | 
	
		
			
				|  |  | -  const three = [
 | 
	
		
			
				|  |  | -    { text: '七年级', value: 7, instrumentCode },
 | 
	
		
			
				|  |  | -    { text: '八年级', value: 8, instrumentCode },
 | 
	
		
			
				|  |  | -    { text: '九年级', value: 9, instrumentCode }
 | 
	
		
			
				|  |  | -  ];
 | 
	
		
			
				|  |  | -  if (gradeYear === 'FIVE_YEAR_SYSTEM') {
 | 
	
		
			
				|  |  | -    tempList.push(...[...five]);
 | 
	
		
			
				|  |  | -  } else if (gradeYear === 'SIX_YEAR_SYSTEM') {
 | 
	
		
			
				|  |  | -    tempList.push(...[...five, ...one]);
 | 
	
		
			
				|  |  | -  } else if (gradeYear === 'THREE_YEAR_SYSTEM') {
 | 
	
		
			
				|  |  | -    tempList.push(...[...three]);
 | 
	
		
			
				|  |  | -  } else if (gradeYear === 'FORE_YEAR_SYSTEM') {
 | 
	
		
			
				|  |  | -    tempList.push(...[...one, ...three]);
 | 
	
		
			
				|  |  | -  } else {
 | 
	
		
			
				|  |  | -    tempList.push(...[...five, ...one, ...three]);
 | 
	
		
			
				|  |  | -  }
 | 
	
		
			
				|  |  | -  return tempList;
 | 
	
		
			
				|  |  | -};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export default defineComponent({
 | 
	
		
			
				|  |  |    name: 'activation-register',
 | 
	
	
		
			
				|  | @@ -206,11 +135,8 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        getDetail();
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |      return () => (
 | 
	
		
			
				|  |  | -      <div
 | 
	
		
			
				|  |  | -        class={[
 | 
	
		
			
				|  |  | -          styles['student-register'],
 | 
	
		
			
				|  |  | -          browser().isTablet ? styles.hotMusicMoreTablet : ''
 | 
	
		
			
				|  |  | -        ]}>
 | 
	
		
			
				|  |  | +      <div class={[styles['student-register']]}>
 | 
	
		
			
				|  |  | +        <img src={bannerBg} class={styles.bannerBg} />
 | 
	
		
			
				|  |  |          <div class={styles.studentRegisterContainer}>
 | 
	
		
			
				|  |  |            <div class={[styles.studentSection]}>
 | 
	
		
			
				|  |  |              <Form labelAlign="left" class={styles.registerForm}>
 |