-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Events tab done, events panel added to workcell panel.
- Loading branch information
1 parent
d3c2bbf
commit 80809ec
Showing
8 changed files
with
93 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,32 @@ | ||
<template> | ||
<vue-json-pretty :data="events[props.event_id]" /> | ||
<div> | ||
<div v-if="event.event_name === 'STEP'"> | ||
<h3 class="title">Step:</h3> | ||
<v-expansion-panels title="Step"> | ||
<v-expansion-panel> | ||
<v-expansion-panel-title> | ||
<h4>{{ event.workflow_name }}</h4> | ||
</v-expansion-panel-title> | ||
<v-expansion-panel-text> | ||
<vue-json-pretty :data="event.step"/> | ||
</v-expansion-panel-text> | ||
</v-expansion-panel> | ||
</v-expansion-panels> | ||
</div> | ||
<h3>Details</h3> | ||
<vue-json-pretty v-if="event" :data="event" :deep="1"></vue-json-pretty> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import VueJsonPretty from 'vue-json-pretty'; | ||
import 'vue-json-pretty/lib/styles.css'; | ||
/// <reference path="../store.d.ts" /> | ||
import { events } from "@/store"; | ||
const props = defineProps(['event_id']) | ||
const props = defineProps(['event']) | ||
</script> | ||
|
||
<style scoped> | ||
.workcell-details { | ||
margin-top: 20px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<template> | ||
<v-card class="pa-1 ma-1" title="Recent Events"> | ||
<v-card-text v-if="evnts"> | ||
<EventTable :maxEntries="5;"/> | ||
</v-card-text> | ||
<v-card-text v-else> | ||
<p>No Events Yet</p> | ||
</v-card-text> | ||
<v-card-actions> | ||
<v-spacer></v-spacer> | ||
<v-btn class="ma-1" @click="$emit('viewEvents')" color="blue">View All Events</v-btn> | ||
</v-card-actions> | ||
</v-card> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
const props = defineProps(['evnts']) | ||
const emits = defineEmits(['viewEvents']) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.