- Aggiunta della funzione Cron

- Flag: Pubblicati OnLine + Solo CagalogoGenerale + Dettagli
This commit is contained in:
Surya Paolo
2025-05-07 21:58:05 +02:00
parent 2cc8fcda03
commit 6eb6f236e4
20 changed files with 235 additions and 29 deletions

View File

View 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 }
})

View 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>