| | |
| | | import { BasicVxeTable, TableAction, useVxeTable } from '@jnpf/ui/vxeTable'; |
| | | |
| | | import { getTrainRecordList } from '#/api/x/tms/trainRecord'; |
| | | import { TMS_BTN } from '#/views/x/tms/shared/ui'; |
| | | |
| | | import '#/views/x/tms/shared/page.css'; |
| | | |
| | | defineOptions({ name: 'TmsTrainRecord' }); |
| | | |
| | |
| | | } |
| | | |
| | | function getTableActions(record: TrainRecordListItem): ActionItem[] { |
| | | return [{ label: '查看', onClick: handleView.bind(null, record) }]; |
| | | return [{ label: TMS_BTN.detail, onClick: handleView.bind(null, record) }]; |
| | | } |
| | | </script> |
| | | |
| | |
| | | <BasicVxeTable @register="registerTable"> |
| | | <template #tableTitle> |
| | | <a-space> |
| | | <a-button type="primary" @click="handleViewSelected">查看</a-button> |
| | | <span class="text-gray-400 text-sm">个人培训记录表,选择人员查看培训目录。</span> |
| | | <a-button type="primary" @click="handleViewSelected">{{ TMS_BTN.detail }}</a-button> |
| | | <span class="tms-toolbar-hint">选择人员查看培训目录</span> |
| | | </a-space> |
| | | </template> |
| | | <template #action="{ record }"> |