hldy_vue/src/views/synchronization/directive/directive.data.ts

78 lines
1.6 KiB
TypeScript

export const selectedColumns = [
{
title: '分类标签',
align: 'center',
dataIndex: 'instructionTagId_dictText',
width: 90,
},
{
title: '服务类别',
align: 'center',
dataIndex: 'categoryId_dictText',
width: 100, // 添加固定宽度
},
{
title: '服务类型',
align: 'center',
dataIndex: 'typeId_dictText',
width: 120, // 添加固定宽度
},
{
title: '服务指令名称',
align: 'center',
dataIndex: 'directiveName',
width: 150, // 添加固定宽度
},
{
title: '体型标签',
align: 'center',
dataIndex: 'bodyTagList',
width: 150,
ellipsis: true, // 确保内容过长时显示省略号
},
{
title: '情绪标签',
align: 'center',
dataIndex: 'emotionTagList',
width: 150,
ellipsis: true, // 确保内容过长时显示省略号
},
{
title: '周期类型',
align: 'center',
dataIndex: 'cycleType_dictText',
width: 100, // 添加固定宽度
},
{
title: '服务时长(分钟)',
align: 'center',
dataIndex: 'serviceDuration',
width: 135,
},
{
title: '是否启用',
align: 'center',
dataIndex: 'izEnabled_dictText',
width: 100,
},
{
title: '预览图片',
align: 'center',
dataIndex: 'previewFileMedia',
width: 120, // 添加固定宽度
},
{
title: '即时指令图片',
align: 'center',
dataIndex: 'immediateFileMedia',
width: 150, // 添加固定宽度
},
{
title: '操作',
dataIndex: 'action',
key: 'action',
width: 60,
fixed: 'right',
},
];