From 1435b9b0041eb8a0a295457d96ca76c28739342e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 27 Dec 2023 15:18:23 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B9=80=E0=B8=A1?= =?UTF-8?q?=E0=B8=B4=E0=B8=99=E0=B8=9A=E0=B8=B8=E0=B8=84=E0=B8=84=E0=B8=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/EvaluateStepMain.vue | 40 ++++++------ .../06_evaluate/components/step/step2.vue | 50 +++++++++++++++ .../06_evaluate/components/step/step6.vue | 48 ++++++++++++++ .../06_evaluate/components/step/step8.vue | 62 +++++++++---------- .../components/viewstep/popupHistory.vue | 11 +++- .../components/viewstep/tableStep1.vue | 2 +- .../components/viewstep/viewPDF.vue | 11 ++-- .../components/viewstep/viewStep3.vue | 37 ++++++++++- .../components/viewstep/viewStep7.vue | 30 +++++++++ 9 files changed, 232 insertions(+), 59 deletions(-) diff --git a/src/modules/06_evaluate/components/EvaluateStepMain.vue b/src/modules/06_evaluate/components/EvaluateStepMain.vue index ed7a871..7f52a1c 100644 --- a/src/modules/06_evaluate/components/EvaluateStepMain.vue +++ b/src/modules/06_evaluate/components/EvaluateStepMain.vue @@ -282,12 +282,10 @@ async function saveStep1() { assessments: [...formDetail.value.assessments], }; - fetchCheckStatus(); - await http .post(config.API.evaluationCheckspec(), form) - .then((res) => { - console.log(res); + .then(() => { + fetchCheckStatus(); }) .catch((err) => { messageError($q, err); @@ -562,22 +560,24 @@ onMounted(async () => { class="col-xs-12 col-sm-7 row" v-if="store.step === 1 || store.step === 3 || store.step === 7" > - - - - - + +
+ + + +
+ +
diff --git a/src/modules/06_evaluate/components/step/step2.vue b/src/modules/06_evaluate/components/step/step2.vue index 48a2580..2f2f5c8 100644 --- a/src/modules/06_evaluate/components/step/step2.vue +++ b/src/modules/06_evaluate/components/step/step2.vue @@ -29,6 +29,9 @@ const evaluateId = ref(route.params.id.toString()); /** emit */ const emit = defineEmits(["update:form"]); +const performance = ref(""); +const performanceOwner = ref(""); + /** form ผู้เซ็นเอกสาร*/ const formCommand = reactive({ commanderFullname: "", @@ -48,6 +51,8 @@ const fileEvaluation3Ref = ref(null); const fileEvaluation4Ref = ref(null); const fileEvaluation5Ref = ref(null); const fileEvaluation6Ref = ref(null); +const performanceRef = ref(null); +const performanceOwnerRef = ref(null); /** * function updateFormref @@ -371,6 +376,51 @@ onMounted(async () => {