Merge branch 'zcwyMaster' into 'master'

Zcwy master

See merge request !157
This commit is contained in:
joshen
2023-11-10 17:15:48 +08:00

View File

@@ -263,9 +263,9 @@ watch(formData, () => {
});
});
const sysTypeOption1 = computed(() => store.state.content_type.find(({ code }) => code == formData.value.sysType1));
const sysTypeOption2 = computed(() => sysTypeOption1.value?.children.find(({ code }) => code == formData.value.sysType2));
const sysTypeOption3 = computed(() => sysTypeOption2.value?.children.find(({ code }) => code == formData.value.sysType2));
const sysTypeOption1 = computed(() => store.state.content_type?.find(({ code }) => code == formData.value.sysType1));
const sysTypeOption2 = computed(() => sysTypeOption1.value?.children ? sysTypeOption1.value?.children?.find(({ code }) => code == formData.value.sysType2) : {});
const sysTypeOption3 = computed(() => sysTypeOption2.value?.children ? sysTypeOption2.value?.children?.find(({ code }) => code == formData.value.sysType3) : {});
const { data: studentList, fetch: searchStu, total, loading } = usePage(STUDENT_LIST, searchParams, false);
const { loading: stuAsyncLoading, start } = useAsyncStu(formData.value.id, props.type, searchStu);