接入 esri底图 兜底方案

This commit is contained in:
mmc
2026-11-12 14:43:47 +08:00
parent 90cc6dd4c1
commit c83faeab51
2 changed files with 106 additions and 40 deletions

View File

@@ -1055,19 +1055,26 @@ export function TaskPlanningView({ selectedMachineSn, embedded = false, onStatsC
{
title: t('devices.workName'),
dataIndex: 'workName',
width: 180,
},
{
title: t('devices.taskId'),
dataIndex: 'id',
width: 100,
},
{
title: t('devices.routeId'),
dataIndex: 'routeId',
width: 100,
},
{
title: t('roles.status'),
dataIndex: 'taskStaus',
width: 100,
width: 120,
render: (status, record) => {
const statusMap = {
'NEW': { color: 'default', text: t('devices.statusNew') },
@@ -1088,7 +1095,7 @@ export function TaskPlanningView({ selectedMachineSn, embedded = false, onStatsC
},
{
title: t('roles.actions'),
width: 100, // 加宽一点
width: 200, // 加宽一点
fixed: 'right',
render: (_, record) => (
<Space size="small">
@@ -1216,6 +1223,8 @@ export function TaskPlanningView({ selectedMachineSn, embedded = false, onStatsC
}, {
title: t('common.operation'),
width: 170,
fixed: 'right',
render: (_text, record) => {
// 哪些状态显示【继续作业】:FINISH 完成 / FAILED 失败 / CANCEL 取消