|
|
@@ -88,13 +88,6 @@
|
|
|
onClick: handleCopy.bind(null, record),
|
|
|
},
|
|
|
{
|
|
|
- tooltip: t('routes.scenes.creatobj'),
|
|
|
- icon: 'carbon:chart-3d',
|
|
|
- ifShow:
|
|
|
- record.status == -2 && tableType == 2 && record.isMain && !record.coldStorage,
|
|
|
- onClick: handleGenerate.bind(null, record),
|
|
|
- },
|
|
|
- {
|
|
|
color: 'error',
|
|
|
icon: 'material-symbols:delete',
|
|
|
tooltip: t('routes.scenes.delete'),
|
|
|
@@ -105,6 +98,13 @@
|
|
|
confirm: handleDelete.bind(null, record),
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ tooltip: t('routes.scenes.creatobj'),
|
|
|
+ icon: 'carbon:chart-3d',
|
|
|
+ ifShow:
|
|
|
+ record.status == -2 && tableType == 2 && record.isMain && !record.coldStorage,
|
|
|
+ onClick: handleGenerate.bind(null, record),
|
|
|
+ },
|
|
|
]"
|
|
|
/>
|
|
|
</template>
|
|
|
@@ -275,7 +275,7 @@
|
|
|
title: t('common.operation'),
|
|
|
dataIndex: '',
|
|
|
slots: { customRender: 'action' },
|
|
|
- width: 270,
|
|
|
+ width: 250,
|
|
|
ellipsis: false,
|
|
|
fixed: 'right',
|
|
|
},
|