<template>
  <otr-simple-table-workspace title="个人绩效" keyword-placeholder="请输入姓名" :columns="columns" :fetcher="effectPersonList" />
</template>

<script setup lang="ts">
import { effectPersonList } from '@/api/otr/effect/core'
import OtrSimpleTableWorkspace from '@/modules/otr/_shared/components/OtrSimpleTableWorkspace.vue'

const columns = [
  { prop: 'staffName', label: '姓名', width: 120 },
  { prop: 'deptName', label: '部门', width: 140 },
  { prop: 'score', label: '得分', width: 100 },
  { prop: 'rank', label: '排名', width: 100 },
]
</script>
