|
@@ -3,8 +3,8 @@
|
|
<BasicTable @register="registerTable" :rowSelection="{ type: 'checkbox' }">
|
|
<BasicTable @register="registerTable" :rowSelection="{ type: 'checkbox' }">
|
|
<template #toolbar>
|
|
<template #toolbar>
|
|
<a-button type="primary" @click="() => {}"> 新增</a-button>
|
|
<a-button type="primary" @click="() => {}"> 新增</a-button>
|
|
- <a-button type="primary" color="warning" @click="() => {}"> 编辑</a-button>
|
|
|
|
- <a-button type="primary" color="error" @click="() => {}"> 删除</a-button>
|
|
|
|
|
|
+ <!-- <a-button type="primary" color="warning" @click="() => {}"> 编辑</a-button>
|
|
|
|
+ <a-button type="primary" color="error" @click="() => {}"> 删除</a-button> -->
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<template #cover="{ record }">
|
|
<template #cover="{ record }">
|
|
@@ -23,9 +23,6 @@
|
|
popConfirm: {
|
|
popConfirm: {
|
|
title: t('routes.scenes.downloadSceneConfirm'),
|
|
title: t('routes.scenes.downloadSceneConfirm'),
|
|
confirm: handleDownloadScene.bind(null, record),
|
|
confirm: handleDownloadScene.bind(null, record),
|
|
- // confirm: () => {
|
|
|
|
- // createMessage.info(t('common.notConnect'));
|
|
|
|
- // },
|
|
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -34,6 +31,18 @@
|
|
label: t('routes.scenes.editor'),
|
|
label: t('routes.scenes.editor'),
|
|
onClick: openSceneEditor.bind(null, record),
|
|
onClick: openSceneEditor.bind(null, record),
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ // icon: 'dashicons:editor-kitchensink',
|
|
|
|
+ color: 'error',
|
|
|
|
+ label: t('routes.scenes.makeLiveCover'),
|
|
|
|
+ onClick: openSceneEditor.bind(null, record),
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ // icon: 'dashicons:editor-kitchensink',
|
|
|
|
+ color: 'error',
|
|
|
|
+ label: t('routes.scenes.editor'),
|
|
|
|
+ onClick: openSceneEditor.bind(null, record),
|
|
|
|
+ },
|
|
]"
|
|
]"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
@@ -140,7 +149,7 @@
|
|
title: t('common.operation'),
|
|
title: t('common.operation'),
|
|
dataIndex: '',
|
|
dataIndex: '',
|
|
slots: { customRender: 'action' },
|
|
slots: { customRender: 'action' },
|
|
- width: 180,
|
|
|
|
|
|
+ width: 240,
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
},
|
|
},
|
|
];
|
|
];
|