This commit is contained in:
2021-11-18 19:10:38 +00:00
parent e39c6dd868
commit 8e245b415d
4 changed files with 69 additions and 75 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<!-- <gz-report-selector ref="reportSelector"></gz-report-selector> -->
<div v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<gz-alert
@@ -149,77 +149,9 @@
append-icon=""
></v-select>
</v-col>
<!-- TODO: INSERT GLOBAL HTML formatted INFO HERE FROM GLOBAL SETTINGS IF
NON-EMPTY -->
<!-- <v-col
v-if="form().showMe(this, 'CustomerServiceRequestRequestedBy')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-pick-list
:aya-type="ayaTypes().User"
:variant="'outside'"
show-edit-icon
v-model="obj.requestedByUserId"
:readonly="formState.readOnly"
:label="$ay.t('CustomerServiceRequestRequestedBy')"
ref="requestedByUserId"
data-cy="requestedByUserId"
:error-messages="form().serverErrors(this, 'requestedByUserId')"
@input="fieldValueChanged('requestedByUserId')"
></gz-pick-list>
</v-col> -->
<!-- --------------------------------- -->
<!-- <v-col v-if="form().showMe(this, 'Tags')" cols="12">
<gz-tag-picker
v-model="obj.tags"
:readonly="formState.readOnly"
ref="tags"
data-cy="tags"
:error-messages="form().serverErrors(this, 'tags')"
@input="fieldValueChanged('tags')"
></gz-tag-picker>
</v-col>
<v-col cols="12">
<gz-custom-fields
v-model="obj.customFields"
:form-key="formCustomTemplateKey"
:readonly="formState.readOnly"
:parent-v-m="this"
ref="customFields"
data-cy="customFields"
:error-messages="form().serverErrors(this, 'customFields')"
@input="fieldValueChanged('customFields')"
></gz-custom-fields>
</v-col>
<v-col v-if="form().showMe(this, 'Wiki')" cols="12">
<gz-wiki
:aya-type="ayaType"
:aya-id="obj.id"
ref="wiki"
v-model="obj.wiki"
:readonly="formState.readOnly"
@input="fieldValueChanged('wiki')"
></gz-wiki
></v-col>
<v-col v-if="form().showMe(this, 'Attachments') && obj.id" cols="12">
<gz-attachments
:readonly="formState.readOnly"
:aya-type="ayaType"
:aya-id="obj.id"
></gz-attachments
></v-col> -->
</v-row>
</v-form>
<v-row justify="center">
<!-- <v-row justify="center">
<v-dialog v-model="woSelectorDialog" persistent max-width="300px">
<v-card>
<v-card-title>
@@ -228,7 +160,7 @@
}}</span>
</v-card-title>
<v-card-text>
<!-- //MIGRATE_OUTSTANDING awaiting workorder pick list, also this should be json variant data -->
<gz-pick-list
:aya-type="ayaTypes().WorkOrder"
:variant="'customerid:' + obj.customerId"
@@ -251,7 +183,7 @@
</v-card-actions>
</v-card>
</v-dialog>
</v-row>
</v-row> -->
</div>
<v-overlay :value="!formState.ready || formState.loading">
<v-progress-circular indeterminate :size="64" />