sito Terra Della Visione...3
Pagina Operatori
This commit is contained in:
0
src/rootgen/operators/operators.scss
Executable file
0
src/rootgen/operators/operators.scss
Executable file
22
src/rootgen/operators/operators.ts
Executable file
22
src/rootgen/operators/operators.ts
Executable file
@@ -0,0 +1,22 @@
|
||||
import { defineComponent, ref, onMounted } from 'vue'
|
||||
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { COperators } from '@/components/COperators'
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
|
||||
import MixinOperator from '../../mixins/mixin-operator'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'PageOperators',
|
||||
components: { CMyPage, CTitleBanner, COperators },
|
||||
setup() {
|
||||
|
||||
const { getOperatorsInHome } = MixinOperator()
|
||||
|
||||
return {
|
||||
fieldsTable,
|
||||
getOperatorsInHome,
|
||||
}
|
||||
}
|
||||
})
|
||||
20
src/rootgen/operators/operators.vue
Executable file
20
src/rootgen/operators/operators.vue
Executable file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<CMyPage title="Operatori" imgbackground="images/calendario_eventi.jpg" sizes="max-height: 120px">
|
||||
<div class="q-ma-xs q-gutter-xs q-pa-xs">
|
||||
<q-card-section class="row justify-center">
|
||||
<div
|
||||
v-for="(myop, index) in getOperatorsInHome()" :key="index">
|
||||
|
||||
<COperators :myop="myop" />
|
||||
</div>
|
||||
</q-card-section>
|
||||
|
||||
</div>
|
||||
</CMyPage>
|
||||
</template>
|
||||
<script lang="ts" src="./operators.ts">
|
||||
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import 'operators.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user