This commit is contained in:
@@ -508,8 +508,7 @@ todo:2 many biz objects are not using new PUT methodology
|
|||||||
|
|
||||||
|
|
||||||
CURRENTLY DOING: PM stuff:
|
CURRENTLY DOING: PM stuff:
|
||||||
|
|
||||||
back end biz job to actually do the generation
|
|
||||||
Clean up notification for PM's and Quotes as they are filled with service wo shit
|
Clean up notification for PM's and Quotes as they are filled with service wo shit
|
||||||
Pore over quote and PM and look for workorder remnants, particularly biz actions and rules
|
Pore over quote and PM and look for workorder remnants, particularly biz actions and rules
|
||||||
Add back end rules as necessary for quotes and PM's
|
Add back end rules as necessary for quotes and PM's
|
||||||
@@ -609,12 +608,14 @@ todo MISC:
|
|||||||
shouldn't it skip this one like the others do??
|
shouldn't it skip this one like the others do??
|
||||||
shouldn't it not prompt if it's a not filled in new wo anyway??
|
shouldn't it not prompt if it's a not filled in new wo anyway??
|
||||||
during Save of workorder it should not be available for entry as it can take some time to process and user could fuck off in the middle of it
|
during Save of workorder it should not be available for entry as it can take some time to process and user could fuck off in the middle of it
|
||||||
|
maybe a "Saving..." toast / popup and overlay to prevent fuckery??
|
||||||
Duplicate to self menu option in pm/wo/quote should prompt for attachments and wiki just like it does for the other types
|
Duplicate to self menu option in pm/wo/quote should prompt for attachments and wiki just like it does for the other types
|
||||||
I know this means another dialog, maybe need a single "Universal" type dialog instead on each of them and just push in the TO object type name
|
I know this means another dialog, maybe need a single "Universal" type dialog instead on each of them and just push in the TO object type name
|
||||||
needed though for consistency and to give the option
|
needed though for consistency and to give the option
|
||||||
Confirm all duped types can save when created, think I saw an error when I saved one of them
|
Confirm all duped types can save when created, think I saw an error when I saved one of them
|
||||||
test dupe from all three for all types and confirm
|
test dupe from all three for all types and confirm
|
||||||
|
PM repeat interval chooser has units in alpha order so days before minutes etc, sb in incremental natural order
|
||||||
|
maybe can sort by ID instead??
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
async created() {
|
async created() {
|
||||||
await window.$gz.enums.fetchEnumList("DaysOfWeek");
|
await window.$gz.enums.fetchEnumList("AyaDaysOfWeek");
|
||||||
this.daysOfWeek = window.$gz.enums.getSelectionList("DaysOfWeek");
|
this.daysOfWeek = window.$gz.enums.getSelectionList("AyaDaysOfWeek");
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -266,7 +266,6 @@ export default {
|
|||||||
latitude: null,
|
latitude: null,
|
||||||
longitude: null,
|
longitude: null,
|
||||||
items: [],
|
items: [],
|
||||||
states: [],
|
|
||||||
isDirty: true,
|
isDirty: true,
|
||||||
isLockedAtServer: false,
|
isLockedAtServer: false,
|
||||||
alertViz: null
|
alertViz: null
|
||||||
@@ -800,7 +799,7 @@ async function saveHeader(vm) {
|
|||||||
//the purpose of this is to remove the child collections so only the header itself is submitted
|
//the purpose of this is to remove the child collections so only the header itself is submitted
|
||||||
//this was the cleanest way I could find to accomplish this
|
//this was the cleanest way I could find to accomplish this
|
||||||
//https://stackoverflow.com/a/58206483/8939
|
//https://stackoverflow.com/a/58206483/8939
|
||||||
const { items: removedKey1, states: removedKey2, ...headerOnly } = vm.obj;
|
const { items: removedKey1, ...headerOnly } = vm.obj;
|
||||||
|
|
||||||
//remove *Viz keys so they don't generate traffic
|
//remove *Viz keys so they don't generate traffic
|
||||||
headerOnly.alertViz = undefined;
|
headerOnly.alertViz = undefined;
|
||||||
@@ -829,7 +828,7 @@ async function saveHeader(vm) {
|
|||||||
vm.obj.id = res.data.id;
|
vm.obj.id = res.data.id;
|
||||||
vm.obj.serial = res.data.serial;
|
vm.obj.serial = res.data.serial;
|
||||||
//walk all unsaved direct children and set the id so they can save
|
//walk all unsaved direct children and set the id so they can save
|
||||||
vm.obj.states.forEach(z => (z.pmId = vm.obj.id));
|
|
||||||
vm.obj.items.forEach(z => (z.pmId = vm.obj.id));
|
vm.obj.items.forEach(z => (z.pmId = vm.obj.id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user