fix: 在线用户部门列隐藏

This commit is contained in:
TsMask
2023-11-24 17:16:58 +08:00
parent f3fc415338
commit 5accdd1b31
3 changed files with 7 additions and 14 deletions

View File

@@ -831,7 +831,6 @@ export default {
online:{
mettingId:'Session Number',
account:'Account',
class:'Department',
host:'Host',
loginDes:'Login Location',
os:'OS',

View File

@@ -831,7 +831,6 @@ export default {
online:{
mettingId:'会话编号',
account:'登录账号',
class:'所属部门',
host:'登录主机',
loginDes:'登录地点',
os:'操作系统',

View File

@@ -64,11 +64,6 @@ let tableColumns: ColumnsType = [
dataIndex: 'userName',
align: 'center',
},
{
title: t('views.monitor.online.class'),
dataIndex: 'deptName',
align: 'center',
},
{
title: t('views.monitor.online.host'),
dataIndex: 'ipaddr',
@@ -270,7 +265,7 @@ onMounted(() => {
</a-tooltip>
<a-tooltip>
<template #title>{{ t('common.reloadText') }}</template>
<a-button type="text" @click.prevent="fnGetList">
<a-button type="text" @click.prevent="fnGetList()">
<template #icon><ReloadOutlined /></template>
</a-button>
</a-tooltip>
@@ -285,14 +280,14 @@ onMounted(() => {
:selected-keys="[tableState.size as string]"
@click="fnTableSize"
>
<a-menu-item key="default"
>{{ t('common.size.default') }}
<a-menu-item key="default">
{{ t('common.size.default') }}
</a-menu-item>
<a-menu-item key="middle"
>{{ t('common.size.middle') }}
<a-menu-item key="middle">
{{ t('common.size.middle') }}
</a-menu-item>
<a-menu-item key="small"
>{{ t('common.size.small') }}
<a-menu-item key="small">
{{ t('common.size.small') }}
</a-menu-item>
</a-menu>
</template>