This commit is contained in:
2021-09-16 23:52:41 +00:00
parent b6a9e12144
commit f3338f9e08
2 changed files with 38 additions and 15 deletions

View File

@@ -70,7 +70,9 @@
<v-divider class="mt-6"></v-divider> <v-divider class="mt-6"></v-divider>
<v-subheader>{{ $ay.t("HelpLicense") }}</v-subheader> <v-subheader>{{ $ay.t("HelpLicense") }}</v-subheader>
<div> <div>
<span class="ml-6 text-body-1">{{ $ay.t("RegisteredUser") }}: </span> <span class="ml-6 text-body-1"
>{{ $ay.t("RegisteredUser") }}:
</span>
<span class="text-body-2">{{ <span class="text-body-2">{{
serverInfo.license.license.licensedTo serverInfo.license.license.licensedTo
}}</span> }}</span>
@@ -88,13 +90,17 @@
}}</span> }}</span>
</div> </div>
<div> <div>
<span class="ml-6 text-body-1">{{ $ay.t("LicenseExpiration") }}: </span> <span class="ml-6 text-body-1"
>{{ $ay.t("LicenseExpiration") }}:
</span>
<span class="text-body-2">{{ <span class="text-body-2">{{
serverInfo.license.license.licenseExpiration serverInfo.license.license.licenseExpiration
}}</span> }}</span>
</div> </div>
<div> <div>
<span class="ml-6 text-body-1">{{ $ay.t("SupportedUntil") }}: </span> <span class="ml-6 text-body-1"
>{{ $ay.t("SupportedUntil") }}:
</span>
<span class="text-body-2">{{ <span class="text-body-2">{{
serverInfo.license.license.maintenanceExpiration serverInfo.license.license.maintenanceExpiration
}}</span> }}</span>

View File

@@ -122,21 +122,36 @@
wotags = w.Tags, wotags = w.Tags,
woitemtags = w.Items[0].Tags --> woitemtags = w.Items[0].Tags -->
<div> <div>
<span class="text-h6">{{ $ay.t("WorkOrder") }}: </span> <span class="text-h6">{{ $ay.t("WorkOrder") }}:</span>
<span class="text-body-1" <span class="text-body-1 ml-2"
>{{ evInfo.serial }}&nbsp; {{ evInfo.customerViz }}</span >{{ evInfo.serial }}&nbsp; {{ evInfo.customerViz }}</span
> >
</div> </div>
<div> <div>
<span class="text-h6">{{ $ay.t("DashboardScheduled") }}: </span> <span class="text-h6">{{ $ay.t("DashboardScheduled") }}:</span>
<span class="text-body-1" <span class="text-body-1"
>{{ $ay.dt(evInfo.startDate) }}&nbsp;&mdash;&nbsp;{{ >{{ $ay.dt(evInfo.startDate) }}&nbsp;&mdash;&nbsp;{{
$ay.dt(evInfo.stopDate) $ay.dt(evInfo.stopDate)
}}</span }}</span
> >
</div> </div>
<div>
<span class="text-h6"
>{{
$ay.t("WorkOrderItemScheduledUserEstimatedQuantity")
}}:</span
>
<span class="text-body-1">{{ evInfo.qty }}</span>
</div>
<div>
<span class="text-h6"
>{{ $ay.t("WorkOrderItemScheduledUserServiceRateID") }}:</span
>
<span class="text-body-1">{{ evInfo.rate }}</span>
</div>
<div v-if="evInfo.haswostatus"> <div v-if="evInfo.haswostatus">
<span class="text-h6">{{ $ay.t("WorkOrderStatus") }}: </span> <span class="text-h6">{{ $ay.t("WorkOrderStatus") }}:</span>
<span class="text-body-1">{{ evInfo.wostatus }}</span> <span class="text-body-1">{{ evInfo.wostatus }}</span>
<v-icon :color="evInfo.wostatuscolor" class="ml-4" <v-icon :color="evInfo.wostatuscolor" class="ml-4"
>$ayiFlag</v-icon >$ayiFlag</v-icon
@@ -157,8 +172,8 @@
<div> <div>
<span class="text-h6" <span class="text-h6"
>{{ $ay.t("WorkOrderItemSummary") }}: >{{ $ay.t("WorkOrderItemSummary") }}:</span
</span> >
<span class="text-body-1"> <span class="text-body-1">
<v-icon class="mr-3" :color="evInfo.woitemstatuscolor" <v-icon class="mr-3" :color="evInfo.woitemstatuscolor"
>$ayiCircle</v-icon >$ayiCircle</v-icon
@@ -168,15 +183,15 @@
<div> <div>
<span class="text-h6" <span class="text-h6"
>{{ $ay.t("WorkOrderItemPriorityID") }}: >{{ $ay.t("WorkOrderItemPriorityID") }}:</span
</span> >
<span class="text-body-1"> <span class="text-body-1">
<v-icon class="mr-3" :color="evInfo.woitemprioritycolor" <v-icon class="mr-3" :color="evInfo.woitemprioritycolor"
>$ayiFireAlt</v-icon >$ayiFireAlt</v-icon
>{{ evInfo.woitempriority }}</span >{{ evInfo.woitempriority }}</span
> >
</div> </div>
TODO: TAGS
{{ selectedEvent }} {{ selectedEvent }}
{{ evInfo }} {{ evInfo }}
</div> </div>
@@ -318,7 +333,7 @@ export default {
selectedElement: null, selectedElement: null,
selectedOpen: false, selectedOpen: false,
events: [], events: [],
evInfo: null, evInfo: {},
formState: { formState: {
ready: false, ready: false,
dirty: false, dirty: false,
@@ -400,7 +415,7 @@ export default {
async showevInfo({ nativeEvent, event }) { async showevInfo({ nativeEvent, event }) {
//console.log("showevInfo:event ", JSON.stringify(event)); //console.log("showevInfo:event ", JSON.stringify(event));
let route = null; let route = null;
this.evInfo = null; this.evInfo = {};
switch (event.type) { switch (event.type) {
case window.$gz.type.WorkOrderItemScheduledUser: case window.$gz.type.WorkOrderItemScheduledUser:
@@ -669,7 +684,9 @@ async function fetchTranslatedText(vm) {
"DashboardScheduled", "DashboardScheduled",
"WorkOrderItemPriorityID", "WorkOrderItemPriorityID",
"WorkOrderItemSummary", "WorkOrderItemSummary",
"WorkOrderStatus" "WorkOrderStatus",
"WorkOrderItemScheduledUserEstimatedQuantity",
"WorkOrderItemScheduledUserServiceRateID"
]); ]);
} }
</script> </script>