This commit is contained in:
2020-07-21 22:01:54 +00:00
parent 973788e63b
commit a0a38c9c9f
2 changed files with 16 additions and 87 deletions

View File

@@ -118,16 +118,16 @@
type chosen
</v-col>
<v-col v-if="showInTags" cols="12">
<v-col v-if="showTags" cols="12">
<gz-tag-picker
v-model="obj.inTags"
:label="$ay.t('InTags')"
v-model="obj.tags"
:label="$ay.t('tags')"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
ref="inTags"
:data-cy="!!$ay.dev ? 'inTags' : false"
:error-messages="form().serverErrors(this, 'inTags')"
@input="fieldValueChanged('inTags')"
ref="tags"
:data-cy="!!$ay.dev ? 'tags' : false"
:error-messages="form().serverErrors(this, 'tags')"
@input="fieldValueChanged('tags')"
></gz-tag-picker>
</v-col>
</v-row>
@@ -227,7 +227,7 @@ export default {
public NotifyDeliveryMethod DeliveryMethod { get; set; }
public string DeliveryAddress { get; set; }
public long? AttachReportId { get; set; }
public List<string> InTags { get; set; }*/
public List<string> tags { get; set; }*/
obj: {
id: 0,
concurrency: 0,
@@ -240,7 +240,7 @@ export default {
deliveryMethod: 0,
deliveryAddress: null,
attachReportId: 0,
inTags: []
tags: []
},
formState: {
@@ -347,7 +347,7 @@ export default {
showAttachReportId() {
return true;
},
showInTags() {
showTags() {
return true;
}
},
@@ -707,36 +707,7 @@ async function fetchTranslatedText(vm) {
"NotifyDeliveryMethod",
"NotifyEventType",
"NotifyDeliveryAddress",
"InTags",
"NotifyEventObjectDeleted",
"NotifyEventObjectCreated",
"NotifyEventObjectModified",
"NotifyEventWorkorderStatusChange",
"NotifyEventContractExpiring",
"NotifyEventCSRAccepted",
"NotifyEventCSRRejected",
"NotifyEventWorkorderClosed",
"NotifyEventQuoteStatusChange",
"NotifyEventWorkorderFollowUp",
"NotifyEventServiceBankDepleted",
"NotifyEventReminderImminent",
"NotifyEventScheduledOnWorkorder",
"NotifyEventScheduledOnWorkorderImminent",
"NotifyEventWorkorderCloseByPassed",
"NotifyEventOutsideServiceOverdue",
"NotifyEventOutsideServiceReceived",
"NotifyEventPartRequestReceived",
"NotifyEventNotifyHealthCheck",
"NotifyEventBackupStatus",
"NotifyEventCustomerServiceImminent",
"NotifyEventPartRequested",
"NotifyEventWorkorderTotalExceedsThreshold",
"NotifyEventWorkorderStatusAge",
"NotifyEventUnitWarrantyExpiry",
"NotifyEventUnitMeterReadingMultipleExceeded",
"NotifyEventDefaultNotification",
"NotifyDeliveryMethodApp",
"NotifyDeliveryMethodSMTP",
"tags",
"Duration"
]);
}