This commit is contained in:
@@ -55,6 +55,9 @@ todo: v8 migrate additions
|
|||||||
|
|
||||||
## CLIENT MISC ITEMS
|
## CLIENT MISC ITEMS
|
||||||
|
|
||||||
|
todo: be sure top address items in case https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3864
|
||||||
|
before next update to server / windows build for Joyce
|
||||||
|
|
||||||
todo: Re-test reporting on linux, just updated puppeteer sharp and it might be affected due to newer chromium
|
todo: Re-test reporting on linux, just updated puppeteer sharp and it might be affected due to newer chromium
|
||||||
|
|
||||||
todo: REPORTING
|
todo: REPORTING
|
||||||
@@ -253,11 +256,16 @@ todo: many biz objects are not using new PUT methodology
|
|||||||
|
|
||||||
|
|
||||||
CURRENTLY DOING:
|
CURRENTLY DOING:
|
||||||
front end back end update all the things, it's overdue then back to this stuff again
|
|
||||||
|
|
||||||
|
|
||||||
OVERALL
|
OVERALL
|
||||||
- Test out role rights, login as various roles and ensure it works as expected
|
- fixup status control
|
||||||
|
status control should require click to open dialog which shows list of all status prior and allows to add then close to view
|
||||||
|
this way it's clear how to change, less confusing than now and easy to get at the list
|
||||||
|
- woitemtask UI question
|
||||||
|
is this really a collection like scheduled users or labors now??
|
||||||
|
Does it show on a main table in it's own form??n
|
||||||
|
|
||||||
- once past this step then second pass at new features **that affect models** (not necessarily UI stuff just fields required etc)
|
- once past this step then second pass at new features **that affect models** (not necessarily UI stuff just fields required etc)
|
||||||
Add items below that are just spurious and not tied to a particular case as v.next cases YAGNI/TTM!
|
Add items below that are just spurious and not tied to a particular case as v.next cases YAGNI/TTM!
|
||||||
- then full in front end and flow out to back end as required, remove any backend that was a defunct evolutionary path so no cruft left around
|
- then full in front end and flow out to back end as required, remove any backend that was a defunct evolutionary path so no cruft left around
|
||||||
@@ -266,29 +274,21 @@ OVERALL
|
|||||||
- ## Try to find every thing that will matter when more collections are added now, ensure a full flow from start to stop and everything in between to try to catch any gotchas now before get too deep into it ##
|
- ## Try to find every thing that will matter when more collections are added now, ensure a full flow from start to stop and everything in between to try to catch any gotchas now before get too deep into it ##
|
||||||
|
|
||||||
|
|
||||||
todo: update on save??
|
|
||||||
can it fetch down changes or does that even make sense bandwidth wise
|
|
||||||
No ttm yagni etc etc
|
|
||||||
can be looked at as a v.next issue
|
|
||||||
|
|
||||||
|
|
||||||
todo: WorkOrderItemTask??
|
|
||||||
is this really a collection like scheduled users or labors now??
|
|
||||||
Does it show on a main table in it's own form??
|
|
||||||
|
|
||||||
todo: changing scheduser estimated qty doesn't trigger dirty until move off, is it using the wrong event for update?
|
todo: changing scheduser estimated qty doesn't trigger dirty until move off, is it using the wrong event for update?
|
||||||
gz-decimal control
|
gz-decimal control
|
||||||
|
|
||||||
todo: introduce menu item for woitem table descendant view (not wired up yet, just there to remind and as placeholder)
|
todo: introduce menu item for woitem table descendant view (not wired up yet, just there to remind and as placeholder)
|
||||||
|
|
||||||
|
|
||||||
todo: status control should require click to open dialog which shows list of all status prior and allows to add then close to view
|
|
||||||
this way it's clear how to change, less confusing than now and easy to get at the list
|
|
||||||
|
|
||||||
todo: can I turn control labels into hyperlinks for getting to feeder records? If not then need to find a way to accomplish it
|
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 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
|
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
|
ideally not in menu because it would be a lot on a workorder and need space for wo graph subitem links
|
||||||
### I ALREADY have an affordance for this with the pick lists, JUST replicate that!!
|
### I ALREADY have an affordance for this with the pick lists, JUST replicate that!!
|
||||||
|
|
||||||
todo: Translations stuff
|
todo: Translations stuff
|
||||||
- "delete selected item" text instead of "Delete" for subitems
|
- "delete selected item" text instead of "Delete" for subitems
|
||||||
- workordercustomX translation keys not set yet, just copy workorderItem ones I guess
|
- workordercustomX translation keys not set yet, just copy workorderItem ones I guess
|
||||||
@@ -389,8 +389,7 @@ Preliminary order to get the ball rolling, these are the easiest starting point:
|
|||||||
this way (last thing) we are always covered no matter what happens with wo import etc
|
this way (last thing) we are always covered no matter what happens with wo import etc
|
||||||
|
|
||||||
|
|
||||||
WorkorderStatus
|
|
||||||
no dependencies, possibly many cases, read over carefully before implementing
|
|
||||||
|
|
||||||
Workorder
|
Workorder
|
||||||
When do this need to go back and do a bunch of //MIGRATE_OUTSTANDING
|
When do this need to go back and do a bunch of //MIGRATE_OUTSTANDING
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
v-model="value.customerId"
|
v-model="value.customerId"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:label="$ay.t('Customer')"
|
:label="$ay.t('Customer')"
|
||||||
|
:can-clear="false"
|
||||||
ref="customerId"
|
ref="customerId"
|
||||||
data-cy="customerId"
|
data-cy="customerId"
|
||||||
:rules="[form().required(this, 'customerId')]"
|
:rules="[form().required(this, 'customerId')]"
|
||||||
|
|||||||
@@ -1,20 +1,27 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="text-caption">{{ $ay.t("WorkOrderStatus") }}</span>
|
<div class="mb-n2 ml-10">
|
||||||
|
<span class="text-caption">{{ $ay.t("WorkOrderStatus") }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<template v-if="hasState">
|
<template v-if="hasState">
|
||||||
<br />
|
<div>
|
||||||
<span class="text-h6">{{ pvm.currentState.name }}</span>
|
<v-btn icon class="ml-n1 mr-2">
|
||||||
<v-icon :color="pvm.currentState.color" class="ml-4">$ayiFlag</v-icon>
|
<v-icon>{{ openIcon() }}</v-icon>
|
||||||
<v-icon color="primary" v-if="pvm.currentState.locked" class="ml-4"
|
</v-btn>
|
||||||
>$ayiLock</v-icon
|
|
||||||
>
|
<span class="text-h6">{{ pvm.currentState.name }}</span>
|
||||||
<v-icon color="primary" v-if="pvm.currentState.completed" class="ml-4"
|
<v-icon :color="pvm.currentState.color" class="ml-4">$ayiFlag</v-icon>
|
||||||
>$ayiCheckCircle</v-icon
|
<v-icon color="primary" v-if="pvm.currentState.locked" class="ml-4"
|
||||||
>
|
>$ayiLock</v-icon
|
||||||
|
>
|
||||||
|
<v-icon color="primary" v-if="pvm.currentState.completed" class="ml-4"
|
||||||
|
>$ayiCheckCircle</v-icon
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-if="canAdd">
|
<!-- <template v-if="canAdd">
|
||||||
<div>
|
<div>
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
v-model="selectedStatus"
|
v-model="selectedStatus"
|
||||||
@@ -56,9 +63,13 @@
|
|||||||
</template>
|
</template>
|
||||||
</v-autocomplete>
|
</v-autocomplete>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template> -->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
fixup status control
|
||||||
|
status control should require click to open dialog which shows list of all status prior and allows to add then close to view
|
||||||
|
this way it's clear how to change, less confusing than now and easy to get at the list
|
||||||
|
|
||||||
todo: reduce vertical, end confusion, hide combo and instead make it a popup dialog to select so it's clear something funky is happening
|
todo: reduce vertical, end confusion, hide combo and instead make it a popup dialog to select so it's clear something funky is happening
|
||||||
maybe, it's the same dialog as the view history dialog, just put an edit symbol button after the current state and that opens the whole shitteree
|
maybe, it's the same dialog as the view history dialog, just put an edit symbol button after the current state and that opens the whole shitteree
|
||||||
todo: view state historya button to show more info which pops up a dialog showing the entire state history in a data table
|
todo: view state historya button to show more info which pops up a dialog showing the entire state history in a data table
|
||||||
@@ -122,6 +133,12 @@ export default {
|
|||||||
form() {
|
form() {
|
||||||
return window.$gz.form;
|
return window.$gz.form;
|
||||||
},
|
},
|
||||||
|
openIcon: function() {
|
||||||
|
if (this.canAdd) {
|
||||||
|
return "$ayiEdit";
|
||||||
|
}
|
||||||
|
return "$ayiHistory";
|
||||||
|
},
|
||||||
fieldValueChanged(ref) {
|
fieldValueChanged(ref) {
|
||||||
if (!this.pvm.formState.loading && !this.pvm.formState.readonly) {
|
if (!this.pvm.formState.loading && !this.pvm.formState.readonly) {
|
||||||
window.$gz.form.fieldValueChanged(this.pvm, ref);
|
window.$gz.form.fieldValueChanged(this.pvm, ref);
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
<v-text-field
|
<v-text-field
|
||||||
v-model="obj.name"
|
v-model="obj.name"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
|
:disabled="obj.id === 1"
|
||||||
:label="$ay.t('Name')"
|
:label="$ay.t('Name')"
|
||||||
:rules="[form().required(this, 'name')]"
|
:rules="[form().required(this, 'name')]"
|
||||||
:error-messages="form().serverErrors(this, 'name')"
|
:error-messages="form().serverErrors(this, 'name')"
|
||||||
@@ -46,7 +47,7 @@
|
|||||||
></gz-pick-list>
|
></gz-pick-list>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3" v-if="obj.id != 1">
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model="obj.employeeNumber"
|
v-model="obj.employeeNumber"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
@@ -65,6 +66,7 @@
|
|||||||
:label="$ay.t('AuthorizationRoles')"
|
:label="$ay.t('AuthorizationRoles')"
|
||||||
v-model="obj.roles"
|
v-model="obj.roles"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
|
:disabled="obj.id === 1"
|
||||||
ref="roles"
|
ref="roles"
|
||||||
test-id="roles"
|
test-id="roles"
|
||||||
:error-messages="form().serverErrors(this, 'roles')"
|
:error-messages="form().serverErrors(this, 'roles')"
|
||||||
@@ -86,6 +88,7 @@
|
|||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
|
:disabled="obj.id === 1"
|
||||||
:label="$ay.t('UserType')"
|
:label="$ay.t('UserType')"
|
||||||
ref="usertype"
|
ref="usertype"
|
||||||
data-cy="usertype"
|
data-cy="usertype"
|
||||||
@@ -142,6 +145,7 @@
|
|||||||
<v-checkbox
|
<v-checkbox
|
||||||
v-model="obj.active"
|
v-model="obj.active"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
|
:disabled="obj.id === 1"
|
||||||
:label="$ay.t('Active')"
|
:label="$ay.t('Active')"
|
||||||
ref="active"
|
ref="active"
|
||||||
data-cy="active"
|
data-cy="active"
|
||||||
|
|||||||
Reference in New Issue
Block a user