- 0
- 500
-
+
+
+ 512
-
+
+
-
-
+
+
+
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -197,33 +132,16 @@ https://juejin.cn/post/6844903775631572999
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
@@ -232,13 +150,13 @@ https://juejin.cn/post/6844903775631572999
-
+
-
+
-
+
@@ -247,22 +165,8 @@ https://juejin.cn/post/6844903775631572999
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/lms/nladmin-ui/src/views/loki/view/index.vue b/lms/nladmin-ui/src/views/loki/view/index.vue
index 6380fe875..3b5987867 100644
--- a/lms/nladmin-ui/src/views/loki/view/index.vue
+++ b/lms/nladmin-ui/src/views/loki/view/index.vue
@@ -33,6 +33,14 @@
/>
+
+
+
-
-
-
-
-
+
@@ -163,6 +162,7 @@
{{ log.system }}
{{ log.thread }}
+ {{ log.logger }}
{{ log.logLevel }}
{{ log.requestIp }}
{{ log.requestTime }}
@@ -205,6 +205,7 @@ export default {
timeRange: [],
message: '',
traceId: '',
+ requestMethod: '',
size: 20,
logData: [],
filterSql: '1',
@@ -302,6 +303,7 @@ export default {
// 清空查询数据
this.clearParam()
queryParam.logLevel = this.logLevelValue
+ queryParam.requestMethod = this.requestMethod
const time = new Date()
if (this.timeZoneValue !== '') {
queryParam.startTime = new Date(((time.getTime() - this.timeZoneValue)))
@@ -312,7 +314,7 @@ export default {
}
queryParam.message = this.message.replace(/^\s*|\s*$/g, '')
queryParam.filterSql = this.filterSql === '1'
- queryParam.isRequest = this.filterSql === '1'
+ queryParam.isRequest = this.isRequest === '1'
queryParam.traceId = this.traceId
queryParam.size = this.size
queryParam.page = this.page
@@ -323,8 +325,8 @@ export default {
this.total = res.total
// 清空
this.logs = []
- for (const j in res.records) { // 用push的方式将所有日志数组添加进去
- this.logs.push(res.records[j])
+ for (const j in res.page) { // 用push的方式将所有日志数组添加进去
+ this.logs.push(res.page[j])
}
})
},