ilk commit

This commit is contained in:
burakovec
2025-07-04 14:11:18 +03:00
parent 7604d77a89
commit 1754e646a8
306 changed files with 24956 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import logs from "@/module/sistem-gunlugu/routes/logs";
export default [
logs
]

View File

@ -0,0 +1,7 @@
import Logs from "@/module/sistem-gunlugu/views/Logs.vue"
export default {
path: '/logs',
name: 'Logs',
component: Logs
}

View File

@ -0,0 +1,49 @@
<template>
<AdminLayout>
<Breadcrumb current-page-text="Sistem Günlüğü" />
<section class="section-list">
<list-table-content
:tableHeader="tableHeader"
icon="logs"
title="Sistem Günlüğü"
listText="Log"
apiList="Auth/GetOperationLogs"
apiText="Sistem Günlüğü Listesi" />
</section>
</AdminLayout>
</template>
<script setup lang="ts">
import AdminLayout from '@/layouts/AdminLayout.vue'
import { ref } from 'vue'
import { useDateStore } from '@/stores/dateStore'
const dateStore = useDateStore()
const tableHeader = ref<Record<string, any>[]>([
{
name: 'tarih',
title: 'İşlem Tarihi',
compute: (v: Record<string, any>): string => {
return dateStore.dateFormat({ date: v.timestamp })
},
sort: true,
style:{width:'10%'}
},
{
name: 'userName',
title: 'İşlemi yapan',
sort: true,
style:{width:'20%'}
},
{
name: 'operationType',
title: 'Bölüm',
sort: true,
style:{width:'15%'}
},
{
name: 'description',
title: 'İşlem',
sort: true
}
])
</script>