- Aggiungere un campo "Vagliato dall'Editore" e aggiungere anche il campo "chi" e delle Note
This commit is contained in:
@@ -213,6 +213,46 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else-if="col.fieldtype === costanti.FieldType.verifica">
|
||||
<div>
|
||||
<div>
|
||||
<q-chip
|
||||
dense
|
||||
class="q-ma-xs q-pa-xs"
|
||||
:color="
|
||||
myvalue.esito === costanti.VALIDATO.SI
|
||||
? 'green'
|
||||
: myvalue.esito === costanti.VALIDATO.TO_RESOLV
|
||||
? 'red'
|
||||
: 'grey-7'
|
||||
"
|
||||
text-color="white"
|
||||
:icon="
|
||||
myvalue.esito === costanti.VALIDATO.NO
|
||||
? 'fas fa-question-circle'
|
||||
: myvalue.esito === costanti.VALIDATO.SI
|
||||
? 'fas fa-check-circle'
|
||||
: 'fas fa-exclamation-circle'
|
||||
"
|
||||
:label="
|
||||
myvalue.esito === costanti.VALIDATO.NO
|
||||
? $t('validazione.NO')
|
||||
: myvalue.esito === costanti.VALIDATO.SI
|
||||
? $t('validazione.SI')
|
||||
: $t('validazione.TO_RESOLV')
|
||||
"
|
||||
></q-chip>
|
||||
</div>
|
||||
<div v-if="myvalue.username">
|
||||
<span>(Utente: {{ myvalue.username }} - in Data: {{ tools.getstrDateTime(myvalue.data) }})</span>
|
||||
</div>
|
||||
|
||||
<div v-if="myvalue.note">
|
||||
<span>Note: {{ myvalue.note }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-else-if="col.fieldtype === costanti.FieldType.string || col.fieldtype === costanti.FieldType.crypted">
|
||||
<div
|
||||
v-if="isInModif"
|
||||
@@ -1118,6 +1158,41 @@
|
||||
>
|
||||
</q-select>
|
||||
</div>
|
||||
<div v-else-if="col.fieldtype === costanti.FieldType.verifica">
|
||||
<div>
|
||||
<q-option-group
|
||||
v-model="scope.value.esito"
|
||||
type="radio"
|
||||
:icon="
|
||||
[costanti.VALIDATO.NO, costanti.VALIDATO.TO_RESOLV].includes(myvalue.esito)
|
||||
? 'fas fa-question-circle'
|
||||
: 'fas fa-check-circle'
|
||||
"
|
||||
:color="
|
||||
myvalue.esito === costanti.VALIDATO.SI
|
||||
? 'green'
|
||||
: myvalue.esito === costanti.VALIDATO.TO_RESOLV
|
||||
? 'red'
|
||||
: 'grey-7'
|
||||
"
|
||||
inline
|
||||
:options="[
|
||||
{ label: '[Non verificato]', value: costanti.VALIDATO.NO },
|
||||
{ label: 'Validato', value: costanti.VALIDATO.SI },
|
||||
{ label: 'Da Risolvere', value: costanti.VALIDATO.TO_RESOLV },
|
||||
]"
|
||||
></q-option-group>
|
||||
Username: {{ scope.value.username }}
|
||||
<q-input
|
||||
v-model="scope.value.note"
|
||||
type="text"
|
||||
icon="fas fa-sticky-note"
|
||||
label="Nota"
|
||||
:autogrow="true"
|
||||
>
|
||||
</q-input>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
v-else-if="col.fieldtype === costanti.FieldType.string || col.fieldtype === costanti.FieldType.crypted"
|
||||
>
|
||||
@@ -1146,9 +1221,9 @@
|
||||
<div v-else-if="col.fieldtype === costanti.FieldType.editor_nohtml">
|
||||
<div
|
||||
class="q-pa-md"
|
||||
style="min-width: 600px;"
|
||||
style="min-width: 600px"
|
||||
>
|
||||
<CMyEditorAI
|
||||
<CMyEditorAI
|
||||
v-model:value="scope.value"
|
||||
:title="col.visulabel ? t(col.label_trans) : visulabel ? addstrrequired + col.label : undefined"
|
||||
@keyup.enter.stop
|
||||
|
||||
Reference in New Issue
Block a user