This commit is contained in:
2022-03-02 17:08:02 +00:00
parent ca381bd6b4
commit e5ce1f8e7b
3 changed files with 6 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
import authorizationroles from "./authorizationroles";
const role = authorizationroles.AUTHORIZATION_ROLES;
/*
WorkOrderOverdueAllList
*/
export default {
registry: [
@@ -15,9 +15,7 @@ export default {
settings: {
customTitle: null,
wotags: [],
woitemtags: [],
techtags: [],
userid: null
woitemtags: []
}
},
{

View File

@@ -49,20 +49,6 @@
</v-card-title>
<v-card-text>
<gz-pick-list
v-model="localSettings.userid"
allow-no-selection
:aya-type="$ay.ayt().User"
variant="tech"
:label="$ay.t('WorkOrderItemLaborUserID')"
></gz-pick-list>
<gz-tag-picker
v-model="localSettings.techtags"
:label="$ay.t('Tags') + ' - ' + $ay.t('User')"
></gz-tag-picker>
<gz-tag-picker
v-model="localSettings.wotags"
:label="$ay.t('Tags') + ' - ' + $ay.t('WorkOrder')"
@@ -143,7 +129,7 @@ export default {
try {
this.errorMessage = null;
const res = await window.$gz.api.post("kpi", {
KPIName: "WorkOrderOverduePersonalList",
KPIName: "WorkOrderOverdueAllList",
criteria: {
wotags: this.settings.wotags,
woitemtags: this.settings.woitemtags

View File

@@ -93,6 +93,7 @@ import GzDashLaborHoursEveryoneBar from "../components/dash-labor-hours-everyone
import GzDashWorkorderUnscheduledOpenList from "../components/dash-workorder-unscheduled-open-list.vue";
import GzDashCSROpenList from "../components/dash-csr-open-list.vue";
import GzDashWorkorderOverduePersonalList from "../components/dash-workorder-overdue-personal-list.vue";
import GzDashWorkorderOverdueAllList from "../components/dash-workorder-overdue-all-list.vue";
export default {
components: {
@@ -105,7 +106,8 @@ export default {
GzDashCSROpenList,
GzDashLaborHoursEveryoneLine,
GzDashLaborHoursEveryoneBar,
GzDashWorkorderOverduePersonalList
GzDashWorkorderOverduePersonalList,
GzDashWorkorderOverdueAllList
},
data() {
return {