From 9a66af25c2b21a7f241b32b9e631f4b98dd72a5b Mon Sep 17 00:00:00 2001 From: Kevser <> Date: Thu, 24 Jul 2025 21:57:18 +0300 Subject: [PATCH] =?UTF-8?q?-=20Trash=20ikonu=20eklendi=20-=20FileListItem?= =?UTF-8?q?=20ek=20butonlar=20i=C3=A7in=20alan=20a=C3=A7=C4=B1ld=C4=B1.=20?= =?UTF-8?q?-=20Piyango=20d=C3=B6k=C3=BCmanlar=C4=B1=20adminler=20i=C3=A7in?= =?UTF-8?q?=20silme=20butonu=20eklendi.=20Api=20ba=C4=9Flanmad=C4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/images/icons.svg | 14 +++++++ src/components/global/FileListItem.vue | 34 +++++++++++----- .../display/FormPiyangoDocumentsDisplay.vue | 39 ++++++++++++++++++- 3 files changed, 76 insertions(+), 11 deletions(-) diff --git a/src/assets/images/icons.svg b/src/assets/images/icons.svg index 41d43e4..32f33a6 100644 --- a/src/assets/images/icons.svg +++ b/src/assets/images/icons.svg @@ -237,4 +237,18 @@ d="M16.1362 14.1067H14.7781C14.3632 14.1067 14.0268 14.4424 14.0268 14.8564V19.8401C14.0268 20.2541 14.3632 20.5897 14.7781 20.5897H16.1362C16.5511 20.5897 16.8875 20.2541 16.8875 19.8401V14.8564C16.8875 14.4424 16.5511 14.1067 16.1362 14.1067Z" /> + + + + + + \ No newline at end of file diff --git a/src/components/global/FileListItem.vue b/src/components/global/FileListItem.vue index b603176..7762aeb 100644 --- a/src/components/global/FileListItem.vue +++ b/src/components/global/FileListItem.vue @@ -18,12 +18,15 @@ {{ fileName }} - - - +
+ + + + +
@@ -75,8 +78,8 @@ if (props.filePath !== undefined && props.filePath !== null) { localFilePath.value = props.usePath - ? props.filePath as string - : (axios.defaults.baseURL as string + props.filePath as string) as string + ? (props.filePath as string) + : (((axios.defaults.baseURL as string) + props.filePath) as string as string) fileType.value = globalStore.FileType(localFilePath.value) fileName.value = globalStore.FileName(localFilePath.value) @@ -96,8 +99,19 @@ () => props.filePath, () => { localFilePath.value = props.usePath - ? props.filePath as string - : (axios.defaults.baseURL as string + props.filePath as string) as string + ? (props.filePath as string) + : (((axios.defaults.baseURL as string) + props.filePath) as string as string) } ) + diff --git a/src/module/cekilisler/components/display/FormPiyangoDocumentsDisplay.vue b/src/module/cekilisler/components/display/FormPiyangoDocumentsDisplay.vue index 9d5549e..620dcb4 100644 --- a/src/module/cekilisler/components/display/FormPiyangoDocumentsDisplay.vue +++ b/src/module/cekilisler/components/display/FormPiyangoDocumentsDisplay.vue @@ -10,7 +10,15 @@ :editable="false" :data="file" title="dokumanAdi" - :filePath="file.url" /> + :filePath="file.url"> + +