Circuit table...

This commit is contained in:
paoloar77
2022-08-26 03:32:50 +02:00
parent ed6abf2b07
commit a3c904c2ac
39 changed files with 2012 additions and 77 deletions

View File

@@ -228,6 +228,13 @@
@cmdext="cmdExt"
>
</CMyRecGrpCard>
<CMyRecCircuitCard
v-else-if="tablesel === toolsext.TABCIRCUITS"
:table="tablesel"
:prop_myrec="row"
@cmdext="cmdExt"
>
</CMyRecCircuitCard>
<CMyRecCard
v-else
:table="tablesel"
@@ -595,67 +602,6 @@
<template v-slot:item="props">
<div
v-if="showType === costanti.SHOW_MYCARD || (myvertical !== costanti.VISUTABLE_USER_TABGROUP && myvertical === costanti.VISUTABLE_LISTA && shared_consts.TABLES_VISU_CMYSRECCARD.includes(tablesel)) ">
<div v-if="props.row && shared_consts.TABLES_WITH_DATE.includes(tablesel)">
<div v-if="props.row.dateTimeStart && (tools.getstrVeryShortDate(props.row.dateTimeStart) !== actual)" class="actualdate">
<span style="display: none">{{ actual = tools.getstrVeryShortDate(props.row.dateTimeStart) }}</span>
<q-chip class="text-center shadow-5 glossy bg-orange" icon="fas fa-calendar-day">{{ tools.getstrDateLong(props.row.dateTimeStart) }}</q-chip>
</div>
</div>
<CMyRecGrpCard
v-if="tablesel === toolsext.TABMYGROUPS"
:table="tablesel"
:prop_myrec="props.row"
@cmdext="cmdExt"
>
</CMyRecGrpCard>
<CMyRecCard
v-else
:table="tablesel"
:prop_myrec="props.row"
@cmdext="cmdExt"
>
</CMyRecCard>
</div>
<div
v-else-if="((showType === costanti.SHOW_USERINFO) && myvertical !== costanti.VISUTABLE_SCHEDA_USER) || ((myvertical === 2) && (shared_consts.TABLES_VISU_LISTA_USER.includes(tablesel)))"
class="fill-all-width">
<div>
<CMyUser
:notsetcmd="true"
:mycontact="props.row"
:visu="visufind"
:groupname="extrafield"
:labelextra="col_title ? props.row[col_title] : ''"
:labelFooter="col_footer ? getLabelFooterByRow(props.row) : ''"
>
</CMyUser>
<q-separator></q-separator>
</div>
</div>
<div
v-else-if="((showType === costanti.SHOW_GROUPINFO) && myvertical !== costanti.VISUTABLE_SCHEDA_GROUP) || ((myvertical === 2) && (tablesel === 'mygroups'))"
class="fill-all-width">
<div>
<CMyGroups
v-model="filtergrp"
:finder="false"
:mygrp="props.row"
:visu="costanti.FIND_GROUP"
/>
</div>
</div>
<div
v-else
class="q-pa-xs col-xs-12 col-sm-6 col-md-4 col-lg-3 "
:style="props.selected ? 'transform: scale(0.95);' : ''"
>
@@ -738,6 +684,12 @@
:prop_myrec="myrecdialog">
</CMyCardGrpPopup>
<CMyCardCircuitPopup
v-if="mytable === toolsext.TABCIRCUITS"
:table="mytable"
:prop_myrec="myrecdialog">
</CMyCardCircuitPopup>
<CMyCardPopup
v-else
:table="mytable"