| | |
| | | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. |
| | | --> |
| | | <script setup> |
| | | import EventBus from 'utils/bus' |
| | | import { getPage } from '@/api/indParkInfo' |
| | | import { useRouterStore } from 'store/router' |
| | | import { useRouter, useRoute } from 'vue-router' |
| | |
| | | }) |
| | | |
| | | |
| | | function getPages () { |
| | | getPage().then(res => { |
| | | function getPages() { |
| | | getPage({ |
| | | size: 100, |
| | | }).then(res => { |
| | | parkQy.value = res.data.data.records |
| | | // console.log(res) |
| | | }).catch(err => { |
| | |
| | | }) |
| | | } |
| | | |
| | | function search () { |
| | | function search() { |
| | | getPage({ name: searchQuery.value }).then(res => { |
| | | parkQy.value = res.data.data.records |
| | | console.log(res) |