|  |  |  | 
|---|
|  |  |  | <script setup> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import AppLayout from './components/AppLayout.vue' | 
|---|
|  |  |  | import { useCounterStore } from '@/stores/counter.js' | 
|---|
|  |  |  | // import { useRoute } from 'vue-router' | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const enterprise = useCounterStore() | 
|---|
|  |  |  | // const route = useRoute() | 
|---|
|  |  |  | let queryStr = window.location.href.split('?')[1]||'' | 
|---|
|  |  |  | let query = queryStr.split('&')||[] | 
|---|
|  |  |  | let data = { companyId: enterprise.companyId } | 
|---|
|  |  |  | query.forEach(item => { | 
|---|
|  |  |  | let subQuery = item.split('=') | 
|---|
|  |  |  | data[subQuery[0]] = subQuery[1] | 
|---|
|  |  |  | }) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | enterprise.setCompanyId(data.companyId) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <template> | 
|---|
|  |  |  | <AppLayout /> | 
|---|
|  |  |  | <<<<<<< HEAD | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ======= | 
|---|
|  |  |  | >>>>>>> 5103535bcd7b012c0eda4cbb26968066b35704d1 | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <style scoped> | 
|---|