fix Registrazione data

fix linkref
fix controllo login
fix pagination CGridTableRec
added CstatusReg e Cstatus
This commit is contained in:
Paolo Arena
2020-01-20 01:50:45 +01:00
parent 5153c143dd
commit 7104f7d1e0
33 changed files with 1558 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
import Vue from 'vue'
import { Component, Prop, Watch } from 'vue-property-decorator'
import { GlobalStore, UserStore } from '@store'
import { tools } from '../../store/Modules/tools'
import { toolsext } from '../../store/Modules/toolsext'
import { static_data } from '../../db/static_data'
import { Screen } from 'quasar'
import { colmypage } from '@src/store/Modules/fieldsTable'
import { CImgText } from '../../components/CImgText/index'
import { CCard, CGridTableRec, CMyPage, CTitleBanner } from '@components'
import MixinMetaTags from '../../mixins/mixin-metatags'
import MixinBase from '@src/mixins/mixin-base'
import { IMyPage } from '@src/model/GlobalStore'
@Component({
name: 'CMyInnerPage',
mixins: [MixinBase],
components: { CImgText, CCard, CMyPage, CTitleBanner }
})
export default class CMyInnerPage extends MixinMetaTags {
@Prop({ required: true }) public path: string
public heightimg
public imgback
public rec: IMyPage = {}
public mounted() {
// console.log('this.$route.path', this.$route.path)
this.rec = GlobalStore.getters.getPage(this.path)
console.log(this.rec)
}
public meta() {
return tools.metafunc(this)
}
get static_data() {
return static_data
}
}

View File

@@ -0,0 +1,22 @@
<template>
<div>
<div v-if="rec">
<!--<CMyPage :title="rec.title" :imgbackground="`statics/` + rec.imgback" :sizes="`max-height: ` + rec.heightimg + `px`">-->
<div class="q-ma-sm q-gutter-sm q-pa-xs">
<div v-if="rec.content" v-html="rec.content">
</div>
</div>
<!--</CMyPage>-->
</div>
<div v-else>
<slot></slot>
</div>
</div>
</template>
<script lang="ts" src="./CMyInnerPage.ts">
</script>
<style lang="scss" scoped>
@import 'CMyInnerPage.scss';
</style>

View File

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