You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
689 B
29 lines
689 B
2 years ago
|
<template>
|
||
2 years ago
|
<div>
|
||
|
<BasicTable @register="registerTable" />
|
||
|
</div>
|
||
2 years ago
|
</template>
|
||
2 years ago
|
<script lang="ts" setup name="Done">
|
||
|
import { useI18n } from '@/hooks/web/useI18n'
|
||
|
import { BasicTable, useTable } from '@/components/Table'
|
||
|
import { getDoneTaskPage } from '@/api/bpm/task'
|
||
|
import { columns, searchFormSchema } from './done.data'
|
||
|
|
||
|
const { t } = useI18n()
|
||
|
|
||
|
const [registerTable] = useTable({
|
||
|
title: '审批列表',
|
||
|
api: getDoneTaskPage,
|
||
|
columns,
|
||
|
formConfig: { labelWidth: 120, schemas: searchFormSchema },
|
||
|
useSearchForm: true,
|
||
|
showTableSetting: true,
|
||
|
actionColumn: {
|
||
|
width: 140,
|
||
|
title: t('common.action'),
|
||
|
dataIndex: 'action',
|
||
|
fixed: 'right'
|
||
|
}
|
||
|
})
|
||
|
</script>
|