mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-01 11:47:51 +08:00
fix ui process-instance delete funcation disabled condition.
This commit is contained in:
parent
17c06ce966
commit
0e668d1a61
@ -84,7 +84,6 @@
|
|||||||
<el-button type="primary" size="mini" icon="el-icon-date" :disabled="scope.row.releaseState !== 'ONLINE'" @click="_timingManage(scope.row)" circle></el-button>
|
<el-button type="primary" size="mini" icon="el-icon-date" :disabled="scope.row.releaseState !== 'ONLINE'" @click="_timingManage(scope.row)" circle></el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tooltip :content="$t('delete')" placement="top" :enterable="false">
|
<el-tooltip :content="$t('delete')" placement="top" :enterable="false">
|
||||||
<el-button type="danger" size="mini" icon="el-icon-delete" circle></el-button>
|
|
||||||
<el-popconfirm
|
<el-popconfirm
|
||||||
:confirmButtonText="$t('Confirm')"
|
:confirmButtonText="$t('Confirm')"
|
||||||
:cancelButtonText="$t('Cancel')"
|
:cancelButtonText="$t('Cancel')"
|
||||||
|
@ -84,7 +84,6 @@
|
|||||||
<span><el-button type="error" size="mini" :icon="scope.row.state === 'PAUSE' ? 'el-icon-video-play' : 'el-icon-video-pause'" :disabled="scope.row.state !== 'RUNNING_EXECUTION' && scope.row.state !== 'PAUSE'" @click="_suspend(scope.row,scope.$index)" circle></el-button></span>
|
<span><el-button type="error" size="mini" :icon="scope.row.state === 'PAUSE' ? 'el-icon-video-play' : 'el-icon-video-pause'" :disabled="scope.row.state !== 'RUNNING_EXECUTION' && scope.row.state !== 'PAUSE'" @click="_suspend(scope.row,scope.$index)" circle></el-button></span>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tooltip :content="$t('delete')" placement="top" :enterable="false">
|
<el-tooltip :content="$t('delete')" placement="top" :enterable="false">
|
||||||
<el-button type="danger" size="mini" icon="el-icon-delete" circle></el-button>
|
|
||||||
<el-popconfirm
|
<el-popconfirm
|
||||||
:confirmButtonText="$t('Confirm')"
|
:confirmButtonText="$t('Confirm')"
|
||||||
:cancelButtonText="$t('Cancel')"
|
:cancelButtonText="$t('Cancel')"
|
||||||
@ -92,7 +91,7 @@
|
|||||||
iconColor="red"
|
iconColor="red"
|
||||||
:title="$t('Delete?')"
|
:title="$t('Delete?')"
|
||||||
@onConfirm="_delete(scope.row,scope.row.id)">
|
@onConfirm="_delete(scope.row,scope.row.id)">
|
||||||
<el-button type="danger" size="mini" icon="el-icon-delete" :disabled="scope.row.releaseState === 'ONLINE'" circle slot="reference"></el-button>
|
<el-button type="danger" size="mini" icon="el-icon-delete" :disabled="scope.row.state !== 'SUCCESS' && scope.row.state !== 'FAILURE' && scope.row.state !== 'STOP' && scope.row.state !== 'PAUSE'" circle slot="reference"></el-button>
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-tooltip :content="$t('Gantt')" placement="top" :enterable="false">
|
<el-tooltip :content="$t('Gantt')" placement="top" :enterable="false">
|
||||||
|
Loading…
Reference in New Issue
Block a user