From 1382aaa268c80595619ece5542fbe5971a0d902a Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 26 Dec 2024 16:13:37 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20btn=20download=20file=20=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1?= =?UTF-8?q?=E0=B8=B9=E0=B8=A5=E0=B8=AA=E0=B8=B3=E0=B8=A3=E0=B8=AD=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/01_cardBackupRestore.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/modules/04_system/components/01_cardBackupRestore.vue b/src/modules/04_system/components/01_cardBackupRestore.vue index b8ca754a..0d16360e 100644 --- a/src/modules/04_system/components/01_cardBackupRestore.vue +++ b/src/modules/04_system/components/01_cardBackupRestore.vue @@ -19,6 +19,7 @@ const { dialogRemove, dialogConfirm, onSearchDataTable, + success, } = useCounterMixin(); const { createBackUp, @@ -119,6 +120,10 @@ function onRestore(name: string) { const dataMain = ref([]); +function onDownloadFile(id: string) { + success($q, "รอ API"); +} + function serchDataTable() { dataBackUp.value = onSearchDataTable( filter.value, @@ -232,6 +237,18 @@ onMounted(async () => { ลบข้อมูลสำรอง + + ดาวน์โหลดข้อมูลสำรอง + +