This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="templateHasVisibleCustomFields()">
|
<div v-if="templateHasVisibleCustomFields()">
|
||||||
<span class="v-label v-label--active theme--light">
|
<span class="text-caption">
|
||||||
{{ $ay.t("ObjectCustomFieldCustomGrid") }}
|
{{ $ay.t("ObjectCustomFieldCustomGrid") }}
|
||||||
</span>
|
</span>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="v-label v-label--active theme--light">
|
<span class="text-caption">
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</span>
|
</span>
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<h5>WORKORDER STATE</h5>
|
<span class="text-caption">{{ $ay.t("WorkOrderStatus") }}</span>
|
||||||
{{ lastState }}
|
<div>
|
||||||
|
{{ lastState }}
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Display as drop down box so it appears like any other select, however, it also has a button to show history and
|
<!--
|
||||||
when user clicks on it a popup dialog shows the entire history of the state in a datatable or something along those lines -->
|
Display as drop down box set to last status entered, user selects new status and it appends a new record to the wostate collection
|
||||||
|
and shows dirty and as new state.
|
||||||
|
Also a button to show more info which pops up a dialog showing the entire state history in a data table -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -49,7 +53,7 @@ export default {
|
|||||||
if (!this.value.states) {
|
if (!this.value.states) {
|
||||||
return "UNKNOWN";
|
return "UNKNOWN";
|
||||||
} else {
|
} else {
|
||||||
return this.value.states[this.value.states.length-1];
|
return this.value.states[this.value.states.length - 1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -379,7 +379,7 @@
|
|||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
||||||
<span class="v-label v-label--active theme--light">
|
<span class="text-caption">
|
||||||
{{ $ay.t("UserColor") }}
|
{{ $ay.t("UserColor") }}
|
||||||
</span>
|
</span>
|
||||||
<v-color-picker
|
<v-color-picker
|
||||||
|
|||||||
@@ -369,7 +369,7 @@
|
|||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
||||||
<span class="v-label v-label--active theme--light">
|
<span class="text-caption">
|
||||||
{{ $ay.t("UserColor") }}
|
{{ $ay.t("UserColor") }}
|
||||||
</span>
|
</span>
|
||||||
<v-color-picker
|
<v-color-picker
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
xl="3"
|
xl="3"
|
||||||
>
|
>
|
||||||
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
||||||
<span class="v-label v-label--active theme--light">
|
<span class="text-caption">
|
||||||
{{ $ay.t("ReminderColor") }}
|
{{ $ay.t("ReminderColor") }}
|
||||||
</span>
|
</span>
|
||||||
<v-color-picker
|
<v-color-picker
|
||||||
|
|||||||
@@ -164,7 +164,7 @@
|
|||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
<!-- https://vuetifyjs.com/en/components/color-pickers -->
|
||||||
<span class="v-label v-label--active theme--light">
|
<span class="text-caption">
|
||||||
{{ $ay.t("UserColor") }}
|
{{ $ay.t("UserColor") }}
|
||||||
</span>
|
</span>
|
||||||
<v-color-picker
|
<v-color-picker
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
></gz-role-picker>
|
></gz-role-picker>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<span class="v-label v-label--active theme--light">
|
<span class="text-caption">
|
||||||
{{ $ay.t("WorkOrderStatusColor") }}
|
{{ $ay.t("WorkOrderStatusColor") }}
|
||||||
</span>
|
</span>
|
||||||
<v-color-picker
|
<v-color-picker
|
||||||
|
|||||||
@@ -748,6 +748,7 @@ async function fetchTranslatedText(vm) {
|
|||||||
"WorkOrder",
|
"WorkOrder",
|
||||||
"WorkOrderSerialNumber",
|
"WorkOrderSerialNumber",
|
||||||
"WorkOrderSummary",
|
"WorkOrderSummary",
|
||||||
|
"WorkOrderStatus",
|
||||||
"WorkOrderCustom1",
|
"WorkOrderCustom1",
|
||||||
"WorkOrderCustom2",
|
"WorkOrderCustom2",
|
||||||
"WorkOrderCustom3",
|
"WorkOrderCustom3",
|
||||||
|
|||||||
Reference in New Issue
Block a user