Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
log-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
log-platform
Commits
28564da7
Commit
28564da7
authored
Jun 19, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加设备日志类型筛选
parent
c0b54c66
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
10 deletions
+29
-10
db/menu.sql
db/menu.sql
+21
-1
log-manager-ui/admin/src/views/error/log/list.vue
log-manager-ui/admin/src/views/error/log/list.vue
+6
-7
log-manager/src/main/java/com/mortals/xhx/module/biz/web/BizLogController.java
...java/com/mortals/xhx/module/biz/web/BizLogController.java
+1
-1
log-manager/src/main/java/com/mortals/xhx/module/error/web/ErrorLogController.java
.../com/mortals/xhx/module/error/web/ErrorLogController.java
+1
-1
No files found.
db/menu.sql
View file @
28564da7
...
@@ -76,7 +76,7 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'pla
...
@@ -76,7 +76,7 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'pla
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'device-manager'
,
'设备管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'device-manager'
,
'设备管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'portal-manager'
,
'门户管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'portal-manager'
,
'门户管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'log-manager'
,
'日志管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'log-manager'
,
'日志管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'sample-manager'
,
'样表管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'sample-
form-
manager'
,
'样表管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'fill-manager'
,
'填单管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'fill-manager'
,
'填单管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'refined-manager'
,
'精细化管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'refined-manager'
,
'精细化管理服务'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'log_wechat'
,
'微官网/预约'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'log_wechat'
,
'微官网/预约'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
...
@@ -87,3 +87,23 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'pla
...
@@ -87,3 +87,23 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'pla
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'log_pjdevice'
,
'评价系统'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'log_pjdevice'
,
'评价系统'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'log_guide'
,
'导视系统'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'平台标识'
,
'OperateLog'
,
'platformMark'
,
'log_guide'
,
'导视系统'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'pdj'
,
'排队机'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'ckp'
,
'窗口屏'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'hjq'
,
'呼叫器'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'jzxsp'
,
'集中显示屏'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'pjq'
,
'评价器'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'xxfbp'
,
'信息发布屏'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'dsj'
,
'导视机'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'zzfwzd'
,
'自助服务终端'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'tdj'
,
'填单机'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'ybj'
,
'样表机'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'ymt'
,
'一码通'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'ledtp'
,
'LED通屏'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'qjg'
,
'取件柜'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'bkb'
,
'背靠背评价设备'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'zzfwzd'
,
'自助终端'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'zmszzfwzd'
,
'桌面式自助服务终端'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'dzmp'
,
'电子门牌'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'hysdzmp'
,
'会议室电子门牌'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'device-manager'
,
'设备管理系统'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
log-manager-ui/admin/src/views/error/log/list.vue
View file @
28564da7
...
@@ -50,12 +50,11 @@
...
@@ -50,12 +50,11 @@
label
:
"
TraceId
"
,
label
:
"
TraceId
"
,
fuzzy
:
true
fuzzy
:
true
},
},
{
{
name
:
"
appName
"
,
name
:
"
appName
"
,
type
:
"
text
"
,
type
:
"
select
"
,
label
:
"
应用标识
"
,
label
:
"
应用名称
"
fuzzy
:
true
},
},
{
{
name
:
"
message
"
,
name
:
"
message
"
,
type
:
"
text
"
,
type
:
"
text
"
,
...
@@ -67,7 +66,7 @@
...
@@ -67,7 +66,7 @@
{
type
:
"
index
"
,
label
:
"
序号
"
,
align
:
"
center
"
,
width
:
50
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
align
:
"
center
"
,
width
:
50
},
{
label
:
"
追踪Id
"
,
prop
:
"
traceID
"
},
{
label
:
"
追踪Id
"
,
prop
:
"
id
"
},
{
label
:
"
应用名称
"
,
prop
:
"
appName
"
},
{
label
:
"
应用名称
"
,
prop
:
"
appName
"
},
...
...
log-manager/src/main/java/com/mortals/xhx/module/biz/web/BizLogController.java
View file @
28564da7
...
@@ -43,7 +43,7 @@ public class BizLogController extends BaseCRUDJsonBodyMappingController<BizLogSe
...
@@ -43,7 +43,7 @@ public class BizLogController extends BaseCRUDJsonBodyMappingController<BizLogSe
@Override
@Override
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"appName"
,
paramService
.
getParamBySecondOrganize
(
"
Operate
Log"
,
"appName"
));
this
.
addDict
(
model
,
"appName"
,
paramService
.
getParamBySecondOrganize
(
"
Biz
Log"
,
"appName"
));
super
.
init
(
model
,
context
);
super
.
init
(
model
,
context
);
}
}
...
...
log-manager/src/main/java/com/mortals/xhx/module/error/web/ErrorLogController.java
View file @
28564da7
...
@@ -46,7 +46,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
...
@@ -46,7 +46,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"platform"
,
paramService
.
getParamBySecondOrganize
(
"ErrorLog"
,
"platform"
));
this
.
addDict
(
model
,
"platform"
,
paramService
.
getParamBySecondOrganize
(
"ErrorLog"
,
"platform"
));
this
.
addDict
(
model
,
"level"
,
paramService
.
getParamBySecondOrganize
(
"ErrorLog"
,
"level"
));
this
.
addDict
(
model
,
"level"
,
paramService
.
getParamBySecondOrganize
(
"ErrorLog"
,
"level"
));
this
.
addDict
(
model
,
"appName"
,
paramService
.
getParamBySecondOrganize
(
"
OperateLog"
,
"platformMark
"
));
this
.
addDict
(
model
,
"appName"
,
paramService
.
getParamBySecondOrganize
(
"
BizLog"
,
"appName
"
));
super
.
init
(
model
,
context
);
super
.
init
(
model
,
context
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment