From 73a0384fa862323fd74f789f55fe802c1b091a5a Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Mon, 27 Nov 2023 17:05:45 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=AA=E0=B8=B7=E0=B8=9A=E0=B8=AA?= =?UTF-8?q?=E0=B8=A7=E0=B8=99=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B9=80=E0=B8=97?= =?UTF-8?q?=E0=B9=87=E0=B8=88=E0=B8=88=E0=B8=A3=E0=B8=B4=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/1_Complaint/Form.vue | 1 - .../components/2_InvestigateFacts/Form.vue | 30 +++++++++++-------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/modules/11_discipline/components/1_Complaint/Form.vue b/src/modules/11_discipline/components/1_Complaint/Form.vue index 1b6b4b63b..66a353e54 100644 --- a/src/modules/11_discipline/components/1_Complaint/Form.vue +++ b/src/modules/11_discipline/components/1_Complaint/Form.vue @@ -435,7 +435,6 @@ function deletePerson(id: string) { function removePerson(id: string) { const dataRow = complainstStore.rowsAdd; const updatedRows = dataRow.filter((item: any) => item.id !== id); - success($q,'ลบข้อมูลสำเร็จ') complainstStore.rowsAdd = updatedRows; } diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue index 31a93624a..4662da39a 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue @@ -310,6 +310,7 @@ watch(props.data, async () => { formData.investigationCauseText = props.data.investigationCauseText; formData.result = props.data.result; formData.disciplineInvestigateDocs = props.data.disciplineInvestigateDocs; + formData.evidenceFiles = props.data.evidenceFiles; investigateFactStore.rowsAdd = props.data.persons; rows.value = props.data.directors; @@ -324,7 +325,7 @@ function uploadFileRelevant() { .put(config.API.investigateRelevantUploadFile(formData.id), Data) .then((res) => { console.log(res); - success($q, "บันทึกข้อมูลสำเร็จ"); + success($q, "อัปโหลดไฟล์สำเร็จ"); props.getData(); // router.push(`/discipline/complaints`); }) @@ -345,7 +346,7 @@ function uploadFile() { .put(config.API.investigateUploadFile(formData.id), Data) .then((res) => { console.log(res); - success($q, "บันทึกข้อมูลสำเร็จ"); + success($q, "อัปโหลดไฟล์สำเร็จ"); props.getData(); // router.push(`/discipline/complaints`); }) @@ -1129,8 +1130,13 @@ onMounted(async () => { >อัปโหลดเอกสาร - - +
+ ไม่มีรายการเอกสาร +
+ { >อัปโหลดไฟล์ - -
- -

- ไม่มีรายการเอกสาร -

-
+
+ ไม่มีรายการเอกสาร +
- + {
-