From 72ac227ecf97aa0921e9deafb8f6f5b1493e1548 Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: Thu, 14 Nov 2024 16:20:34 +0800
Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84=E6=93=8D?=
=?UTF-8?q?=E4=BD=9C=E6=97=A5=E5=BF=97=E8=AF=A6=E6=83=85=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 5 +-
src/views/monitor/operlog/index.vue | 57 +--------
.../monitor/operlog/oper-info-dialog.vue | 111 ++++++++++++++++++
3 files changed, 120 insertions(+), 53 deletions(-)
create mode 100644 src/views/monitor/operlog/oper-info-dialog.vue
diff --git a/package.json b/package.json
index e67d60f2..40478ad9 100644
--- a/package.json
+++ b/package.json
@@ -43,6 +43,7 @@
"vue": "3.4.34",
"vue-cropper": "1.1.1",
"vue-i18n": "9.10.2",
+ "vue-json-pretty": "^2.4.0",
"vue-router": "4.3.2",
"vue-types": "5.1.1",
"vxe-table": "4.5.22"
@@ -66,10 +67,10 @@
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-define-config": "2.1.0",
+ "eslint-plugin-import": "2.29.1",
+ "eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-promise": "6.1.1",
- "eslint-plugin-node": "11.1.0",
- "eslint-plugin-import": "2.29.1",
"eslint-plugin-vue": "9.23.0",
"fast-glob": "3.3.2",
"postcss": "8.4.36",
diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue
index ed0d7551..fcecab7c 100644
--- a/src/views/monitor/operlog/index.vue
+++ b/src/views/monitor/operlog/index.vue
@@ -123,56 +123,14 @@
-
-
-
-
- {{ form.operName }} / {{ form.deptName }} / {{ form.operIp }} / {{ form.operLocation }}
-
-
- {{ form.requestMethod }} {{ form.operUrl }}
-
-
- {{ form.title }} / {{ typeFormat(form) }}
-
-
- {{ form.method }}
-
-
- {{ form.operParam }}
-
-
- {{ form.jsonResult }}
-
-
-
- 正常
- 失败
-
-
-
- {{ form.costTime }}毫秒
-
-
- {{ parseTime(form.operTime) }}
-
-
- {{ form.errorMsg }}
-
-
-
-
-
-
-
+
+
+
--
Gitee
From cdbbca43c4466d36e9cef08b81cb0fe689c6da25 Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: Thu, 14 Nov 2024 16:23:16 +0800
Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=E9=94=81=E5=AE=9Avue-json-pretty?=
=?UTF-8?q?=E7=89=88=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 40478ad9..9eaf7433 100644
--- a/package.json
+++ b/package.json
@@ -43,7 +43,7 @@
"vue": "3.4.34",
"vue-cropper": "1.1.1",
"vue-i18n": "9.10.2",
- "vue-json-pretty": "^2.4.0",
+ "vue-json-pretty": "2.4.0",
"vue-router": "4.3.2",
"vue-types": "5.1.1",
"vxe-table": "4.5.22"
--
Gitee