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