CGridTableRec + fields + page
pagine: - Siti Web - Operazioni - Push...
This commit is contained in:
0
src/rootgen/admin/gallery/gallery.scss
Executable file
0
src/rootgen/admin/gallery/gallery.scss
Executable file
19
src/rootgen/admin/gallery/gallery.ts
Executable file
19
src/rootgen/admin/gallery/gallery.ts
Executable file
@@ -0,0 +1,19 @@
|
||||
import { defineComponent, ref, computed } from 'vue'
|
||||
|
||||
import { CImgText } from '../../../components/CImgText/index'
|
||||
import { CCard } from '@/components/CCard'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CGridTableRec } from '@/components/CGridTableRec'
|
||||
|
||||
import { colgallery } from '@src/store/Modules/fieldsTable'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'Gallery',
|
||||
components: { CImgText, CCard, CMyPage, CTitleBanner, CGridTableRec },
|
||||
setup() {
|
||||
return {
|
||||
colgallery
|
||||
}
|
||||
}
|
||||
})
|
||||
23
src/rootgen/admin/gallery/gallery.vue
Executable file
23
src/rootgen/admin/gallery/gallery.vue
Executable file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<CMyPage title="Gallerie" imgbackground="../../public/images/calendario_eventi.jpg" sizes="max-height: 120px">
|
||||
|
||||
<div class="q-ma-sm q-gutter-sm">
|
||||
<CTitleBanner title="Gallerie"></CTitleBanner>
|
||||
<CGridTableRec
|
||||
prop_mytable="gallery"
|
||||
prop_mytitle=""
|
||||
:prop_mycolumns="colgallery"
|
||||
prop_colkey="_id"
|
||||
nodataLabel="Nessuna Galleria"
|
||||
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
|
||||
|
||||
</CGridTableRec>
|
||||
</div>
|
||||
</CMyPage>
|
||||
</template>
|
||||
<script lang="ts" src="./gallery.ts">
|
||||
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import 'gallery.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user