|
@@ -18,13 +18,12 @@
|
|
<TableAction
|
|
<TableAction
|
|
:actions="[
|
|
:actions="[
|
|
{
|
|
{
|
|
- color: 'warning',
|
|
|
|
ifShow: getCheckPerm('platformList-disable') && record.status === 0,
|
|
ifShow: getCheckPerm('platformList-disable') && record.status === 0,
|
|
label: '禁用',
|
|
label: '禁用',
|
|
|
|
+ color: 'error',
|
|
onClick: handleOpenModal.bind(null, record),
|
|
onClick: handleOpenModal.bind(null, record),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- color: 'warning',
|
|
|
|
label: '启用',
|
|
label: '启用',
|
|
ifShow: getCheckPerm('platformList-enable') && record.status != 0,
|
|
ifShow: getCheckPerm('platformList-enable') && record.status != 0,
|
|
onClick: handEnable.bind(null, record.id),
|
|
onClick: handEnable.bind(null, record.id),
|