This commit is contained in:
2021-09-21 15:35:29 +00:00
parent f1d70d717d
commit c2cef9d418

View File

@@ -190,28 +190,42 @@
</div> </div>
<div> <div>
<span class="text-h6">{{ $ay.t("ReviewDate") }}:</span> <span class="text-h6">{{ $ay.t("ReviewDate") }}:</span>
<span class="text-body-1 ml-2" <span class="text-body-1 ml-2">{{
>{{ $ay.dt(evInfo.ReviewDate) }}</span $ay.dt(evInfo.reviewDate)
> }}</span>
</div> </div>
<div> <div>
<span class="text-h6">{{ $ay.t("ReviewNotes") }}:</span> <span class="text-h6">{{ $ay.t("ReviewNotes") }}:</span>
<span class="text-body-1 ml-2"> {{ evInfo.notes }}</span> <span class="text-body-1 ml-2"> {{ evInfo.notes }}</span>
</div> </div>
<template v-if="" <div class="mb-6" v-if="evInfo.aType">
> <v-icon
<div> large
<span class="text-h6">{{ $ay.t("ReviewDate") }}:</span> @click="openObject(evInfo.aType, evInfo.objectId)"
<span class="text-body-1 ml-2" >{{ $ay.util().iconForType(evInfo.aType) }}</v-icon
>{{ $ay.dt(evInfo.ReviewDate) }}</span ><span
class="text-h5"
@click="openObject(evInfo.aType, evInfo.objectId)"
>
{{ evInfo.reviewObjectViz }}</span
> >
</div> </div>
<div> <template v-if="evInfo.completedDate">
<span class="text-h6">{{ $ay.t("ReviewNotes") }}:</span> <div>
<span class="text-body-1 ml-2"> {{ evInfo.notes }}</span> <span class="text-h6"
</div> >{{ $ay.t("ReviewCompletedDate") }}:</span
</template> >
<span class="text-body-1 ml-2">{{
$ay.dt(evInfo.reviewCompletedDate)
}}</span>
</div>
<div>
<span class="text-h6">{{ $ay.t("ReviewNotes") }}:</span>
<span class="text-body-1 ml-2">
{{ evInfo.reviewNotes }}</span
>
</div>
</template>
</template> </template>
<!--woitemscheduleduser --> <!--woitemscheduleduser -->
<template <template
@@ -448,6 +462,12 @@ export default {
}; };
}, },
methods: { methods: {
openObject: function(type, id) {
window.$gz.eventBus.$emit("openobject", {
type: type,
id: id
});
},
newItem(atype) { newItem(atype) {
let newEvent = this.events[this.events.length - 1]; let newEvent = this.events[this.events.length - 1];
const addStart = window.$gz.locale.localScheduleFormatToUTC8601String( const addStart = window.$gz.locale.localScheduleFormatToUTC8601String(