diff --git a/ayanova/src/api/dash-registry.js b/ayanova/src/api/dash-registry.js index 8f874083..6a917b7f 100644 --- a/ayanova/src/api/dash-registry.js +++ b/ayanova/src/api/dash-registry.js @@ -190,8 +190,11 @@ export default { timeSpan: "*thisyear*", interval: "month", wotags: [], + wotagsany: true, woitemtags: [], + woitemtagsany: true, techtags: [], + techtagsany: true, userid: null, color: "#00205B" } @@ -213,8 +216,11 @@ export default { customTitle: null, timeSpan: "*thisyear*", wotags: [], + wotagsany: true, woitemtags: [], + woitemtagsany: true, techtags: [], + techtagsany: true, userid: null, interval: "month", color: "#00205B" diff --git a/ayanova/src/components/dash-labor-hours-everyone-bar.vue b/ayanova/src/components/dash-labor-hours-everyone-bar.vue index db943d62..7f4bdc8f 100644 --- a/ayanova/src/components/dash-labor-hours-everyone-bar.vue +++ b/ayanova/src/components/dash-labor-hours-everyone-bar.vue @@ -37,6 +37,7 @@ + + + + + + + + - + + + + @@ -186,8 +237,11 @@ export default { this.settings.timeSpan = this.localSettings.timeSpan; this.settings.interval = this.localSettings.interval; this.settings.wotags = this.localSettings.wotags; + this.settings.wotagsany = this.localSettings.wotagsany; this.settings.woitemtags = this.localSettings.woitemtags; + this.settings.woitemtagsany = this.localSettings.woitemtagsany; this.settings.techtags = this.localSettings.techtags; + this.settings.techtagsany = this.localSettings.techtagsany; this.settings.userid = this.localSettings.userid; this.$emit("dash-change"); //trigger save to server @@ -204,8 +258,11 @@ export default { timeSpan: this.settings.timeSpan, interval: this.settings.interval, wotags: this.settings.wotags, + wotagsany: this.settings.wotagsany, woitemtags: this.settings.woitemtags, + woitemtagsany: this.settings.woitemtagsany, techtags: this.settings.techtags, + techtagsany: this.settings.techtagsany, userid: this.settings.userid }, clientTimeStamp: window.$gz.locale.clientLocalZoneTimeStamp() @@ -292,7 +349,10 @@ async function fetchTranslatedText() { "Interval", "WorkOrder", "WorkOrderItem", - "WorkOrderItemLaborUserID" + "WorkOrderItemLaborUserID", + "User", + "GridFilterDialogAndRadioText", + "GridFilterDialogOrRadioText" ]); } diff --git a/ayanova/src/components/dash-labor-hours-everyone-line.vue b/ayanova/src/components/dash-labor-hours-everyone-line.vue index f8f3f6fe..a2cf45ce 100644 --- a/ayanova/src/components/dash-labor-hours-everyone-line.vue +++ b/ayanova/src/components/dash-labor-hours-everyone-line.vue @@ -37,6 +37,7 @@ + + + + + + + + - + + + + @@ -184,13 +235,15 @@ export default { this.context = true; }, updateSettings: function() { - //copy settings from local to this.settings.customTitle = this.localSettings.customTitle; this.settings.timeSpan = this.localSettings.timeSpan; this.settings.interval = this.localSettings.interval; this.settings.wotags = this.localSettings.wotags; + this.settings.wotagsany = this.localSettings.wotagsany; this.settings.woitemtags = this.localSettings.woitemtags; + this.settings.woitemtagsany = this.localSettings.woitemtagsany; this.settings.techtags = this.localSettings.techtags; + this.settings.techtagsany = this.localSettings.techtagsany; this.settings.userid = this.localSettings.userid; this.$emit("dash-change"); @@ -207,8 +260,11 @@ export default { timeSpan: this.settings.timeSpan, interval: this.settings.interval, wotags: this.settings.wotags, + wotagsany: this.settings.wotagsany, woitemtags: this.settings.woitemtags, + woitemtagsany: this.settings.woitemtagsany, techtags: this.settings.techtags, + techtagsany: this.settings.techtagsany, userid: this.settings.userid }, clientTimeStamp: window.$gz.locale.clientLocalZoneTimeStamp() @@ -295,7 +351,10 @@ async function fetchTranslatedText() { "Interval", "WorkOrder", "WorkOrderItem", - "WorkOrderItemLaborUserID" + "WorkOrderItemLaborUserID", + "User", + "GridFilterDialogAndRadioText", + "GridFilterDialogOrRadioText" ]); }