|
|
@ -73,7 +73,6 @@ |
|
|
|
data-toggle="tooltip" |
|
|
|
data-toggle="tooltip" |
|
|
|
:title="$t('Edit')" |
|
|
|
:title="$t('Edit')" |
|
|
|
@click="_reEdit(item)" |
|
|
|
@click="_reEdit(item)" |
|
|
|
v-ps="['GENERAL_USER']" |
|
|
|
|
|
|
|
icon="iconfont icon-bianjixiugai" |
|
|
|
icon="iconfont icon-bianjixiugai" |
|
|
|
:disabled="item.state !== 'SUCCESS' && item.state !== 'PAUSE' && item.state !== 'FAILURE' && item.state !== 'STOP'"></x-button> |
|
|
|
:disabled="item.state !== 'SUCCESS' && item.state !== 'PAUSE' && item.state !== 'FAILURE' && item.state !== 'STOP'"></x-button> |
|
|
|
<x-button type="info" |
|
|
|
<x-button type="info" |
|
|
@ -82,7 +81,6 @@ |
|
|
|
data-toggle="tooltip" |
|
|
|
data-toggle="tooltip" |
|
|
|
:title="$t('Rerun')" |
|
|
|
:title="$t('Rerun')" |
|
|
|
@click="_reRun(item,$index)" |
|
|
|
@click="_reRun(item,$index)" |
|
|
|
v-ps="['GENERAL_USER']" |
|
|
|
|
|
|
|
icon="iconfont icon-shuaxin" |
|
|
|
icon="iconfont icon-shuaxin" |
|
|
|
:disabled="item.state !== 'SUCCESS' && item.state !== 'PAUSE' && item.state !== 'FAILURE' && item.state !== 'STOP'"></x-button> |
|
|
|
:disabled="item.state !== 'SUCCESS' && item.state !== 'PAUSE' && item.state !== 'FAILURE' && item.state !== 'STOP'"></x-button> |
|
|
|
<x-button type="success" |
|
|
|
<x-button type="success" |
|
|
@ -91,7 +89,6 @@ |
|
|
|
data-toggle="tooltip" |
|
|
|
data-toggle="tooltip" |
|
|
|
:title="$t('Recovery Failed')" |
|
|
|
:title="$t('Recovery Failed')" |
|
|
|
@click="_restore(item,$index)" |
|
|
|
@click="_restore(item,$index)" |
|
|
|
v-ps="['GENERAL_USER']" |
|
|
|
|
|
|
|
icon="iconfont icon-cuowuguanbishibai" |
|
|
|
icon="iconfont icon-cuowuguanbishibai" |
|
|
|
:disabled="item.state !== 'FAILURE'"></x-button> |
|
|
|
:disabled="item.state !== 'FAILURE'"></x-button> |
|
|
|
<x-button type="error" |
|
|
|
<x-button type="error" |
|
|
@ -100,7 +97,6 @@ |
|
|
|
data-toggle="tooltip" |
|
|
|
data-toggle="tooltip" |
|
|
|
:title="$t('Stop')" |
|
|
|
:title="$t('Stop')" |
|
|
|
@click="_stop(item)" |
|
|
|
@click="_stop(item)" |
|
|
|
v-ps="['GENERAL_USER']" |
|
|
|
|
|
|
|
icon="iconfont icon-zanting1" |
|
|
|
icon="iconfont icon-zanting1" |
|
|
|
:disabled="item.state !== 'RUNNING_EXEUTION'"></x-button> |
|
|
|
:disabled="item.state !== 'RUNNING_EXEUTION'"></x-button> |
|
|
|
<x-button type="warning" |
|
|
|
<x-button type="warning" |
|
|
@ -109,7 +105,6 @@ |
|
|
|
data-toggle="tooltip" |
|
|
|
data-toggle="tooltip" |
|
|
|
:title="item.state === 'PAUSE' ? $t('Recovery Suspend') : $t('Pause')" |
|
|
|
:title="item.state === 'PAUSE' ? $t('Recovery Suspend') : $t('Pause')" |
|
|
|
@click="_suspend(item,$index)" |
|
|
|
@click="_suspend(item,$index)" |
|
|
|
v-ps="['GENERAL_USER']" |
|
|
|
|
|
|
|
:icon="item.state === 'PAUSE' ? 'iconfont icon-ai06' : 'iconfont icon-zanting'" |
|
|
|
:icon="item.state === 'PAUSE' ? 'iconfont icon-ai06' : 'iconfont icon-zanting'" |
|
|
|
:disabled="item.state !== 'RUNNING_EXEUTION' && item.state !== 'PAUSE'"></x-button> |
|
|
|
:disabled="item.state !== 'RUNNING_EXEUTION' && item.state !== 'PAUSE'"></x-button> |
|
|
|
<x-poptip |
|
|
|
<x-poptip |
|
|
@ -128,8 +123,7 @@ |
|
|
|
shape="circle" |
|
|
|
shape="circle" |
|
|
|
size="xsmall" |
|
|
|
size="xsmall" |
|
|
|
data-toggle="tooltip" |
|
|
|
data-toggle="tooltip" |
|
|
|
:title="$t('delete')" |
|
|
|
:title="$t('delete')"> |
|
|
|
v-ps="['GENERAL_USER']"> |
|
|
|
|
|
|
|
</x-button> |
|
|
|
</x-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</x-poptip> |
|
|
|
</x-poptip> |
|
|
|