调整企业管理

This commit is contained in:
aixianling
2022-03-14 12:07:48 +08:00
parent 66fad244d9
commit f2508c5823
3 changed files with 337 additions and 287 deletions

View 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>