| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <RouterView /> |
| | | <KeepAlive> |
| | | <RouterView /> |
| | | </KeepAlive> |
| | | </div> |
| | | </template> |
| | | |
| | | |
| | | <script setup> |
| | | import { getAssets } from '@/utils' |
| | | import { getDepartmentList } from '@/utils/apis.js' |
| | | import { getDepartmentList } from '@/utils/api.js' |
| | | import { reactive, toRefs, onMounted, computed } from 'vue'; |
| | | import { useCounterStore } from '@/stores/counter.js' |
| | | import { RouterView, useRoute, useRouter } from 'vue-router' |
| | |
| | | } |
| | | |
| | | onMounted(() => { |
| | | console.log(route.name); |
| | | getDepartmentList(enterprise.companyId) |
| | | .then(res => { |
| | | data.comList = res |