2018-10-23 18:12:36 +05:30
|
|
|
<template>
|
2019-10-03 19:16:12 +05:30
|
|
|
<div class="flex">
|
2019-10-04 23:30:51 +05:30
|
|
|
<Sidebar class="w-56" />
|
2019-10-13 17:33:01 +05:30
|
|
|
<div class="flex flex-1 overflow-y-hidden bg-white">
|
2019-10-14 02:49:28 +05:30
|
|
|
<keep-alive include="InvoiceForm">
|
2019-10-11 15:25:50 +05:30
|
|
|
<router-view class="flex-1" :key="$route.fullPath" />
|
|
|
|
</keep-alive>
|
|
|
|
<div class="flex" v-if="$route.query.edit && $route.query.doctype && $route.query.name">
|
|
|
|
<keep-alive>
|
|
|
|
<router-view name="edit" class="w-80 flex-1" :key="$route.query.doctype + $route.query.name"/>
|
|
|
|
</keep-alive>
|
|
|
|
</div>
|
2018-10-23 18:12:36 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
import Sidebar from '../components/Sidebar';
|
|
|
|
export default {
|
|
|
|
name: 'Desk',
|
|
|
|
components: {
|
|
|
|
Sidebar
|
|
|
|
}
|
2019-07-19 18:54:31 +05:30
|
|
|
};
|
2018-10-23 18:12:36 +05:30
|
|
|
</script>
|