智慧园区前端大屏
linwe
2024-11-13 b8440d9a6b1671cdf0c8f06cdaba2f80a8dac1e6
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-05 20:39:31
 * @LastEditTime: 2024-11-11 19:42:55
 * @FilePath: \bigScreen\src\views\survey\components\box\fireTrend.vue
 * @Description:
 *
@@ -24,16 +24,16 @@
})
function getPages() {
function getPages () {
  getPage().then(res => {
    parkQy.value = res.data.data.records
    console.log(res)
    // console.log(res)
  }).catch(err => {
    console.log(err)
    // console.log(err)
  })
}
function search() {
function search () {
  getPage({ name: searchQuery.value }).then(res => {
    parkQy.value = res.data.data.records
    console.log(res)
@@ -45,7 +45,9 @@
const goSubLayout = (item) => {
  localStorage.setItem('companyInfo', JSON.stringify(item))
  store.setLoadSub(true)
  router.push('/layout/sub')
  router.push({
    path: '/layout/sub/companyInfo'
  })
}
</script>
@@ -56,7 +58,7 @@
      <div class="search-container">
        <el-input v-model="searchQuery" placeholder="请输入企业名称" size="mini">
        </el-input>
        <el-button :color="'#007bff'" @click="search" size="mini">搜索</el-button>
        <el-button :color="'#0088ff'" @click="search" size="mini">搜索</el-button>
      </div>
    </div>
@@ -72,6 +74,7 @@
<style lang="scss" scoped>
.box-content {
  color: #fff;
  // color: #0066ff;
  padding: 0 10px;
}