|
|
|
@ -32,30 +32,30 @@
@@ -32,30 +32,30 @@
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '发布', |
|
|
|
|
icon: 'ant-design:delete-outlined', |
|
|
|
|
icon: 'fa-solid:bullhorn', |
|
|
|
|
onClick: handleDeploy.bind(null, record) |
|
|
|
|
}]" |
|
|
|
|
:dropDownActions="[ |
|
|
|
|
{ |
|
|
|
|
label: '激活', |
|
|
|
|
icon: 'ant-design:delete-outlined', |
|
|
|
|
ifShow: record.processDefinition?.suspend===true, |
|
|
|
|
icon: 'fa-solid:toggle-on', |
|
|
|
|
ifShow: record.processDefinition?.suspend, |
|
|
|
|
onClick: handleProcessActive.bind(null, record) |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '挂起', |
|
|
|
|
icon: 'ant-design:delete-outlined', |
|
|
|
|
ifShow: record.processDefinition?.suspend===false, |
|
|
|
|
icon: 'fa-solid:toggle-off', |
|
|
|
|
ifShow: !record.processDefinition?.suspend, |
|
|
|
|
onClick: handleProcessSuspend.bind(null, record) |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '导出', |
|
|
|
|
icon: 'ant-design:delete-outlined', |
|
|
|
|
icon: 'fa-solid:file-import', |
|
|
|
|
onClick: handleExportXml.bind(null, record) |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '复制', |
|
|
|
|
icon: 'ant-design:delete-outlined', |
|
|
|
|
icon: 'ant-design:copy-outlined', |
|
|
|
|
onClick: handleCopy.bind(null, record) |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|