This commit is contained in:
@@ -410,7 +410,8 @@ TODO: Notification related todos that came up:
|
|||||||
WorkOrderItemUnit: 44,
|
WorkOrderItemUnit: 44,
|
||||||
http://localhost:8080/open/44/85
|
http://localhost:8080/open/44/85
|
||||||
|
|
||||||
|
RESULTS
|
||||||
|
Does open the element in question, but still needs a scroll to action
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="expensetopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -464,6 +465,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.expensetopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="labortopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -459,6 +460,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.labortopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="loantopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -488,6 +489,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.loantopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="outsideservicetopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -630,6 +631,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.outsideservicetopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -67,6 +67,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="partrequesttopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -154,6 +155,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.partrequesttopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="parttopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -384,6 +385,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.parttopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="scheduledusertopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -329,6 +330,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.scheduledusertopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -68,6 +68,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="tasktopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -357,6 +358,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.tasktopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="traveltopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -459,6 +460,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.traveltopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="hasData && hasSelection">
|
<template v-if="hasData && hasSelection">
|
||||||
|
<div ref="unittopform"></div>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="canDelete && isDeleted"
|
v-if="canDelete && isDeleted"
|
||||||
large
|
large
|
||||||
@@ -308,6 +309,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.selectedRow = [{ index: val }];
|
this.selectedRow = [{ index: val }];
|
||||||
this.activeItemIndex = val;
|
this.activeItemIndex = val;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.unittopform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
>{{ $ay.t("Undelete")
|
>{{ $ay.t("Undelete")
|
||||||
}}<v-icon right large>$ayiTrashRestoreAlt</v-icon></v-btn
|
}}<v-icon right large>$ayiTrashRestoreAlt</v-icon></v-btn
|
||||||
>
|
>
|
||||||
|
<div ref="topform"></div>
|
||||||
<v-col
|
<v-col
|
||||||
v-if="form().showMe(this, 'Items.WorkOrderItemSummary')"
|
v-if="form().showMe(this, 'Items.WorkOrderItemSummary')"
|
||||||
cols="12"
|
cols="12"
|
||||||
@@ -707,6 +707,14 @@ export default {
|
|||||||
if (navto.woitemindex != null) {
|
if (navto.woitemindex != null) {
|
||||||
this.selectedRow = [{ index: navto.woitemindex }];
|
this.selectedRow = [{ index: navto.woitemindex }];
|
||||||
this.activeItemIndex = navto.woitemindex;
|
this.activeItemIndex = navto.woitemindex;
|
||||||
|
|
||||||
|
this.$nextTick(() => {
|
||||||
|
const el = this.$refs.topform;
|
||||||
|
if (el) {
|
||||||
|
el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if (navto.childindex != null) {
|
if (navto.childindex != null) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
switch (val.type) {
|
switch (val.type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user