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:{ online:{
mettingId:'Session Number', mettingId:'Session Number',
account:'Account', account:'Account',
class:'Department',
host:'Host', host:'Host',
loginDes:'Login Location', loginDes:'Login Location',
os:'OS', os:'OS',

View File

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

View File

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