This commit is contained in:
2021-11-12 21:00:58 +00:00
parent 712419a04c
commit 0ec3783bac

View File

@@ -231,19 +231,7 @@
@input="fieldValueChanged('customerAllowCSRInTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowCSROutTags"
:readonly="formState.readOnly"
:label="$ay.t('NotTaggedWith')"
ref="customerAllowCSROutTags"
data-cy="customerAllowCSROutTags"
:error-messages="
form().serverErrors(this, 'customerAllowCSROutTags')
"
@input="fieldValueChanged('customerAllowCSROutTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12">
<v-textarea
v-model="obj.customerServiceRequestInfoText"
@@ -288,19 +276,7 @@
@input="fieldValueChanged('customerAllowViewWOInTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowViewWOOutTags"
:readonly="formState.readOnly"
:label="$ay.t('NotTaggedWith')"
ref="customerAllowViewWOOutTags"
data-cy="customerAllowViewWOOutTags"
:error-messages="
form().serverErrors(this, 'customerAllowViewWOOutTags')
"
@input="fieldValueChanged('customerAllowViewWOOutTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12">
<gz-pick-list
:aya-type="ayaTypes().Report"
@@ -348,19 +324,6 @@
@input="fieldValueChanged('customerAllowWOWikiInTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowWOWikiOutTags"
:readonly="formState.readOnly"
:label="$ay.t('NotTaggedWith')"
ref="customerAllowWOWikiOutTags"
data-cy="customerAllowWOWikiOutTags"
:error-messages="
form().serverErrors(this, 'customerAllowWOWikiOutTags')
"
@input="fieldValueChanged('customerAllowWOWikiOutTags')"
></gz-tag-picker>
</v-col>
<!-- ######################################################## -->
<v-col cols="12">
@@ -394,19 +357,6 @@
@input="fieldValueChanged('customerAllowUserSettingsInTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowUserSettingsOutTags"
:readonly="formState.readOnly"
:label="$ay.t('NotTaggedWith')"
ref="customerAllowUserSettingsOutTags"
data-cy="customerAllowUserSettingsOutTags"
:error-messages="
form().serverErrors(this, 'customerAllowUserSettingsOutTags')
"
@input="fieldValueChanged('customerAllowUserSettingsOutTags')"
></gz-tag-picker>
</v-col>
<!-- ######################################################## -->
<v-col cols="12">
@@ -448,24 +398,6 @@
"
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowNotifyServiceImminentOutTags"
:readonly="formState.readOnly"
:label="$ay.t('NotTaggedWith')"
ref="customerAllowNotifyServiceImminentOutTags"
data-cy="customerAllowNotifyServiceImminentOutTags"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyServiceImminentOutTags'
)
"
@input="
fieldValueChanged('customerAllowNotifyServiceImminentOutTags')
"
></gz-tag-picker>
</v-col>
<!-- ######################################################## -->
<v-col cols="12">
@@ -502,24 +434,6 @@
@input="fieldValueChanged('customerAllowNotifyCSRAcceptedInTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowNotifyCSRAcceptedOutTags"
:readonly="formState.readOnly"
:label="$ay.t('NotTaggedWith')"
ref="customerAllowNotifyCSRAcceptedOutTags"
data-cy="customerAllowNotifyCSRAcceptedOutTags"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyCSRAcceptedOutTags'
)
"
@input="
fieldValueChanged('customerAllowNotifyCSRAcceptedOutTags')
"
></gz-tag-picker>
</v-col>
<!-- ######################################################## -->
<v-col cols="12">
@@ -556,24 +470,6 @@
@input="fieldValueChanged('customerAllowNotifyCSRRejectedInTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowNotifyCSRRejectedOutTags"
:readonly="formState.readOnly"
:label="$ay.t('NotTaggedWith')"
ref="customerAllowNotifyCSRRejectedOutTags"
data-cy="customerAllowNotifyCSRRejectedOutTags"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyCSRRejectedOutTags'
)
"
@input="
fieldValueChanged('customerAllowNotifyCSRRejectedOutTags')
"
></gz-tag-picker>
</v-col>
<!-- ######################################################## -->
<v-col cols="12">
@@ -607,19 +503,6 @@
@input="fieldValueChanged('customerAllowNotifyWOCreatedInTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowNotifyWOCreatedOutTags"
:readonly="formState.readOnly"
:label="$ay.t('NotTaggedWith')"
ref="customerAllowNotifyWOCreatedOutTags"
data-cy="customerAllowNotifyWOCreatedOutTags"
:error-messages="
form().serverErrors(this, 'customerAllowNotifyWOCreatedOutTags')
"
@input="fieldValueChanged('customerAllowNotifyWOCreatedOutTags')"
></gz-tag-picker>
</v-col>
<!-- ######################################################## -->
<v-col cols="12">
@@ -656,24 +539,6 @@
@input="fieldValueChanged('customerAllowNotifyWOCompletedInTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowNotifyWOCompletedOutTags"
:readonly="formState.readOnly"
:label="$ay.t('NotTaggedWith')"
ref="customerAllowNotifyWOCompletedOutTags"
data-cy="customerAllowNotifyWOCompletedOutTags"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyWOCompletedOutTags'
)
"
@input="
fieldValueChanged('customerAllowNotifyWOCompletedOutTags')
"
></gz-tag-picker>
</v-col>
<!-- **************************************************** -->
</v-row>
@@ -754,31 +619,22 @@ export default {
signatureFooter: null,
customerAllowCSR: false,
customerAllowCSRInTags: [],
customerAllowCSROutTags: [],
customerAllowViewWO: false,
customerAllowViewWOInTags: [],
customerAllowViewWOOutTags: [],
customerAllowWOWiki: false,
customerAllowWOWikiInTags: [],
customerAllowWOWikiOutTags: [],
customerAllowUserSettings: false,
customerAllowUserSettingsInTags: [],
customerAllowUserSettingsOutTags: [],
customerAllowNotifyServiceImminent: false,
customerAllowNotifyServiceImminentInTags: [],
customerAllowNotifyServiceImminentOutTags: [],
customerAllowNotifyCSRAccepted: false,
customerAllowNotifyCSRAcceptedInTags: [],
customerAllowNotifyCSRAcceptedOutTags: [],
customerAllowNotifyCSRRejected: false,
customerAllowNotifyCSRRejectedInTags: [],
customerAllowNotifyCSRRejectedOutTags: [],
customerAllowNotifyWOCreated: false,
customerAllowNotifyWOCreatedInTags: [],
customerAllowNotifyWOCreatedOutTags: [],
customerAllowNotifyWOCompleted: false,
customerAllowNotifyWOCompletedInTags: [],
customerAllowNotifyWOCompletedOutTags: []
customerAllowNotifyWOCompletedInTags: []
},
formState: {
ready: false,
@@ -971,7 +827,6 @@ async function initForm(vm) {
async function fetchTranslatedText(vm) {
await window.$gz.translation.cacheTranslations([
"TaggedWith",
"NotTaggedWith",
"CustomerServiceRequestList",
"WorkOrderList",
"UserSettings",