แก้ไขประเมิน

This commit is contained in:
Warunee Tamkoo 2023-12-23 10:20:41 +07:00
parent a07cc6d2a2
commit b984caaa3c
10 changed files with 121 additions and 29 deletions

View file

@ -35,6 +35,14 @@ const mixin = useCounterMixin();
const { dialogConfirm } = mixin;
const $q = useQuasar();
const props = defineProps({
data: {
type: Object,
default: {},
},
});
const modalHistory = ref<boolean>(false);
const externalLink =
"https://accreditation.ocsc.go.th/accreditation/search/curriculum";
@ -186,7 +194,7 @@ onMounted(() => {
<div class="row q-col-gutter-md">
<div class="col-xs-12 col-sm-3">
<div class="toptitle">
ประเมนชำนาญการ
{{ props.data && props.data?.type == 'SPECIAL_EXPERT' ? 'ประเมินชำนาญการพิเศษ' : 'ประเมินชำนาญการ' }}
<q-btn
flat
@ -223,7 +231,7 @@ onMounted(() => {
>
<q-card flat bordered class="col-12">
<q-card-section>
<Step1 v-if="store.step === 1" />
<Step1 v-if="store.step === 1" :data="props.data"/>
<Step2 v-if="store.step === 2" @update:form="updateformCommand" />
<Step3 v-if="store.step === 3" :step="store.step" />
<Step4 v-if="store.step === 4" />
@ -241,7 +249,7 @@ onMounted(() => {
>
<q-card flat bordered class="col-12">
<q-card-section>
<ViewStep1 v-if="store.step === 1" />
<ViewStep1 v-if="store.step === 1" :data="data"/>
<ViewStep3 v-if="store.step === 3" />
<ViewStep7 v-if="store.step === 7" /> </q-card-section
></q-card>