ตรวจสอบคุณสมบัติ ประเมิน
This commit is contained in:
parent
5686d287c5
commit
971a9be260
2 changed files with 9 additions and 1 deletions
|
|
@ -636,6 +636,7 @@ onMounted(async () => {
|
||||||
v-if="store.step === 1"
|
v-if="store.step === 1"
|
||||||
@update:spec="updateCheckSpec"
|
@update:spec="updateCheckSpec"
|
||||||
:data="formDataStep1"
|
:data="formDataStep1"
|
||||||
|
:educations="formDetail?.educations"
|
||||||
/>
|
/>
|
||||||
<Step2
|
<Step2
|
||||||
v-if="store.step === 2"
|
v-if="store.step === 2"
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ const props = defineProps({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const education = ref<any>();
|
||||||
const emit = defineEmits(["update:spec"]);
|
const emit = defineEmits(["update:spec"]);
|
||||||
|
|
||||||
const modal = ref<boolean>(false);
|
const modal = ref<boolean>(false);
|
||||||
|
|
@ -74,6 +75,12 @@ function closeModal() {
|
||||||
/**hook lifecycle*/
|
/**hook lifecycle*/
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
props.data && fetchCheckSpec(props.data);
|
props.data && fetchCheckSpec(props.data);
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
education.value = props.educations
|
||||||
|
? props.educations
|
||||||
|
: props.data?.educations;
|
||||||
|
}, 100);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -216,7 +223,7 @@ onMounted(() => {
|
||||||
:modal="modal"
|
:modal="modal"
|
||||||
:show="show"
|
:show="show"
|
||||||
:close-modal="closeModal"
|
:close-modal="closeModal"
|
||||||
:educations="educations"
|
:educations="education"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue