From 4b7d2c5f13c7c816746ecd7c64fc4d8bb7580e70 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Thu, 14 Nov 2024 15:29:26 +0800
Subject: [PATCH] 首页接口

---
 src/views/survey/components/box/fireTrend.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/views/survey/components/box/fireTrend.vue b/src/views/survey/components/box/fireTrend.vue
index 8f27112..b92a4e2 100644
--- a/src/views/survey/components/box/fireTrend.vue
+++ b/src/views/survey/components/box/fireTrend.vue
@@ -2,7 +2,7 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2023-03-13 14:54:26
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-10 19:20:00
+ * @LastEditTime: 2024-11-11 19:42:55
  * @FilePath: \bigScreen\src\views\survey\components\box\fireTrend.vue
  * @Description:
  *
@@ -24,8 +24,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 +35,7 @@
   })
 }
 
-function search () {
+function search() {
   getPage({ name: searchQuery.value }).then(res => {
     parkQy.value = res.data.data.records
     console.log(res)
@@ -45,7 +47,9 @@
 const goSubLayout = (item) => {
   localStorage.setItem('companyInfo', JSON.stringify(item))
   store.setLoadSub(true)
-  router.push('/layout/sub/companyInfo')
+  router.push({
+    path: '/layout/sub/companyInfo'
+  })
 }
 
 </script>

--
Gitblit v1.9.3