From 62fc7055dd20f469a28ecb6e003d6ce911b9f61d Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 11 Sep 2024 16:43:41 +0700 Subject: [PATCH] Squashed commit of the following: commit eb6c7b164a9f182f8d1ce73cc5354866c6d6b10e Author: puriphatt Date: Wed Sep 11 11:29:44 2024 +0700 refactor: no img close to default on create commit eae9eb26071cc2985624bb1c6ce551bf5eb6eb8b Author: puriphatt Date: Wed Sep 11 11:04:04 2024 +0700 refactor/feat: save => apply, disabled selected img, no img close to default commit ccbf80fc53db3144873c049bd6dbd37b4e2e9ff3 Author: puriphatt Date: Wed Sep 11 09:31:32 2024 +0700 fix(01): use submit function commit 36b4f6ca15e5966f37dfefc9fdb744feec60dd27 Author: puriphatt Date: Tue Sep 10 17:45:19 2024 +0700 fix: imgList error commit bac0eaf3ab955672ae0c78d3295b4a839827c5f2 Author: puriphatt Date: Tue Sep 10 17:18:03 2024 +0700 refactor(03): customer new upload img dialog commit 9d7398e9613a738c33e265482cdb7d7bb250ea9f Author: puriphatt Date: Tue Sep 10 15:40:39 2024 +0700 refactor(02): new upload dialog commit 8b91d43f41eae3ba2442f6c742d617c25ee180cb Author: puriphatt Date: Tue Sep 10 15:25:21 2024 +0700 refactor(01): new upload dialog, confirm remove, individual action commit 61caf1919168bc5635568d7ca246574fdc43cd04 Author: puriphatt Date: Mon Sep 9 17:08:42 2024 +0700 refactor(01): branch new img upload commit e791b7316d001d839c8afb1950f7331c62d9e81a Author: puriphatt Date: Mon Sep 9 17:08:42 2024 +0700 refactor(02): personnel new img upload commit af4d11312b9cb666338901efa9971117cb7738c4 Author: puriphatt Date: Mon Sep 9 17:08:42 2024 +0700 feat(02): new image upload commit e4d7afdb8c74d65a550644f2c60f70909d51d4a8 Author: puriphatt Date: Mon Sep 9 17:08:41 2024 +0700 refactor: mock select image function commit 5ab3f045b9c7d2c821920c12114da15eed09655a Author: puriphatt Date: Mon Sep 9 17:08:41 2024 +0700 refactor: mock new image preview --- src/components/ImageUploadDialog.vue | 355 +++++++++++++++--- src/i18n/eng/index.ts | 2 + src/i18n/tha/index.ts | 2 + src/pages/01_branch-management/MainPage.vue | 176 ++++++--- .../02_personnel-management/MainPage.vue | 161 +++++--- src/pages/03_customer-management/MainPage.vue | 122 +++++- src/pages/03_customer-management/form.ts | 18 +- src/stores/branch/index.ts | 102 +++-- src/stores/branch/types.ts | 4 +- src/stores/customer/index.ts | 117 ++++-- src/stores/customer/types.ts | 2 + src/stores/user/index.ts | 114 ++++-- src/stores/user/types.ts | 4 +- 13 files changed, 925 insertions(+), 254 deletions(-) diff --git a/src/components/ImageUploadDialog.vue b/src/components/ImageUploadDialog.vue index 0d72d366..bba1d632 100644 --- a/src/components/ImageUploadDialog.vue +++ b/src/components/ImageUploadDialog.vue @@ -1,17 +1,23 @@