智慧园区前端大屏
shuishen
2024-11-27 860e432b36e475803ab4acfaf0eadd062de3473f
src/views/survey/components/box/fireTrend.vue
@@ -9,6 +9,7 @@
 * 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'
@@ -24,8 +25,10 @@
})
function getPages () {
  getPage().then(res => {
function getPages() {
  getPage({
    size: 100,
  }).then(res => {
    parkQy.value = res.data.data.records
    // console.log(res)
  }).catch(err => {
@@ -33,7 +36,7 @@
  })
}
function search () {
function search() {
  getPage({ name: searchQuery.value }).then(res => {
    parkQy.value = res.data.data.records
    console.log(res)