|
|
|
@ -34,9 +34,6 @@
|
|
|
|
|
<th> |
|
|
|
|
<span>{{$t('Update Time')}}</span> |
|
|
|
|
</th> |
|
|
|
|
<th width="70"> |
|
|
|
|
<span>{{$t('Operation')}}</span> |
|
|
|
|
</th> |
|
|
|
|
</tr> |
|
|
|
|
<tr v-for="(item, $index) in list" :key="$index"> |
|
|
|
|
<td> |
|
|
|
@ -48,7 +45,7 @@
|
|
|
|
|
</span> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<span>{{item.ipList}}</span> |
|
|
|
|
<span>{{item.ipList.join(',')}}</span> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<span v-if="item.createTime">{{item.createTime | formatDate}}</span> |
|
|
|
@ -58,24 +55,6 @@
|
|
|
|
|
<span v-if="item.updateTime">{{item.updateTime | formatDate}}</span> |
|
|
|
|
<span v-else>-</span> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<x-button type="info" shape="circle" size="xsmall" data-toggle="tooltip" icon="ans-icon-edit" :title="$t('Edit')" @click="_edit(item)"> |
|
|
|
|
</x-button> |
|
|
|
|
<x-poptip |
|
|
|
|
:ref="'poptip-delete-' + $index" |
|
|
|
|
placement="bottom-end" |
|
|
|
|
width="90"> |
|
|
|
|
<p>{{$t('Delete?')}}</p> |
|
|
|
|
<div style="text-align: right; margin: 0;padding-top: 4px;"> |
|
|
|
|
<x-button type="text" size="xsmall" shape="circle" @click="_closeDelete($index)">{{$t('Cancel')}}</x-button> |
|
|
|
|
<x-button type="primary" size="xsmall" shape="circle" @click="_delete(item,$index)">{{$t('Confirm')}}</x-button> |
|
|
|
|
</div> |
|
|
|
|
<template slot="reference"> |
|
|
|
|
<x-button type="error" shape="circle" size="xsmall" data-toggle="tooltip" icon="ans-icon-trash" :title="$t('delete')"> |
|
|
|
|
</x-button> |
|
|
|
|
</template> |
|
|
|
|
</x-poptip> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
@ -128,8 +107,7 @@
|
|
|
|
|
created () { |
|
|
|
|
this.list = this.workerGroupList |
|
|
|
|
}, |
|
|
|
|
mounted () { |
|
|
|
|
}, |
|
|
|
|
components: { } |
|
|
|
|
mounted () {}, |
|
|
|
|
components: {}, |
|
|
|
|
} |
|
|
|
|
</script> |