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

<script setup lang="ts">
import { effectIndexList } 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: 'deptName', label: '部门', width: 140 },
  { prop: 'statusLabel', label: '状态', width: 120 },
]
</script>
