From 9c3e759176808a2bca1165d6189dcba242b76d59 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 25 Sep 2024 13:57:10 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3?= =?UTF-8?q?=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87=20=3D>=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../18_command/components/Main/TableMain.vue | 8 +- .../18_command/components/Step/0_Main.vue | 4 +- .../18_command/components/Step/View0_Live.vue | 277 +++++++++++++----- 3 files changed, 206 insertions(+), 83 deletions(-) diff --git a/src/modules/18_command/components/Main/TableMain.vue b/src/modules/18_command/components/Main/TableMain.vue index 59a126a13..73c684a40 100644 --- a/src/modules/18_command/components/Main/TableMain.vue +++ b/src/modules/18_command/components/Main/TableMain.vue @@ -57,11 +57,11 @@ const columns = ref([ style: "font-size: 14px", }, { - name: "commandExcecuteDate", + name: "commandAffectDate", align: "left", label: "วันที่ลงนาม", sortable: false, - field: "commandExcecuteDate", + field: "commandAffectDate", format(val) { return val ? date2Thai(val) : "-"; }, @@ -69,11 +69,11 @@ const columns = ref([ style: "font-size: 14px", }, { - name: "commandAffectDate", + name: "commandExcecuteDate", align: "left", label: "วันที่คำสั่งมีผล", sortable: false, - field: "commandAffectDate", + field: "commandExcecuteDate", format(val) { return val ? date2Thai(val) : "-"; }, diff --git a/src/modules/18_command/components/Step/0_Main.vue b/src/modules/18_command/components/Step/0_Main.vue index f45c19ae3..d5fa07909 100644 --- a/src/modules/18_command/components/Step/0_Main.vue +++ b/src/modules/18_command/components/Step/0_Main.vue @@ -1,5 +1,5 @@ diff --git a/src/modules/18_command/components/Step/View0_Live.vue b/src/modules/18_command/components/Step/View0_Live.vue index f6bb0d648..f1a308560 100644 --- a/src/modules/18_command/components/Step/View0_Live.vue +++ b/src/modules/18_command/components/Step/View0_Live.vue @@ -1,12 +1,14 @@ @@ -176,108 +294,113 @@ onMounted(() => { /> -
+
อัปโหลดเอกสารสแกนกลับเข้าสู่ระบบ
-
+
-
- - ดูไฟล์คำสั่ง - - +
+ ดูไฟล์คำสั่ง + + + ดาวน์โหลดไฟล์คำสั่ง
- - - + +
+
+ + + +
+ +
+ + อัปโหลดไฟล์คำสั่ง +
+
-
+
-
- - ดูเอกสารแนบท้าย - - +
+ ดูเอกสารแนบท้าย + + ดาวน์โหลดเอกสารแนบท้าย
- - - -
+
+
+ + + +
-
- - - +
+ + อัปโหลดไฟล์เอกสารแนบท้าย +
+
@@ -289,7 +412,7 @@ onMounted(() => { step === 2 && isAuthority && fileOrder && - (isAttachment || fileTailer) + (!isAttachment || fileTailer) " >