|
|
@ -34,9 +34,6 @@ |
|
|
|
<th> |
|
|
|
<th> |
|
|
|
<span>{{$t('Update Time')}}</span> |
|
|
|
<span>{{$t('Update Time')}}</span> |
|
|
|
</th> |
|
|
|
</th> |
|
|
|
<th width="70"> |
|
|
|
|
|
|
|
<span>{{$t('Operation')}}</span> |
|
|
|
|
|
|
|
</th> |
|
|
|
|
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
<tr v-for="(item, $index) in list" :key="$index"> |
|
|
|
<tr v-for="(item, $index) in list" :key="$index"> |
|
|
|
<td> |
|
|
|
<td> |
|
|
@ -48,7 +45,7 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<span>{{item.ipList}}</span> |
|
|
|
<span>{{item.ipList.join(',')}}</span> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<span v-if="item.createTime">{{item.createTime | formatDate}}</span> |
|
|
|
<span v-if="item.createTime">{{item.createTime | formatDate}}</span> |
|
|
@ -58,24 +55,6 @@ |
|
|
|
<span v-if="item.updateTime">{{item.updateTime | formatDate}}</span> |
|
|
|
<span v-if="item.updateTime">{{item.updateTime | formatDate}}</span> |
|
|
|
<span v-else>-</span> |
|
|
|
<span v-else>-</span> |
|
|
|
</td> |
|
|
|
</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> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -128,8 +107,7 @@ |
|
|
|
created () { |
|
|
|
created () { |
|
|
|
this.list = this.workerGroupList |
|
|
|
this.list = this.workerGroupList |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted () { |
|
|
|
mounted () {}, |
|
|
|
}, |
|
|
|
components: {}, |
|
|
|
components: { } |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |