Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
‘superliu’
3 years ago
Commit
3068384459b35be64b83d3a1b98299da61a32091
1 parent
35ea31b8
资源视图vmware 卡片跳转问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
hg-monitor-web-qh/src/main/resources/static/src/controller/resindex.js
hg-monitor-web-qh/src/main/resources/static/src/controller/resindex.js
View file @
3068384
...
...
@@ -195,7 +195,6 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
moduleId
:
'resIndex'
,
resType
:
resType
},
function
(
retCols
)
{
var
cols
;
if
(
retCols
)
{
cols
=
retCols
;
...
...
@@ -942,7 +941,6 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
if
(
retCols
){
cols
=
retCols
;
}
parentResListTable
=
table
.
render
({
elem
:
'#resListTable'
,
id
:
'resListTable'
...
...
@@ -1069,6 +1067,14 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
if
(
retCols
)
{
cols
=
retCols
;
}
var
url
=
""
if
(
resType
==
'VIRTUALIZATION_VMWARE'
){
url
=
common
.
domainName
+
'/api-web/home/virtual-res-list/'
+
resType
}
else
{
url
=
common
.
domainName
+
'/api-web/home/res-list/'
+
resType
;
}
resListTable
=
table
.
render
({
elem
:
'#resListTable'
,
id
:
'resListTable'
...
...
@@ -1076,7 +1082,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
,
toolbar
:
'#resList-top-head-info-tpl'
//开启头部工具栏,并为其绑定左侧模板
,
defaultToolbar
:
[
'filter'
]
,
drag
:
{
toolbar
:
false
}
,
url
:
common
.
domainName
+
'/api-web/home/res-list/'
+
resType
,
url
:
url
,
where
:
{
access_token
:
accessToken
,
resName
:
$
(
"#resindex_keyword"
).
val
()
!==
''
?
$
(
"#resindex_keyword"
).
val
()
:
id
,
...
...
Please
register
or
login
to post a comment