<template>
  <otr-simple-table-workspace title="绩效详情" keyword-placeholder="请输入考核名称" :columns="columns" :fetcher="effectDetailList" />
</template>

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

const columns = [
  { prop: 'title', label: '考核名称', minWidth: 220 },
  { prop: 'ownerName', label: '负责人', width: 120 },
  { prop: 'score', label: '得分', width: 100 },
  { prop: 'statusLabel', label: '状态', width: 120 },
]
</script>
