This commit is contained in:
2020-12-15 15:07:33 +00:00
parent 3e3686657f
commit 3f51d04e95
2 changed files with 34 additions and 36 deletions

View File

@@ -30,40 +30,43 @@
>{{ obj.notes }}
</p>
</v-col>
<!-- <v-col cols="12">
<v-textarea v-model="obj.notes" readonly auto-grow></v-textarea>
</v-col> -->
<v-col v-if="form().showMe(this, 'Tags')" cols="12">
<gz-tag-picker v-model="obj.tags" readonly></gz-tag-picker>
</v-col>
<v-col cols="12">
<gz-custom-fields
v-model="obj.customFields"
:formKey="formCustomTemplateKey"
readonly
:parentVM="this"
></gz-custom-fields>
</v-col>
<v-col v-if="form().showMe(this, 'Wiki')" cols="12">
<gz-wiki
:ayaType="ayaType"
:ayaId="obj.id"
v-model="obj.wiki"
readonly
></gz-wiki
></v-col>
<v-col
v-if="form().showMe(this, 'Attachments') && obj.id"
cols="12"
>
<gz-attachments
readonly
:ayaType="ayaType"
:ayaId="obj.id"
></gz-attachments
></v-col>
</v-row>
</template>
<template v-else>
<v-row>
<!-- <v-col cols="12">
<gz-pick-list
:ayaType="ayaTypes().User"
v-model="selectedUser"
:allowNoSelection="false"
:canClear="false"
:label="$ay.t('User')"
ref="userid"
data-cy="userid"
@input="userSelected"
></gz-pick-list>
<v-select
:items="selectedUsers"
v-model="selectCombo"
item-text="name"
item-value="id"
multiple
chips
deletable-chips
:label="$ay.t('MemoToID')"
data-cy="selectedUsersInput"
></v-select>
</v-col>
@input="checkSave()"
-->
<v-col cols="12">
<gz-pick-list
:allowNoSelection="false"