Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
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
Administrator
web-monitor
Commits
8e9af031
Commit
8e9af031
authored
Jan 16, 2025
by
dupengyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
401752ab
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
3 deletions
+21
-3
menu.js
src/api/menu.js
+9
-0
index.vue
src/views/jobgroup/jobinfo/index.vue
+0
-2
index.vue
src/views/setting/auto/index.vue
+11
-1
monitorTable.vue
src/views/setting/statistics/comp/monitorTable.vue
+1
-0
No files found.
src/api/menu.js
0 → 100644
View file @
8e9af031
import
request
from
'@/utils/request'
// 获取路由
export
const
getRouters
=
()
=>
{
return
request
({
url
:
'/api/user/getRouters'
,
method
:
'get'
})
}
\ No newline at end of file
src/views/jobgroup/jobinfo/index.vue
View file @
8e9af031
...
@@ -86,7 +86,6 @@
...
@@ -86,7 +86,6 @@
<el-dropdown-item
:command=
"
{ name: 'a', data: scope.row }"
<el-dropdown-item
:command=
"
{ name: 'a', data: scope.row }"
>执行一次
</el-dropdown-item
>执行一次
</el-dropdown-item
>
>
<el-dropdown-item>
查询日志
</el-dropdown-item>
<el-dropdown-item
:command=
"
{ name: 'c', data: scope.row }"
<el-dropdown-item
:command=
"
{ name: 'c', data: scope.row }"
>注册节点
</el-dropdown-item
>注册节点
</el-dropdown-item
>
>
...
@@ -109,7 +108,6 @@
...
@@ -109,7 +108,6 @@
<el-dropdown-item
:command=
"
{ name: 'g', data: scope.row }"
<el-dropdown-item
:command=
"
{ name: 'g', data: scope.row }"
>删除
</el-dropdown-item
>删除
</el-dropdown-item
>
>
<el-dropdown-item>
复制
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</
template
>
</
template
>
...
...
src/views/setting/auto/index.vue
View file @
8e9af031
<
template
>
<
template
>
<div>
<div>
<div
class=
"list"
>
<div
style=
"margin-bottom: 12px"
>
<el-button
type=
"primary"
@
click=
"refresh"
>
刷新
</el-button>
</div>
<div
class=
"list"
v-loading=
"loading"
>
<el-table
<el-table
:data=
"tableData"
:data=
"tableData"
style=
"width: 100%"
style=
"width: 100%"
...
@@ -34,16 +37,23 @@ export default {
...
@@ -34,16 +37,23 @@ export default {
size
:
10
,
size
:
10
,
},
},
total
:
10
,
total
:
10
,
loading
:
false
,
};
};
},
},
mounted
()
{
mounted
()
{
this
.
handleAutoList
();
this
.
handleAutoList
();
},
},
methods
:
{
methods
:
{
refresh
()
{
this
.
params
.
current
=
1
;
this
.
handleAutoList
();
},
async
handleAutoList
()
{
async
handleAutoList
()
{
this
.
loading
=
true
;
let
res
=
await
autoList
(
this
.
params
);
let
res
=
await
autoList
(
this
.
params
);
this
.
tableData
=
res
.
records
;
this
.
tableData
=
res
.
records
;
this
.
total
=
res
.
total
;
this
.
total
=
res
.
total
;
this
.
loading
=
false
;
},
},
handlePageChange
(
pageData
)
{
handlePageChange
(
pageData
)
{
this
.
params
.
size
=
pageData
.
size
;
this
.
params
.
size
=
pageData
.
size
;
...
...
src/views/setting/statistics/comp/monitorTable.vue
View file @
8e9af031
...
@@ -253,6 +253,7 @@ export default {
...
@@ -253,6 +253,7 @@ export default {
let
res
=
await
setParam
(
data
);
let
res
=
await
setParam
(
data
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
successAlert
(
"保存成功"
);
successAlert
(
"保存成功"
);
this
.
openSetting
=
false
;
}
}
},
},
async
handleSelectParam
(
row
)
{
async
handleSelectParam
(
row
)
{
...
...
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