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

@@ -19,7 +19,6 @@
</gz-data-table>
</div>
</template>
<script>
const FORM_KEY = "svc-task-group";
export default {
@@ -52,7 +51,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) {
case "new":
@@ -62,7 +61,7 @@ async function clickHandler(menuItem) {
});
break;
case "extensions":
let res = await m.vm.$refs.extensions.open(
const res = await m.vm.$refs.extensions.open(
m.vm.$refs.gzdatatable.getDataListSelection(
window.$gz.type.WorkOrderStatus
)
@@ -85,7 +84,7 @@ async function clickHandler(menuItem) {
//
//
function generateMenu(vm) {
let menuOptions = {
const menuOptions = {
isMain: true,
icon: "$ayiTasks",
title: "TaskGroupList",