Aggiunto filtro numMaxPeopleHosp

This commit is contained in:
Paolo Arena
2022-05-08 13:19:35 +02:00
parent 245217607d
commit 4beee58a42
29 changed files with 294 additions and 103 deletions

View File

@@ -93,6 +93,7 @@ export default defineComponent({
filtersearch: '',
filtersearch2: '',
filtercustom: '',
filter_gte: '',
sortBy: myobj,
descending,
userId: ''

View File

@@ -0,0 +1 @@
export {default as movsList} from './movsList.vue'

View File

View File

@@ -0,0 +1,35 @@
import { defineComponent, onMounted, ref } from 'vue'
import { CMyPage } from '@/components/CMyPage'
import { CGridTableRec } from '@/components/CGridTableRec'
import { tools } from '@store/Modules/tools'
import { static_data } from '@/db/static_data'
import { fieldsTable } from '@src/store/Modules/fieldsTable'
import { shared_consts } from '@/common/shared_vuejs'
export default defineComponent({
name: 'movsList',
// @ts-ignore
components: { CGridTableRec, CMyPage },
setup() {
const arrfilterand: any = ref([])
function mounted() {
if (tools.appid() === tools.IDAPP_RISO) {
arrfilterand.value = [
]
}
}
onMounted(mounted)
return {
arrfilterand,
fieldsTable,
}
}
})

View File

@@ -0,0 +1,22 @@
<template>
<CMyPage img="" :title="$t('otherpages.admin.movsList')" keywords="" description="Lista Movimenti">
<CGridTableRec
prop_mytable="movements"
prop_mytitle="Lista Movimenti"
:prop_mycolumns="fieldsTable.movslist()"
prop_colkey="_id"
nodataLabel="Nessun Movimento"
noresultLabel="Il filtro selezionato non ha trovato nessun risultato"
:arrfilters="arrfilterand">
</CGridTableRec>
</CMyPage>
</template>
<script lang="ts" src="./movsList.ts">
</script>
<style lang="scss" scoped>
@import './movsList.scss';
</style>

View File

@@ -56,7 +56,7 @@ export default defineComponent({
const emailtextheader = ref('')
const eseguipolling = ref(false)
const idparam = computed( () => $route.params.idparam.toString())
const idparam = computed( () => $route.params.idparam ? $route.params.idparam.toString() : '')
async function mounted() {