This commit is contained in:
2021-04-09 22:13:26 +00:00
parent c8e22294dc
commit a955945f9e
4 changed files with 22 additions and 116 deletions

View File

@@ -96,27 +96,7 @@
/* XXXeslint-disable */
////////////////////////////////////////////////////////////////////////////////////////////////////////////
import GzWoItemScheduledUsers from "../components/work-order-item-scheduled-users.vue";
/*
todo: delete at shell must walk graph backwards where save would be forwards so delete break out into separate methods called first
todo: stop using parent vm directly to control state in graph and instead pass down values via props to children and pass up values to parent via events
https://www.smashingmagazine.com/2020/01/data-components-vue-js/
todo: on init:
//If there is a single woitem then select it otherwise keep it clean and empty by not selecting thus not showing
//edit form as per design
todo: can I turn control labels into hyperlinks for getting to feeder records? If not then need to find a way to accomplish it
e.g. can workorder status title be changed to a hyper link to status list
e.g. can projects title be turned to a hyper link to projects list
ideally not in menu because it would be a lot on a workorder and need space for wo graph subitem links
todo: need an editable control at every level for proper test of partial update
todo: highlight currently selected row, mobile and full
todo: failed saved on a grandchild item shouldn't preclude the rest saving
e.g. if there is a concurrency error on a child that shouldn't block the rest but a fatal error probably should
todo: do we need a dirty indicator at every level??
todo: "delete selected item" text instead of "Delete" for subitems
*/
export default {
components: {
GzWoItemScheduledUsers