|
@@ -113,7 +113,7 @@ const getGradeList = (gradeYear?: string, instrumentCode?: string) => {
|
|
|
};
|
|
|
|
|
|
export default defineComponent({
|
|
|
- name: 'student-register',
|
|
|
+ name: 'activation-register',
|
|
|
setup() {
|
|
|
const route = useRoute();
|
|
|
const studentRegisterStore = useStudentRegisterStore();
|
|
@@ -124,7 +124,7 @@ export default defineComponent({
|
|
|
const forms = reactive({
|
|
|
schoolId: null as any,
|
|
|
schoolAreaId: null, // 学校区域编号
|
|
|
- activationCode: '' as any, // 互通码
|
|
|
+ activationCode: route.query.code as any, // 互通码
|
|
|
paymentType: '', // 支付类型
|
|
|
paymentChannel: '',
|
|
|
multi_user_limit: 1, // 限制注册学生数量
|
|
@@ -874,6 +874,7 @@ export default defineComponent({
|
|
|
inputAlign="right"
|
|
|
label="互通码"
|
|
|
placeholder="请选择互通码"
|
|
|
+ readonly={route.query.code ? true : false}
|
|
|
v-model={forms.activationCode}
|
|
|
/>
|
|
|
</Form>
|