diff --git a/Services/client/src/components/FileSearched.vue b/Services/client/src/components/FileSearched.vue index 8a4409a..1d5c5bf 100644 --- a/Services/client/src/components/FileSearched.vue +++ b/Services/client/src/components/FileSearched.vue @@ -156,7 +156,7 @@ function confirmDelete() { setTimeout(() => { isActFoundFile.value = true - }, 300) + }, 1000) } } diff --git a/Services/client/src/components/PageLayout.vue b/Services/client/src/components/PageLayout.vue index 888d255..2822f4f 100644 --- a/Services/client/src/components/PageLayout.vue +++ b/Services/client/src/components/PageLayout.vue @@ -55,7 +55,7 @@ onMounted(getCabinet)
จัดเก็บเอกสาร
-
สืบค้นเอกสาร
+
สืบค้นผลงาน
diff --git a/Services/client/src/modules/01_user/components/FileDownload.vue b/Services/client/src/modules/01_user/components/FileDownload.vue index 1ad279f..a9d2ee8 100644 --- a/Services/client/src/modules/01_user/components/FileDownload.vue +++ b/Services/client/src/modules/01_user/components/FileDownload.vue @@ -10,6 +10,8 @@ import FileIcon from '@/components/FileIcon.vue' const { isFilePreview, fileInfo } = storeToRefs(useFileInfoStore()) const { getType, getFormatDate, getSize } = useFileInfoStore() +const filePath = + (fileInfo.value?.pathname || '').split('/').slice(0, -1).join(' / ') + ' / ' async function downloadSubmit(path: string | undefined) { if (path) { @@ -66,6 +68,9 @@ async function downloadSubmit(path: string | undefined) { {{ fileInfo?.title }} + + {{ filePath }} +
@@ -113,7 +118,7 @@ async function downloadSubmit(path: string | undefined) {
-
+
ชื่อไฟล์
@@ -122,7 +127,7 @@ async function downloadSubmit(path: string | undefined) {
-
+
ชื่อเรื่อง
@@ -131,7 +136,7 @@ async function downloadSubmit(path: string | undefined) {
-
+
รายละเอียด
@@ -140,7 +145,7 @@ async function downloadSubmit(path: string | undefined) {
-
+
กลุ่ม/หมวดหมู่
@@ -149,7 +154,7 @@ async function downloadSubmit(path: string | undefined) {
-
+
คำสำคัญ
@@ -158,7 +163,7 @@ async function downloadSubmit(path: string | undefined) {
-
+
ขนาดไฟล์
@@ -167,7 +172,7 @@ async function downloadSubmit(path: string | undefined) {
-
+
ประเภทไฟล์
@@ -176,7 +181,7 @@ async function downloadSubmit(path: string | undefined) {
-
+
วันที่อัปโหลด
diff --git a/Services/client/src/modules/01_user/components/SearchBar.vue b/Services/client/src/modules/01_user/components/SearchBar.vue index 3f864d5..94e8ff2 100644 --- a/Services/client/src/modules/01_user/components/SearchBar.vue +++ b/Services/client/src/modules/01_user/components/SearchBar.vue @@ -95,8 +95,6 @@ async function searchSubmit() { `${import.meta.env.VITE_API_ENDPOINT}/search`, submitSearchData.value, ) - console.log(submitSearchData) - getFoundFile(res.data) isSearch.value = true } catch (error) {