提交 21fa3148 编写于 作者: B break60

Fix worker grouping

上级 33658d57
...@@ -34,9 +34,9 @@ ...@@ -34,9 +34,9 @@
<th> <th>
<span>{{$t('Update Time')}}</span> <span>{{$t('Update Time')}}</span>
</th> </th>
<th width="70"> <!-- <th width="70">
<span>{{$t('Operation')}}</span> <span>{{$t('Operation')}}</span>
</th> </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 +48,7 @@ ...@@ -48,7 +48,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,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<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> <!-- <td>
<x-button type="info" shape="circle" size="xsmall" data-toggle="tooltip" icon="ans-icon-edit" :title="$t('Edit')" @click="_edit(item)"> <x-button type="info" shape="circle" size="xsmall" data-toggle="tooltip" icon="ans-icon-edit" :title="$t('Edit')" @click="_edit(item)">
</x-button> </x-button>
<x-poptip <x-poptip
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</x-button> </x-button>
</template> </template>
</x-poptip> </x-poptip>
</td> </td> -->
</tr> </tr>
</table> </table>
</div> </div>
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
<m-list-construction :title="$t('Worker group manage')"> <m-list-construction :title="$t('Worker group manage')">
<template slot="conditions"> <template slot="conditions">
<m-conditions @on-conditions="_onConditions"> <m-conditions @on-conditions="_onConditions">
<template slot="button-group" v-if="isADMIN"> <!-- <template slot="button-group" v-if="isADMIN">
<x-button type="ghost" size="small" @click="_create('')">{{$t('Create worker group')}}</x-button> <x-button type="ghost" size="small" @click="_create('')">{{$t('Create worker group')}}</x-button>
</template> </template> -->
</m-conditions> </m-conditions>
</template> </template>
<template slot="content"> <template slot="content">
......
...@@ -374,6 +374,14 @@ const router = new Router({ ...@@ -374,6 +374,14 @@ const router = new Router({
title: `${i18n.$t('Queue manage')}` title: `${i18n.$t('Queue manage')}`
} }
}, },
{
path: '/security/worker-groups',
name: 'worker-groups-manage',
component: resolve => require(['../pages/security/pages/workerGroups/index'], resolve),
meta: {
title: `${i18n.$t('Worker group manage')}`
}
},
{ {
path: '/security/token', path: '/security/token',
name: 'token-manage', name: 'token-manage',
......
...@@ -109,6 +109,15 @@ const menu = { ...@@ -109,6 +109,15 @@ const menu = {
icon: 'ans-icon-recycle', icon: 'ans-icon-recycle',
children: [] children: []
}, },
{
name: `${i18n.$t('Worker group manage')}`,
id: 4,
path: 'worker-groups-manage',
isOpen: true,
disabled: true,
icon: 'ans-icon-diary',
children: []
},
{ {
name: `${i18n.$t('Token manage')}`, name: `${i18n.$t('Token manage')}`,
id: 2, id: 2,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册