From 0082fa417fb2af9add3406bf05ab3e3e45890c34 Mon Sep 17 00:00:00 2001
From: rain <1679827795@qq.com>
Date: Thu, 12 Jun 2025 14:30:02 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/drone-web-manage
---
src/views/monitor/log/error.vue | 36 +++++++++++++++++++++++++++++-------
1 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/src/views/monitor/log/error.vue b/src/views/monitor/log/error.vue
index a94c6ca..6bfa8da 100644
--- a/src/views/monitor/log/error.vue
+++ b/src/views/monitor/log/error.vue
@@ -37,8 +37,8 @@
total: 0,
},
option: {
- height: 'auto',
- calcHeight: 32,
+ // height: 'auto',
+ // calcHeight: 32,
tip: false,
searchShow: true,
searchMenuSpan: 6,
@@ -52,16 +52,16 @@
dialogType: 'drawer',
column: [
{
- label: '服务id',
+ label: '服务名称',
prop: 'serviceId',
search: true,
+ searchSpan:4,
width: '120',
},
+
{
label: '服务host',
prop: 'serverHost',
- search: true,
- width: '150',
},
{
label: '服务ip',
@@ -81,6 +81,15 @@
{
label: '请求接口',
prop: 'requestUri',
+ search: true,
+ searchSpan:6,
+ },
+ {
+ label: '操作人',
+ prop: 'createBy',
+ search: true,
+ searchSpan:4,
+ width: '120',
},
{
label: '日志时间',
@@ -151,8 +160,12 @@
this.onLoad(this.page, this.query);
},
onLoad(page, params = {}) {
+ let values = {
+ ...params,
+ ...this.query,
+ };
this.loading = true;
- getErrorList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
+ getErrorList(page.currentPage, page.pageSize, values).then(res => {
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
@@ -163,4 +176,13 @@
};
</script>
-<style></style>
+<style scoped lang="scss">
+ :deep(){
+ .avue-crud__body{
+ .el-form{
+ height: 745px;
+ overflow: auto;
+ }
+ }
+ }
+</style>
--
Gitblit v1.9.3