HUGE REFACTOR / CLEANUP

if there is a issue it's probably something in here that was changed
This commit is contained in:
2021-09-28 20:19:44 +00:00
parent 51eddfede9
commit d0afdd9855
238 changed files with 3127 additions and 8614 deletions

View File

@@ -21,10 +21,6 @@
</template>
<script>
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Xeslint-disable */
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////
//THIS FORM IS CREATE ONLY
//no delete, no duplicate, no fetch, just create or leave
//
@@ -33,7 +29,7 @@ const FORM_KEY = "customer-workorder";
export default {
async created() {
let vm = this;
const vm = this;
try {
await initForm();
@@ -85,7 +81,6 @@ export default {
form() {
return window.$gz.form;
}
//end methods
}
};
@@ -96,7 +91,7 @@ async function clickHandler(menuItem) {
if (!menuItem) {
return;
}
let m = window.$gz.menu.parseMenuItem(menuItem);
const m = window.$gz.menu.parseMenuItem(menuItem);
if (m.owner == FORM_KEY && !m.disabled) {
switch (m.key) {
default:
@@ -112,7 +107,7 @@ async function clickHandler(menuItem) {
//
//
function generateMenu(vm) {
let menuOptions = {
const menuOptions = {
isMain: false,
readOnly: vm.formState.readOnly,
icon: "$ayiTools",
@@ -127,7 +122,6 @@ function generateMenu(vm) {
};
menuOptions.menuItems.push({ divider: true, inset: false });
window.$gz.eventBus.$emit("menu-change", menuOptions);
}