This commit is contained in:
2021-04-05 19:20:20 +00:00
parent 02e6398637
commit c39da0789d
3 changed files with 35 additions and 4 deletions

View File

@@ -4,7 +4,8 @@
<div>
<template v-if="canAdd">
<h5>editable state here</h5>
{{ lastState }}
<h6>{{ lastState }}</h6>
{{ pvm.selectLists.wostatus }}
</template>
<template v-else>
<h5>read only state here</h5>
@@ -15,7 +16,15 @@
<!--
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 -->
Also a button to show more info which pops up a dialog showing the entire state history in a data table
TODO: POC for now don't worry about rights to unset / set certain states, just hook it up for testing
todo: show completing states with a checkmark icon, show locking states with a lock icon
todo: show states in color as selected (but in some way that is contrasting to avoid invisibility)
todo: show current state separate from selection box, selection box only shows available to user states
todo: it must be clear to user why they can not change if they have too low a role to change, perhaps text under state instead of selector box that says "Only select roles can change this state"
-->
</div>
</template>
<script>