|
|
@ -55,12 +55,12 @@ |
|
|
|
<th scope="col" style="min-width: 135px"> |
|
|
|
<th scope="col" style="min-width: 135px"> |
|
|
|
<span>{{$t('Executor')}}</span> |
|
|
|
<span>{{$t('Executor')}}</span> |
|
|
|
</th> |
|
|
|
</th> |
|
|
|
<th scope="col" style="min-width: 100px"> |
|
|
|
<th scope="col" style="min-width: 80px"> |
|
|
|
<div style="width: 100px"> |
|
|
|
<div style="width: 80px"> |
|
|
|
<span>{{$t('host')}}</span> |
|
|
|
<span>{{$t('host')}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</th> |
|
|
|
</th> |
|
|
|
<th scope="col" style="min-width: 210px"> |
|
|
|
<th scope="col" style="min-width: 240px"> |
|
|
|
<span>{{$t('Operation')}}</span> |
|
|
|
<span>{{$t('Operation')}}</span> |
|
|
|
</th> |
|
|
|
</th> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
@ -99,7 +99,7 @@ |
|
|
|
<span v-if="item.host" style="word-break: break-all">{{item.host}}</span> |
|
|
|
<span v-if="item.host" style="word-break: break-all">{{item.host}}</span> |
|
|
|
<span v-else>-</span> |
|
|
|
<span v-else>-</span> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td style="z-index: inherit;"> |
|
|
|
<td style="z-index: inherit; min-width: 240px"> |
|
|
|
<div v-show="item.disabled"> |
|
|
|
<div v-show="item.disabled"> |
|
|
|
<x-button type="info" |
|
|
|
<x-button type="info" |
|
|
|
shape="circle" |
|
|
|
shape="circle" |
|
|
@ -125,6 +125,14 @@ |
|
|
|
@click="_restore(item,$index)" |
|
|
|
@click="_restore(item,$index)" |
|
|
|
icon="ans-icon-fail-empty" |
|
|
|
icon="ans-icon-fail-empty" |
|
|
|
:disabled="item.state !== 'FAILURE'"></x-button> |
|
|
|
:disabled="item.state !== 'FAILURE'"></x-button> |
|
|
|
|
|
|
|
<x-button type="success" |
|
|
|
|
|
|
|
shape="circle" |
|
|
|
|
|
|
|
size="xsmall" |
|
|
|
|
|
|
|
data-toggle="tooltip" |
|
|
|
|
|
|
|
:title="$t('Start From Force Success')" |
|
|
|
|
|
|
|
@click="_startFromForceSuccess(item,$index)" |
|
|
|
|
|
|
|
icon="ans-icon-notice-empty" |
|
|
|
|
|
|
|
:disabled="item.state !== 'FORCED_SUCCESS'"></x-button> |
|
|
|
<x-button type="error" |
|
|
|
<x-button type="error" |
|
|
|
shape="circle" |
|
|
|
shape="circle" |
|
|
|
size="xsmall" |
|
|
|
size="xsmall" |
|
|
@ -219,6 +227,24 @@ |
|
|
|
disabled="true"> |
|
|
|
disabled="true"> |
|
|
|
</x-button> |
|
|
|
</x-button> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--Start from forced success--> |
|
|
|
|
|
|
|
<x-button |
|
|
|
|
|
|
|
v-show="buttonType === 'forced'" |
|
|
|
|
|
|
|
type="success" |
|
|
|
|
|
|
|
shape="circle" |
|
|
|
|
|
|
|
size="xsmall" |
|
|
|
|
|
|
|
disabled="true"> |
|
|
|
|
|
|
|
{{item.count}} |
|
|
|
|
|
|
|
</x-button> |
|
|
|
|
|
|
|
<x-button |
|
|
|
|
|
|
|
v-show="buttonType !== 'forced'" |
|
|
|
|
|
|
|
type="success" |
|
|
|
|
|
|
|
shape="circle" |
|
|
|
|
|
|
|
size="xsmall" |
|
|
|
|
|
|
|
icon="ans-icon-notice-empty" |
|
|
|
|
|
|
|
disabled="true"> |
|
|
|
|
|
|
|
</x-button> |
|
|
|
|
|
|
|
|
|
|
|
<!--Stop--> |
|
|
|
<!--Stop--> |
|
|
|
<!--<x-button--> |
|
|
|
<!--<x-button--> |
|
|
|
<!--type="error"--> |
|
|
|
<!--type="error"--> |
|
|
@ -422,6 +448,18 @@ |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Start from force success |
|
|
|
|
|
|
|
* @param START_FROM_FORCED_SUCCESS |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
_startFromForceSuccess (item, index) { |
|
|
|
|
|
|
|
this._countDownFn({ |
|
|
|
|
|
|
|
id: item.id, |
|
|
|
|
|
|
|
executeType: 'START_FROM_FORCED_SUCCESS', |
|
|
|
|
|
|
|
index: index, |
|
|
|
|
|
|
|
buttonType: 'forced' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
/** |
|
|
|
/** |
|
|
|
* pause |
|
|
|
* pause |
|
|
|
* @param PAUSE |
|
|
|
* @param PAUSE |
|
|
@ -570,6 +608,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created () { |
|
|
|
created () { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted () { |
|
|
|
mounted () { |
|
|
|
}, |
|
|
|
}, |
|
|
|