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.
|
|
|
import type { ColumnGroupType } from 'ant-design-vue/es/table'
|
|
|
|
|
|
|
|
export const tableColumns: (Omit<ColumnGroupType<any>, 'children'> & { dataIndex?: string; name: string })[] = [
|
|
|
|
{
|
|
|
|
name: 'Column Name',
|
|
|
|
dataIndex: 'column_name',
|
|
|
|
key: 'column_name',
|
|
|
|
width: 250,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Column Type',
|
|
|
|
dataIndex: 'column_type',
|
|
|
|
key: 'uidt',
|
|
|
|
width: 250,
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
// name: 'Select Option',
|
|
|
|
// key: 'dtxp',
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
name: 'Action',
|
|
|
|
key: 'action',
|
|
|
|
align: 'center',
|
|
|
|
width: 40,
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|
|
|
|
export const srcDestMappingColumns: (Omit<ColumnGroupType<any>, 'children'> & { dataIndex?: string; name: string })[] = [
|
|
|
|
{
|
|
|
|
name: 'Source column',
|
|
|
|
dataIndex: 'source_column',
|
|
|
|
key: 'source_column',
|
|
|
|
width: 400,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Destination column',
|
|
|
|
dataIndex: 'destination_column',
|
|
|
|
key: 'destination_column',
|
|
|
|
width: 400,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Action',
|
|
|
|
key: 'action',
|
|
|
|
align: 'center',
|
|
|
|
width: 50,
|
|
|
|
},
|
|
|
|
]
|