This commit is contained in:
2021-06-15 18:50:05 +00:00
parent b3e82fe394
commit cf6f035096

View File

@@ -149,7 +149,7 @@
</v-col>
<v-col cols="12">
<div class="text-h6 primary--text">
<div class="text-subtitle-1">
{{ $ay.t("CustomerServiceRequestList") }}
</div>
</v-col>
@@ -190,6 +190,49 @@
@input="fieldValueChanged('customerAllowCSROutTags')"
></gz-tag-picker>
</v-col>
<v-col cols="12">
<div class="text-subtitle-1">
{{ $ay.t("WorkOrderList") }}
</div>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="obj.customerAllowViewWO"
:readonly="formState.readOnly"
:label="$ay.t('Active')"
ref="customerAllowViewWO"
data-cy="customerAllowViewWO"
:error-messages="form().serverErrors(this, 'customerAllowViewWO')"
@change="fieldValueChanged('customerAllowViewWO')"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowViewWOInTags"
:readonly="formState.readOnly"
:label="$ay.t('TaggedWith')"
ref="customerAllowViewWOInTags"
data-cy="customerAllowViewWOInTags"
:error-messages="
form().serverErrors(this, 'customerAllowViewWOInTags')
"
@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-row>
</v-form>
</div>
@@ -566,6 +609,7 @@ async function fetchTranslatedText(vm) {
"TaggedWith",
"NotTaggedWith",
"CustomerServiceRequestList",
"WorkOrderList",
"UserInterfaceSettings",
"BusinessSettings",
"CustomerAccessSettings",