PMCORE-2509
This commit is contained in:
44
resources/assets/js/home/BatchRouting.vue
Normal file
44
resources/assets/js/home/BatchRouting.vue
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<iframe
|
||||||
|
:width="width"
|
||||||
|
ref="xIFrame"
|
||||||
|
frameborder="0"
|
||||||
|
:src="path"
|
||||||
|
:height="height"
|
||||||
|
allowfullscreen
|
||||||
|
></iframe>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "BatchRouting",
|
||||||
|
components: {},
|
||||||
|
props: {
|
||||||
|
data: Object,
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.height = window.innerHeight - this.diffHeight;
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
height: "100%",
|
||||||
|
width: "100%",
|
||||||
|
diffHeight: 10,
|
||||||
|
path:
|
||||||
|
window.config.SYS_SERVER +
|
||||||
|
window.config.SYS_URI +
|
||||||
|
"cases/casesConsolidatedListExtJs?action=consolidated",
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
classBtn(cls) {
|
||||||
|
return "btn v-btn-request " + cls;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
@@ -23,13 +23,15 @@
|
|||||||
import CustomSidebar from "./../components/menu/CustomSidebar";
|
import CustomSidebar from "./../components/menu/CustomSidebar";
|
||||||
import MyCases from "./MyCases";
|
import MyCases from "./MyCases";
|
||||||
import MyDocuments from "./MyDocuments";
|
import MyDocuments from "./MyDocuments";
|
||||||
|
import BatchRouting from "./BatchRouting";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Home",
|
name: "Home",
|
||||||
components: {
|
components: {
|
||||||
CustomSidebar,
|
CustomSidebar,
|
||||||
MyCases,
|
MyCases,
|
||||||
MyDocuments
|
MyDocuments,
|
||||||
|
BatchRouting,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -48,7 +50,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
OnClickSidebarItem(item) {
|
OnClickSidebarItem(item) {
|
||||||
this.page= item.item.page || "MyCases"
|
this.page = item.item.id || "MyCases";
|
||||||
},
|
},
|
||||||
onResize() {
|
onResize() {
|
||||||
if (window.innerWidth <= 767) {
|
if (window.innerWidth <= 767) {
|
||||||
@@ -66,7 +68,7 @@ export default {
|
|||||||
*/
|
*/
|
||||||
onToggleCollapse(collapsed) {
|
onToggleCollapse(collapsed) {
|
||||||
this.collapsed = collapsed;
|
this.collapsed = collapsed;
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<iframe
|
<iframe
|
||||||
:width="width"
|
:width="width"
|
||||||
ref="xCaseFrame"
|
ref="xIFrame"
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
:src="path"
|
:src="path"
|
||||||
:height="height"
|
:height="height"
|
||||||
|
|||||||
@@ -63,13 +63,14 @@
|
|||||||
{
|
{
|
||||||
"href": "/batch-routing",
|
"href": "/batch-routing",
|
||||||
"title": "Batch Routing",
|
"title": "Batch Routing",
|
||||||
|
"id": "batch-routing",
|
||||||
"icon": "fas fa-bars",
|
"icon": "fas fa-bars",
|
||||||
"disabled": true
|
"disabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"href": "/my-documents",
|
"href": "/my-documents",
|
||||||
"title": "My Documents",
|
"title": "My Documents",
|
||||||
"page": "my-documents",
|
"id": "my-documents",
|
||||||
"icon": "fas fa-bars",
|
"icon": "fas fa-bars",
|
||||||
"disabled": false
|
"disabled": false
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user