Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
450354b2
Commit
450354b2
authored
Jun 02, 2022
by
zhangzhijie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公共管理对外服务完善日志记录,新增“服务统计”模块
parent
6dc29a23
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
18 deletions
+46
-18
src/api/commonServer.js
+6
-0
src/router/modules/commonServer.js
+9
-0
src/views/commonServer/basicAnlysisServer/basicAnlysisServer.vue
+8
-0
src/views/commonServer/basicCommonManageServer/serverAccessStatistics.vue
+0
-0
src/views/commonServer/basicCommonManageServer/serverLogModule.vue
+23
-18
src/views/commonServer/basicServerModule.vue
+0
-0
No files found.
src/api/commonServer.js
View file @
450354b2
...
@@ -37,3 +37,9 @@ export const uploadServerInstructionFile = params =>
...
@@ -37,3 +37,9 @@ export const uploadServerInstructionFile = params =>
//删除服务使用说明
//删除服务使用说明
export
const
removeServerInstruction
=
params
=>
export
const
removeServerInstruction
=
params
=>
post
(
`
${
base
.
alyIP
}
/commonServer/removeServerInstruction`
,
params
);
post
(
`
${
base
.
alyIP
}
/commonServer/removeServerInstruction`
,
params
);
export
const
childServerLogging
=
params
=>
post
(
`
${
base
.
alyIP
}
/commonServer/childServerLogging`
,
params
);
export
const
getAccessStatistics
=
params
=>
post
(
`
${
base
.
alyIP
}
/commonServer/getAccessStatistics`
,
params
);
src/router/modules/commonServer.js
View file @
450354b2
...
@@ -29,6 +29,15 @@ const menuLayouts = [
...
@@ -29,6 +29,15 @@ const menuLayouts = [
component
:
()
=>
import
(
"@/views/commonServer/basicCommonManageServer/serverLogModule.vue"
)
component
:
()
=>
import
(
"@/views/commonServer/basicCommonManageServer/serverLogModule.vue"
)
},
},
{
{
path
:
"/serverAccessStatistics"
,
name
:
"serverAccessStatistics"
,
meta
:
{
isAdd
:
false
,
title
:
'服务访问统计'
},
component
:
()
=>
import
(
"@/views/commonServer/basicCommonManageServer/serverAccessStatistics.vue"
)
},
{
path
:
"/serverInstructionsManage"
,
path
:
"/serverInstructionsManage"
,
name
:
"serverInstructionsManage"
,
name
:
"serverInstructionsManage"
,
meta
:
{
meta
:
{
...
...
src/views/commonServer/basicAnlysisServer/basicAnlysisServer.vue
View file @
450354b2
...
@@ -293,6 +293,14 @@ export default {
...
@@ -293,6 +293,14 @@ export default {
disabled
:
false
,
disabled
:
false
,
},
},
{
{
id
:
"serverAccessStatistics"
,
label
:
"服务访问统计"
,
index
:
"serverAccessStatistics"
,
auth
:
"M0101"
,
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
{
id
:
"serverInstructionsManage"
,
id
:
"serverInstructionsManage"
,
label
:
"服务说明管理"
,
label
:
"服务说明管理"
,
index
:
"serverInstructionsManage"
,
index
:
"serverInstructionsManage"
,
...
...
src/views/commonServer/basicCommonManageServer/serverAccessStatistics.vue
0 → 100644
View file @
450354b2
This diff is collapsed.
Click to expand it.
src/views/commonServer/basicCommonManageServer/serverLogModule.vue
View file @
450354b2
...
@@ -12,19 +12,19 @@
...
@@ -12,19 +12,19 @@
<el-form
ref=
"form"
label-width=
"110px"
>
<el-form
ref=
"form"
label-width=
"110px"
>
<el-row>
<el-row>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
操作
人:"
style=
"text-align: left;"
>
<el-form-item
label=
"
访问
人:"
style=
"text-align: left;"
>
<el-input
v-model=
"search.operationUserName"
placeholder=
"请输入
操作
人姓名"
style=
"width:100%"
>
<el-input
v-model=
"search.operationUserName"
placeholder=
"请输入
访问
人姓名"
style=
"width:100%"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
操作
人单位:"
>
<el-form-item
label=
"
访问
人单位:"
>
<el-input
v-model=
"search.operationUnitName"
placeholder=
"请输入
操作
人单位"
>
<el-input
v-model=
"search.operationUnitName"
placeholder=
"请输入
访问
人单位"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
操作
模块:"
>
<el-form-item
label=
"
访问
模块:"
>
<el-input
v-model=
"search.operationServerName"
placeholder=
"请输入服务名称"
></el-input>
<el-input
v-model=
"search.operationServerName"
placeholder=
"请输入服务名称"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<el-row>
<el-row>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"
操作
时间:"
>
<el-form-item
label=
"
访问
时间:"
>
<el-date-picker
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
type=
"date"
<el-date-picker
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"请选择查询时间"
v-model=
"search.operationTime"
>
placeholder=
"请选择查询时间"
v-model=
"search.operationTime"
>
</el-date-picker>
</el-date-picker>
...
@@ -52,10 +52,10 @@
...
@@ -52,10 +52,10 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-button-group
style=
"margin-left: 2.5%"
>
<el-button-group
style=
"margin-left: 2.5%"
>
<el-button
size=
"mini"
type=
"primary"
icon=
"el-icon-search"
@
click=
"dataSearch"
>
查询
</el-button>
<el-button
size=
"mini"
type=
"primary"
icon=
"el-icon-search"
@
click=
"dataSearch"
>
查询
</el-button>
<el-button
size=
"mini"
icon=
"el-icon-minus"
@
click=
"reset"
>
重置
</el-button>
<el-button
size=
"mini"
icon=
"el-icon-minus"
@
click=
"reset"
>
重置
</el-button>
</el-button-group>
</el-button-group>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -70,23 +70,27 @@
...
@@ -70,23 +70,27 @@
<el-table
:data=
"tableData"
v-loading=
"tableLoading"
stripe
element-loading-spinner=
"el-icon-loading"
>
<el-table
:data=
"tableData"
v-loading=
"tableLoading"
stripe
element-loading-spinner=
"el-icon-loading"
>
<el-table-column
label=
"序号"
type=
"index"
width=
"75"
align=
"center"
></el-table-column>
<el-table-column
label=
"序号"
type=
"index"
width=
"75"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作类型"
align=
"center"
>
<el-table-column
label=
"操作类型"
align=
"center"
>
<template
slot-scope
=
"scope"
>
<template
v-slot
=
"scope"
>
<p
v-if=
"scope.row.operationType == '1'"
>
新增
</p>
<p
v-if=
"scope.row.operationType == '1'"
>
新增
</p>
<p
v-if=
"scope.row.operationType == '2'"
>
删除
</p>
<p
v-if=
"scope.row.operationType == '2'"
>
删除
</p>
<p
v-if=
"scope.row.operationType == '3'"
>
修改
</p>
<p
v-if=
"scope.row.operationType == '3'"
>
修改
</p>
<p
v-if=
"scope.row.operationType == '4'"
>
查询
</p>
<p
v-if=
"scope.row.operationType == '4'"
>
查询
</p>
<p
v-if=
"scope.row.operationType == '5'"
>
申请
</p>
<p
v-if=
"scope.row.operationType == '5'"
>
申请
</p>
<p
v-if=
"scope.row.operationType == '6'"
>
审批
</p>
<p
v-if=
"scope.row.operationType == '6'"
>
审批
</p>
<p
v-if=
"scope.row.operationType == '7'"
>
下载
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作模块"
prop=
"operationServerName"
align=
"center"
></el-table-column>
<el-table-column
label=
"访问模块"
prop=
"operationServerName"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作业务"
prop=
"operationName"
align=
"center"
></el-table-column>
<el-table-column
label=
"访问业务"
prop=
"operationName"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作人"
prop=
"operationUserName"
align=
"center"
></el-table-column>
<el-table-column
label=
"访问人"
prop=
"operationUserName"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作人单位"
prop=
"operationUnitName"
align=
"center"
></el-table-column>
<el-table-column
label=
"访问人单位"
prop=
"operationUnitName"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作时间"
prop=
"operationTime"
align=
"center"
></el-table-column>
<el-table-column
label=
"访问时间"
prop=
"operationTime"
align=
"center"
></el-table-column>
<el-table-column
label=
"访问ip"
prop=
"operationIp"
align=
"center"
></el-table-column>
<!--
<el-table-column label="请求参数" prop="parameterDetail" align="center"></el-table-column>
-->
<el-table-column
label=
"操作"
align=
"center"
width=
"250"
>
<el-table-column
label=
"操作"
align=
"center"
width=
"250"
>
<
template
slot-scope
=
"scope"
>
<
template
v-slot
=
"scope"
>
<el-button
type=
"text"
size=
"mini "
@
click=
"removeLog(scope.row)"
>
删除日志
</el-button>
<el-button
type=
"text"
size=
"mini "
@
click=
"removeLog(scope.row)"
>
删除日志
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -125,6 +129,7 @@ export default {
...
@@ -125,6 +129,7 @@ export default {
{
id
:
"4"
,
value
:
"查询"
},
{
id
:
"4"
,
value
:
"查询"
},
{
id
:
"5"
,
value
:
"申请"
},
{
id
:
"5"
,
value
:
"申请"
},
{
id
:
"6"
,
value
:
"审批"
},
{
id
:
"6"
,
value
:
"审批"
},
{
id
:
"7"
,
value
:
"下载"
},
],
],
search
:
{
search
:
{
OperationType
:
''
,
OperationType
:
''
,
...
...
src/views/commonServer/basicServerModule.vue
View file @
450354b2
This diff is collapsed.
Click to expand it.
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