| 12345678910111213141516171819202122232425262728293031 |
- import {
- getConfigTypeTableColumn,
- getAttirubuteTableColumn,
- } from '../utils/columns'
- import { getTimeTableColumn } from '@/utils/common/tableColumn'
- export default {
- created () {
- this.columns = [
- {
- title: this.$t('system.text_101'),
- field: 'name',
- showOverflow: 'ellipsis',
- minWidth: 100,
- slots: {
- default: ({ row }) => {
- return [
- <list-body-cell-wrap copy row={row} field='name' hideField>
- <side-page-trigger onTrigger={ () => this.handleOpenSidepage(row) }>{ row.name }</side-page-trigger>
- </list-body-cell-wrap>,
- ]
- },
- },
- },
- getConfigTypeTableColumn(),
- getAttirubuteTableColumn({ vm: this }),
- getTimeTableColumn(),
- ]
- },
- }
|