From 18fea86a2c9c7b522ebefec802da5098f39afe27 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 23 十月 2023 20:46:48 +0800 Subject: [PATCH] !53 更新登录日志以及在线用户展示信息 Merge pull request !53 from MichelleChung/dev --- src/views/monitor/online/index.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue index ddbd385..1a25dc5 100644 --- a/src/views/monitor/online/index.vue +++ b/src/views/monitor/online/index.vue @@ -29,6 +29,12 @@ </el-table-column> <el-table-column label="浼氳瘽缂栧彿" align="center" prop="tokenId" :show-overflow-tooltip="true" /> <el-table-column label="鐧诲綍鍚嶇О" align="center" prop="userName" :show-overflow-tooltip="true" /> + <el-table-column label="瀹㈡埛绔�" align="center" prop="clientKey" :show-overflow-tooltip="true" /> + <el-table-column label="璁惧绫诲瀷" align="center"> + <template #default="scope"> + <dict-tag :options="sys_device_type" :value="scope.row.deviceType" /> + </template> + </el-table-column> <el-table-column label="鎵�灞為儴闂�" align="center" prop="deptName" :show-overflow-tooltip="true" /> <el-table-column label="涓绘満" align="center" prop="ipaddr" :show-overflow-tooltip="true" /> <el-table-column label="鐧诲綍鍦扮偣" align="center" prop="loginLocation" :show-overflow-tooltip="true" /> @@ -59,6 +65,7 @@ import { OnlineQuery, OnlineVO } from "@/api/monitor/online/types"; const { proxy } = getCurrentInstance() as ComponentInternalInstance; +const { sys_device_type } = toRefs<any>(proxy?.useDict("sys_device_type")); const onlineList = ref<OnlineVO[]>([]); const loading = ref(true); -- Gitblit v1.9.3