From 56b8deaea4ebaff6665af1c846b3e87283aa04d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com>
Date: Fri, 21 Jul 2023 18:33:16 +0800
Subject: [PATCH] =?UTF-8?q?:art:=E4=BC=98=E5=8C=96ui?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/monitor/logininfor/index.vue | 27 +++++++++++++++++---------
src/views/monitor/onlineuser/index.vue | 8 ++++++--
src/views/monitor/operlog/index.vue | 23 ++++++++++++----------
3 files changed, 37 insertions(+), 21 deletions(-)
diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue
index dfaf2f8..0884f8e 100644
--- a/src/views/monitor/logininfor/index.vue
+++ b/src/views/monitor/logininfor/index.vue
@@ -15,7 +15,6 @@
-
+
-
+
-
-
+
+
+ {{ row.loginLocation }}
+ {{ row.ipaddr }}
+
+
+
@@ -61,6 +65,11 @@
{{ scope.row.loginTime }}
+
+
+ 删除
+
+
@@ -92,7 +101,7 @@ const queryParams = reactive({
pageSize: 10,
ipaddr: undefined,
userName: undefined,
- status: undefined,
+ status: undefined
})
const { proxy } = getCurrentInstance()
@@ -142,7 +151,7 @@ function handleDelete(row) {
.$confirm('是否确认删除访问编号为"' + infoIds + '"的数据项?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning',
+ type: 'warning'
})
.then(function () {
return delLogininfor(infoIds)
@@ -158,7 +167,7 @@ function handleClean() {
.$confirm('是否确认清空所有登录日志数据项?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning',
+ type: 'warning'
})
.then(function () {
return cleanLogininfor()
@@ -174,7 +183,7 @@ function handleExport() {
.$confirm('是否确认导出所有操作日志数据项?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning',
+ type: 'warning'
})
.then(function () {
return exportLogininfor(queryParams)
diff --git a/src/views/monitor/onlineuser/index.vue b/src/views/monitor/onlineuser/index.vue
index 9465ef4..efe96a6 100644
--- a/src/views/monitor/onlineuser/index.vue
+++ b/src/views/monitor/onlineuser/index.vue
@@ -15,8 +15,12 @@
-
-
+
+
+ {{ row.location }}
+ {{ row.userIP }}
+
+
diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue
index aca155a..f4aad9b 100644
--- a/src/views/monitor/operlog/index.vue
+++ b/src/views/monitor/operlog/index.vue
@@ -62,13 +62,13 @@
-
-
+
+
+
+ {{ row.operLocation }}
+ {{ row.operIp }}
+
+
@@ -96,6 +96,7 @@
详细
+ 删除
@@ -143,7 +144,9 @@
- {{ form.errorMsg }}
+
+ {{ form.errorMsg }}
+
@@ -205,9 +208,9 @@ const columns = ref([
{ visible: true, prop: 'operName', label: '操作人员' },
// { visible: true, prop: 'deptName', label: '部门' },
// { visible: true, prop: 'operUrl', label: '请求地址' },
- { visible: true, prop: 'operIP', label: '请求IP' },
+ // { visible: true, prop: 'operIP', label: '请求IP' },
{ visible: true, prop: 'status', label: '操作状态' },
- { visible: true, prop: 'operLocation', label: '操作人地址' },
+ // { visible: true, prop: 'operLocation', label: '操作人地址' },
{ visible: true, prop: 'operTime', label: '操作时间' },
{ visible: false, prop: 'method', label: '操作方法' },
{ visible: false, prop: 'operParam', label: '请求参数' },