<template>
  <otr-simple-table-workspace title="白名单" keyword-placeholder="请输入姓名" :columns="columns" :fetcher="effectWhitelistList" />
</template>

<script setup lang="ts">
import { effectWhitelistList } 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: 'remark', label: '备注', minWidth: 220 },
]
</script>
