调整企业管理
This commit is contained in:
35
project/oms/apps/AppCompany/AppCompany.vue
Normal file
35
project/oms/apps/AppCompany/AppCompany.vue
Normal file
@@ -0,0 +1,35 @@
|
||||
<template>
|
||||
<section class="AppCompany">
|
||||
<component :is="currentComponent" :instance="instance" :dict="dict" :permissions="permissions"/>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import List from "./components/List";
|
||||
import Sta from "./components/Statistics";
|
||||
|
||||
export default {
|
||||
name: "AppCompany",
|
||||
label: "企业管理",
|
||||
components: {List, Sta},
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
permissions: Function
|
||||
},
|
||||
computed: {
|
||||
currentComponent() {
|
||||
return this.$route.hash == "#sta" ? Sta : List
|
||||
}
|
||||
},
|
||||
created() {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AppCompany {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user