diff --git a/src/modules/05_placement/components/probation/FormEvaluation/Header.vue b/src/modules/05_placement/components/probation/FormEvaluation/Header.vue index c92247eda..cad752085 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/Header.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/Header.vue @@ -21,6 +21,13 @@ const props = defineProps({ loop: { type: Number, }, + isMax: { + required: false, + type: Boolean, + default() { + return false; + }, + }, addData: { type: Function, default() { @@ -114,7 +121,7 @@ function nextPage() {
{ :loop="probationStore.tabs.length" :FileDownload="FileDownload" :checkPermission="probationStore?.dataPermissions?.tab2?.isEdit as boolean" + :is-max="probationStore.tabs.length === 3" /> { :loop="probationStore.tabs.length" :FileDownload="FileDownload" :checkPermission="probationStore?.dataPermissions?.tab3?.isEdit as boolean" + :is-max="probationStore.tabs.length === 3" /> { :add-data="addData" :FileDownload="FileDownload" :checkPermission="probationStore?.dataPermissions?.tab4?.isEdit as boolean" + :is-max="tabs.length === 2" /> { :add-data="addData" :FileDownload="FileDownload" :checkPermission="probationStore?.dataPermissions?.tab5?.isEdit as boolean" + :is-max="tabs.length === 2" /> {
- ยังไม่ได้ดำเนินการแบบประเมินผล + ยังไม่ได้รายงานผลการประเมินฯ
diff --git a/src/modules/05_placement/components/probation/SummaryScore.vue b/src/modules/05_placement/components/probation/SummaryScore.vue index dbf1e8166..8e00356e3 100644 --- a/src/modules/05_placement/components/probation/SummaryScore.vue +++ b/src/modules/05_placement/components/probation/SummaryScore.vue @@ -55,6 +55,7 @@ const result_option = reactive([ }, ]); +const checkDisplay = ref(null); /** get คะแนน */ async function getReportScore() { showLoader(); @@ -98,6 +99,10 @@ async function getReportScore() { reason.value = data.reason; pass_result.value = data.pass_result; evaluate_date.value = data.evaluate_date; + checkDisplay.value = true; + }) + .catch((e) => { + checkDisplay.value = false; }) .finally(() => { hideLoader(); @@ -111,7 +116,12 @@ onMounted(() => {