|
|
@@ -274,14 +274,22 @@
|
|
|
const multiple = ref(true);
|
|
|
|
|
|
const columns: any[] = [
|
|
|
- { title: '任务标题', dataIndex: 'sessionTitle', key: 'sessionTitle', width: 260, ellipsis: true, slot: 'sessionTitle' },
|
|
|
- { title: '来源', key: 'source', width: 110, align: 'center', slot: 'source' },
|
|
|
- { title: '智能体', dataIndex: 'agentName', key: 'agentName', width: 150, ellipsis: true },
|
|
|
- { title: '归属用户', key: 'user', width: 120, slot: 'user' },
|
|
|
- { title: '消息数', dataIndex: 'messageCount', key: 'messageCount', width: 90, align: 'center' },
|
|
|
- { title: '状态', key: 'status', width: 150, align: 'center', slot: 'status' },
|
|
|
- { title: '最后活跃时间', dataIndex: 'lastActiveTime', key: 'lastActiveTime', width: 170, align: 'center' },
|
|
|
- { title: '创建时间', dataIndex: 'createTime', key: 'createTime', width: 170, align: 'center' },
|
|
|
+ {
|
|
|
+ title: '任务标题',
|
|
|
+ dataIndex: 'sessionTitle',
|
|
|
+ key: 'sessionTitle',
|
|
|
+ width: 240,
|
|
|
+ ellipsis: true,
|
|
|
+ slot: 'sessionTitle',
|
|
|
+ },
|
|
|
+ // 状态列前置:表格在 1280 视口必然横向溢出,右侧固定操作列会覆盖末尾列,状态(含「生成中」)必须首屏可见
|
|
|
+ { title: '状态', key: 'status', width: 120, align: 'center', slot: 'status' },
|
|
|
+ { title: '来源', key: 'source', width: 100, align: 'center', slot: 'source' },
|
|
|
+ { title: '智能体', dataIndex: 'agentName', key: 'agentName', width: 140, ellipsis: true },
|
|
|
+ { title: '归属用户', key: 'user', width: 110, slot: 'user' },
|
|
|
+ { title: '消息数', dataIndex: 'messageCount', key: 'messageCount', width: 80, align: 'center' },
|
|
|
+ { title: '最后活跃时间', dataIndex: 'lastActiveTime', key: 'lastActiveTime', width: 160, align: 'center' },
|
|
|
+ { title: '创建时间', dataIndex: 'createTime', key: 'createTime', width: 160, align: 'center' },
|
|
|
{ title: '操作', key: 'action', width: 200, align: 'center', fixed: 'right', ellipsis: false, slot: 'action' },
|
|
|
];
|
|
|
|