- Aggiunta della funzione Cron
- Flag: Pubblicati OnLine + Solo CagalogoGenerale + Dettagli
This commit is contained in:
0
src/rootgen/admin/lista_cron/lista_cron.scss
Executable file
0
src/rootgen/admin/lista_cron/lista_cron.scss
Executable file
42
src/rootgen/admin/lista_cron/lista_cron.ts
Executable file
42
src/rootgen/admin/lista_cron/lista_cron.ts
Executable file
@@ -0,0 +1,42 @@
|
||||
import { defineComponent, ref, onMounted, computed, watch } from 'vue'
|
||||
|
||||
import { CImgText } from '../../../components/CImgText/index'
|
||||
import { CCard } from '@src/components/CCard'
|
||||
import { CMyPage } from '@src/components/CMyPage'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CGridTableRec } from '@src/components/CGridTableRec'
|
||||
|
||||
import { colcrons } from '@src/store/Modules/fieldsTable'
|
||||
import MixinMetaTags from '@src/mixins/mixin-metatags'
|
||||
import { tools } from '@tools'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { IMyPage } from 'model'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
|
||||
import objectId from '@src/js/objectId'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ListaCron',
|
||||
setup() {
|
||||
|
||||
const { setmeta } = MixinMetaTags()
|
||||
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
const lista_cron = ref([] as any[])
|
||||
|
||||
function mounted() {
|
||||
|
||||
// lista_cron.value = globalStore.lista_cron
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
return {
|
||||
colcrons,
|
||||
setmeta,
|
||||
lista_cron,
|
||||
}
|
||||
},
|
||||
components: { CImgText, CCard, CMyPage, CTitleBanner, CGridTableRec }
|
||||
})
|
||||
27
src/rootgen/admin/lista_cron/lista_cron.vue
Executable file
27
src/rootgen/admin/lista_cron/lista_cron.vue
Executable file
@@ -0,0 +1,27 @@
|
||||
ù<template>
|
||||
<CMyPage title="Lista Cron" imgbackground="/images/calendario_eventi.jpg" sizes="max-height: 120px">
|
||||
<span>{{
|
||||
setmeta({
|
||||
title: 'Lista Cron',
|
||||
description: '',
|
||||
keywords: '',
|
||||
})
|
||||
}}
|
||||
</span>
|
||||
|
||||
<div class="q-ma-sm q-gutter-sm q-pa-xs">
|
||||
<CTitleBanner title="Lista Cron"></CTitleBanner>
|
||||
<CGridTableRec prop_mytable="crons" prop_mytitle="Lista Cron" :prop_mycolumns="colcrons"
|
||||
:filtercustom="filtercustom" prop_colkey="title" nodataLabel="Nessun cron"
|
||||
noresultLabel="Il filtro selezionato non ha trovato nessun risultato">
|
||||
|
||||
</CGridTableRec>
|
||||
</div>
|
||||
</CMyPage>
|
||||
</template>
|
||||
<script lang="ts" src="./lista_cron.ts">
|
||||
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import 'lista_cron.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user