<template>
  <div>
    <router-link to="/leader/index">
      <img src="~@/assets/action_1.png"/>
    </router-link>
  </div>

  <div>
    <router-link to="/worker">
      <img src="~@/assets/action_2.png"/>
    </router-link>
  </div>
  <div class="list">
    <div v-for="(item, index) in dataList" :key="index" class="list-item">{{ item.reportName }}</div>
  </div>
</template>

<script lang="ts" setup>
import {getReportsList} from "@/api";
import {ref} from "vue";
import {showFailToast} from "vant";

let dataList = ref([]);
//getReportsList({ page: 1, pageSize: 10, sortBy: 'publishDate', sortOrder: 'asc' }).then((res) => {
//  dataList.value = res.data
//})

showFailToast('12213')
</script>

<style lang="scss" scoped>
</style>
