<template>
  <a-row class="rowGutter" id="pjjgDom">
    <a-col :xs="{ span: 24 }" :sm="{ span: 24 }" :lg="{ span: 24 }" style="padding: 0 2px 0 0;">
      <a-card style="min-height: 222px;">
        <template #title>
          <span style="font-size: 24px;font-weight: bold;">评价结果</span>
        </template>
        <template #extra>
          <!-- <RouterLink target='_blank' to="/site/tingKeZuJiMore">查看更多</RouterLink> -->
          <a style="padding-right: 0.5rem;" @click="reloadTkzj()">刷新</a>
          <RouterLink to="/site/pjjgMore">查看更多</RouterLink>
        </template>
        <list :queryParam="{ pageSize: 4, ...tkzjParam }" style="max-height: 106px;"/>
      </a-card>
    </a-col>
  </a-row>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import list from '/@/views/site/pjjgPage/list.vue';
import { nextTick } from 'vue';

const tkzjParam = ref({});
const pkzjParam = ref({});

function reloadTkzj(){
  console.log('1');

  tkzjParam.value = { isReload: true };
  // nextTick(() => {
  //   tkzjParam.value = { isReload: false };
  // });
}

function reloadPkzj(){
  pkzjParam.value = { isReload: true };
  // nextTick(() => {
  //   pkzjParam.value = { isReload: false };
  // });
}
</script>
<style lang="less" scoped>
.wenZiJuZhong {
  text-align: center;
}
.wenZiJiaCu {
  font-weight: 700;
}

</style>