This commit is contained in:
@@ -76,9 +76,11 @@ export default {
|
|||||||
singleOnly: false,
|
singleOnly: false,
|
||||||
settings: {
|
settings: {
|
||||||
customTitle: null,
|
customTitle: null,
|
||||||
|
wostatus: null,
|
||||||
wotags: [],
|
wotags: [],
|
||||||
|
wotagsany: true,
|
||||||
woitemtags: [],
|
woitemtags: [],
|
||||||
wostatus: null
|
woitemtagsany: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -87,16 +87,48 @@
|
|||||||
|
|
||||||
<gz-tag-picker
|
<gz-tag-picker
|
||||||
v-model="localSettings.wotags"
|
v-model="localSettings.wotags"
|
||||||
|
class="mt-4"
|
||||||
:label="$ay.t('Tags') + ' - ' + $ay.t('WorkOrder')"
|
:label="$ay.t('Tags') + ' - ' + $ay.t('WorkOrder')"
|
||||||
></gz-tag-picker>
|
></gz-tag-picker>
|
||||||
|
<v-radio-group
|
||||||
|
v-if="localSettings.wotags.length > 1"
|
||||||
|
v-model="localSettings.wotagsany"
|
||||||
|
row
|
||||||
|
class="mt-n3"
|
||||||
|
>
|
||||||
|
<v-radio
|
||||||
|
:label="$ay.t('GridFilterDialogAndRadioText')"
|
||||||
|
:value="false"
|
||||||
|
></v-radio>
|
||||||
|
<v-radio
|
||||||
|
:label="$ay.t('GridFilterDialogOrRadioText')"
|
||||||
|
:value="true"
|
||||||
|
></v-radio>
|
||||||
|
</v-radio-group>
|
||||||
|
|
||||||
<gz-tag-picker
|
<gz-tag-picker
|
||||||
v-model="localSettings.woitemtags"
|
v-model="localSettings.woitemtags"
|
||||||
|
class="mt-4"
|
||||||
:label="$ay.t('Tags') + ' - ' + $ay.t('WorkOrderItem')"
|
:label="$ay.t('Tags') + ' - ' + $ay.t('WorkOrderItem')"
|
||||||
></gz-tag-picker>
|
></gz-tag-picker>
|
||||||
|
<v-radio-group
|
||||||
|
v-if="localSettings.woitemtags.length > 1"
|
||||||
|
v-model="localSettings.woitemtagsany"
|
||||||
|
row
|
||||||
|
class="mt-n3"
|
||||||
|
>
|
||||||
|
<v-radio
|
||||||
|
:label="$ay.t('GridFilterDialogAndRadioText')"
|
||||||
|
:value="false"
|
||||||
|
></v-radio>
|
||||||
|
<v-radio
|
||||||
|
:label="$ay.t('GridFilterDialogOrRadioText')"
|
||||||
|
:value="true"
|
||||||
|
></v-radio>
|
||||||
|
</v-radio-group>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model="localSettings.customTitle"
|
v-model="localSettings.customTitle"
|
||||||
|
class="mt-4"
|
||||||
:label="$ay.t('Name')"
|
:label="$ay.t('Name')"
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
@@ -160,7 +192,9 @@ export default {
|
|||||||
this.settings.customTitle = this.localSettings.customTitle;
|
this.settings.customTitle = this.localSettings.customTitle;
|
||||||
this.settings.wostatus = this.localSettings.wostatus;
|
this.settings.wostatus = this.localSettings.wostatus;
|
||||||
this.settings.wotags = this.localSettings.wotags;
|
this.settings.wotags = this.localSettings.wotags;
|
||||||
|
this.settings.wotagsany = this.localSettings.wotagsany;
|
||||||
this.settings.woitemtags = this.localSettings.woitemtags;
|
this.settings.woitemtags = this.localSettings.woitemtags;
|
||||||
|
this.settings.woitemtagsany = this.localSettings.woitemtagsany;
|
||||||
|
|
||||||
this.$emit("dash-change"); //trigger save to server
|
this.$emit("dash-change"); //trigger save to server
|
||||||
this.context = false;
|
this.context = false;
|
||||||
@@ -175,7 +209,9 @@ export default {
|
|||||||
criteria: {
|
criteria: {
|
||||||
wostatus: this.settings.wostatus,
|
wostatus: this.settings.wostatus,
|
||||||
wotags: this.settings.wotags,
|
wotags: this.settings.wotags,
|
||||||
woitemtags: this.settings.woitemtags
|
wotagsany: this.settings.wotagsany,
|
||||||
|
woitemtags: this.settings.woitemtags,
|
||||||
|
woitemtagsany: this.settings.woitemtagsany
|
||||||
},
|
},
|
||||||
clientTimeStamp: window.$gz.locale.clientLocalZoneTimeStamp()
|
clientTimeStamp: window.$gz.locale.clientLocalZoneTimeStamp()
|
||||||
});
|
});
|
||||||
@@ -210,7 +246,9 @@ async function fetchTranslatedText() {
|
|||||||
"WorkOrder",
|
"WorkOrder",
|
||||||
"WorkOrderItem",
|
"WorkOrderItem",
|
||||||
"WorkOrderStatus",
|
"WorkOrderStatus",
|
||||||
"NoData"
|
"NoData",
|
||||||
|
"GridFilterDialogAndRadioText",
|
||||||
|
"GridFilterDialogOrRadioText"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user