| | |
| | | import type { VbenFormSchema } from '#/adapter/form'; |
| | | import type { VxeTableGridOptions } from '#/adapter/vxe-table'; |
| | | |
| | | import { handleTree } from '../../../../packages/utils/src'; |
| | | import { handleTree } from '@vben/utils'; |
| | | |
| | | import { getDeptList } from '#/api/system/dept'; |
| | | |
| | |
| | | { |
| | | field: 'createTime', |
| | | title: '创建时间', |
| | | formatter: 'formatDateTime', |
| | | formatter: 'formatDate', |
| | | }, |
| | | { |
| | | title: '操作', |
| | |
| | | export function useFormColumns(): VxeTableGridOptions['columns'] { |
| | | return [ |
| | | { |
| | | field: 'endStatus', |
| | | title: '阶段', |
| | | minWidth: 100, |
| | | slots: { default: 'endStatus' }, |
| | | type: 'seq', |
| | | title: '序号', |
| | | width: 60, |
| | | }, |
| | | { |
| | | field: 'name', |