|
|
@@ -68,26 +68,26 @@
|
|
|
onClick: openSceneEditor.bind(null, record),
|
|
|
ifShow: !record.coldStorage,
|
|
|
},
|
|
|
- {
|
|
|
- label: t('routes.scenes.upgrade'),
|
|
|
- ifShow: record.sceneVersion == 'v3' && record.isMain,
|
|
|
- disabled: record.status != -2,
|
|
|
- onClick: handleUpgrade.bind(null, record),
|
|
|
- },
|
|
|
+ //{
|
|
|
+ // label: t('routes.scenes.upgrade'),
|
|
|
+ // ifShow: record.sceneVersion == 'v3' && record.isMain,
|
|
|
+ // disabled: record.status != -2,
|
|
|
+ // onClick: handleUpgrade.bind(null, record),
|
|
|
+ //},
|
|
|
|
|
|
- {
|
|
|
- icon: 'ic:round-assistant-direction',
|
|
|
- tooltip: t('routes.scenes.assistant'),
|
|
|
- disabled: record.status != -2,
|
|
|
- onClick: needAssistant.bind(null, record),
|
|
|
- ifShow: record.isMain,
|
|
|
- },
|
|
|
- {
|
|
|
- tooltip: t('routes.scenes.copy'),
|
|
|
- icon: 'tabler:copy-check',
|
|
|
- disabled: record.status != -2,
|
|
|
- onClick: handleCopy.bind(null, record),
|
|
|
- },
|
|
|
+ //{
|
|
|
+ // icon: 'ic:round-assistant-direction',
|
|
|
+ // tooltip: t('routes.scenes.assistant'),
|
|
|
+ // disabled: record.status != -2,
|
|
|
+ // onClick: needAssistant.bind(null, record),
|
|
|
+ // ifShow: record.isMain,
|
|
|
+ //},
|
|
|
+ //{
|
|
|
+ // tooltip: t('routes.scenes.copy'),
|
|
|
+ // icon: 'tabler:copy-check',
|
|
|
+ // disabled: record.status != -2,
|
|
|
+ // onClick: handleCopy.bind(null, record),
|
|
|
+ //},
|
|
|
{
|
|
|
tooltip: t('routes.scenes.creatobj'),
|
|
|
icon: 'carbon:chart-3d',
|
|
|
@@ -110,35 +110,35 @@
|
|
|
},
|
|
|
},
|
|
|
|
|
|
- {
|
|
|
- tooltip: t('routes.scenes.downloadScene'),
|
|
|
- disabled: record.status != -2,
|
|
|
- ifShow: record.isDownload,
|
|
|
- icon: 'entypo:download',
|
|
|
- popConfirm: {
|
|
|
- title: t('routes.scenes.downloadSceneConfirm'),
|
|
|
- confirm: handleDownloadScene.bind(null, record),
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- tooltip: t('routes.scenes.migrate'),
|
|
|
- disabled: record.status != -2,
|
|
|
- ifShow: record.isMigrate,
|
|
|
- icon: 'carbon:migrate',
|
|
|
- onClick: handleMigrate.bind(null, record),
|
|
|
- },
|
|
|
- {
|
|
|
- tooltip: t('routes.scenes.downloadSceneE57'),
|
|
|
- disabled: record.status != -2,
|
|
|
- ifShow:
|
|
|
- (tableType === 2 || tableType === 5) && record.location === 4 && !record.isCopy,
|
|
|
- icon: 'gis:layer-download',
|
|
|
- popConfirm: {
|
|
|
- placement: 'left',
|
|
|
- title: t('routes.scenes.downloadSceneConfirmE57'),
|
|
|
- confirm: handleDownloadSceneE57.bind(null, record),
|
|
|
- },
|
|
|
- },
|
|
|
+ //{
|
|
|
+ // tooltip: t('routes.scenes.downloadScene'),
|
|
|
+ // disabled: record.status != -2,
|
|
|
+ // ifShow: record.isDownload,
|
|
|
+ // icon: 'entypo:download',
|
|
|
+ // popConfirm: {
|
|
|
+ // title: t('routes.scenes.downloadSceneConfirm'),
|
|
|
+ // confirm: handleDownloadScene.bind(null, record),
|
|
|
+ // },
|
|
|
+ //},
|
|
|
+ //{
|
|
|
+ // tooltip: t('routes.scenes.migrate'),
|
|
|
+ // disabled: record.status != -2,
|
|
|
+ // ifShow: record.isMigrate,
|
|
|
+ // icon: 'carbon:migrate',
|
|
|
+ // onClick: handleMigrate.bind(null, record),
|
|
|
+ //},
|
|
|
+ //{
|
|
|
+ // tooltip: t('routes.scenes.downloadSceneE57'),
|
|
|
+ // disabled: record.status != -2,
|
|
|
+ // ifShow:
|
|
|
+ // (tableType === 2 || tableType === 5) && record.location === 4 && !record.isCopy,
|
|
|
+ // icon: 'gis:layer-download',
|
|
|
+ // popConfirm: {
|
|
|
+ // placement: 'left',
|
|
|
+ // title: t('routes.scenes.downloadSceneConfirmE57'),
|
|
|
+ // confirm: handleDownloadSceneE57.bind(null, record),
|
|
|
+ // },
|
|
|
+ //},
|
|
|
]"
|
|
|
/>
|
|
|
</template>
|