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

83 lines
1.6 KiB
TypeScript
Raw Normal View History

2025-04-25 16:18:02 +08:00
export const selectedColumns = [
{
title: '服务类别',
align: 'center',
dataIndex: 'categoryId_dictText',
width: 100, // 添加固定宽度
},
{
title: '服务类型',
align: 'center',
dataIndex: 'typeId_dictText',
width: 120, // 添加固定宽度
},
{
title: '分类标签',
align: 'center',
dataIndex: 'instructionTagId_dictText',
width: 90,
},
{
title: '服务指令名称',
align: 'center',
dataIndex: 'directiveName',
width: 150, // 添加固定宽度
},
{
title: '指令标签',
align: 'center',
dataIndex: 'tagList',
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: 'mp3File',
width: 200, // 添加固定宽度
},
{
title: '视频文件',
align: 'center',
dataIndex: 'mp4File',
width: 120, // 添加固定宽度
},
{
title: '预览图片',
align: 'center',
dataIndex: 'previewFile',
width: 120, // 添加固定宽度
},
{
title: '即时指令图片',
align: 'center',
dataIndex: 'immediateFile',
width: 150, // 添加固定宽度
},
{
title: '操作',
dataIndex: 'action',
key: 'action',
width: 60,
fixed: 'right',
},
];