diff --git a/src/components/Table.vue b/src/components/Table.vue index f55a9dc..90fc6b8 100644 --- a/src/components/Table.vue +++ b/src/components/Table.vue @@ -95,7 +95,7 @@ import type { Pagination } from '@/modules/01_exam/interface/index/Main' const attrs = ref(useAttrs()) const table = ref(null) const filterRef = ref(null) -const editBtn = ref(false) +const editBtn = ref(true) const initialPagination = ref({ // descending: false, rowsPerPage: 0 diff --git a/src/modules/01_exam/components/Conference.vue b/src/modules/01_exam/components/Conference.vue index ea7ceee..eb81f3e 100644 --- a/src/modules/01_exam/components/Conference.vue +++ b/src/modules/01_exam/components/Conference.vue @@ -78,14 +78,19 @@ จะไม่ดำเนินการอื่นใดแตกต่างจากที่ระบุในวัตถุประสงค์เว้นแต่มีกฏหมายบัญญัติให้กระทำหรือมีหนังสือร้องขอที่สามารถปฏิบัติได้ตามกฏหมาย เช่น เพื่อความจำเป็นในการป้องกันด้านสุขภาพและโรคติดต่ออันตราย

+ - - + + + @@ -104,6 +109,8 @@ const props = defineProps({ }) const fullname = ref('') +const acceptTermOfUse = ref(false) + /** * ดิงชื่อผู้ใช้งานจาก keycloak */ diff --git a/src/modules/01_exam/components/ExamForm.vue b/src/modules/01_exam/components/ExamForm.vue index 0a75d0d..caae140 100644 --- a/src/modules/01_exam/components/ExamForm.vue +++ b/src/modules/01_exam/components/ExamForm.vue @@ -1,7 +1,8 @@ - + -->
+
- --> +
@@ -113,8 +121,8 @@ const props = defineProps({ const $q = useQuasar() const mixin = useCounterMixin() //เรียกฟังก์ชันกลาง const { modalConfirm, modalError, success } = mixin -const tab = ref('profile') -const splitterModel = ref(90) +// const tab = ref('profile') +// const splitterModel = ref(90) const loader = ref(false) const statusEdit = ref(false) const acceptTermOfUse = ref(false) @@ -154,36 +162,35 @@ const saveForm = async () => { }) } -const clickPreview = (val: string) => { - console.log(val) - switch (val) { - case 'profile': - return (tab.value = 'profile') - case 'education': - return (tab.value = 'profile') - case 'career': - return (tab.value = 'education') - case 'document': - return (tab.value = 'career') - default: - return (tab.value = 'profile') - } -} +// const clickPreview = (val: string) => { +// switch (val) { +// case 'profile': +// return (tab.value = 'profile') +// case 'education': +// return (tab.value = 'profile') +// case 'career': +// return (tab.value = 'education') +// case 'document': +// return (tab.value = 'career') +// default: +// return (tab.value = 'profile') +// } +// } -const clickNext = (val: string) => { - switch (val) { - case 'profile': - return (tab.value = 'education') - case 'education': - return (tab.value = 'career') - case 'career': - return (tab.value = 'document') - case 'document': - return (tab.value = 'profile') - default: - return (tab.value = 'profile') - } -} +// const clickNext = (val: string) => { +// switch (val) { +// case 'profile': +// return (tab.value = 'education') +// case 'education': +// return (tab.value = 'career') +// case 'career': +// return (tab.value = 'document') +// case 'document': +// return (tab.value = 'profile') +// default: +// return (tab.value = 'profile') +// } +// } diff --git a/src/modules/01_exam/components/Form/Profile/Address.vue b/src/modules/01_exam/components/Form/Address.vue similarity index 81% rename from src/modules/01_exam/components/Form/Profile/Address.vue rename to src/modules/01_exam/components/Form/Address.vue index c685e03..5d3b6ca 100644 --- a/src/modules/01_exam/components/Form/Profile/Address.vue +++ b/src/modules/01_exam/components/Form/Address.vue @@ -17,27 +17,27 @@
- +
@@ -110,7 +110,7 @@ val="1" label="ใช่" dense - :disable="!edit" + :disable="!(status == 'register' || status == 'rejectRegister')" />
diff --git a/src/modules/01_exam/components/Form/Career.vue b/src/modules/01_exam/components/Form/Career.vue index d11bd33..a54cea9 100644 --- a/src/modules/01_exam/components/Form/Career.vue +++ b/src/modules/01_exam/components/Form/Career.vue @@ -1,6 +1,6 @@