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
鲁尚清
3 years ago
Commit
648d25d0ec0546e0734ca74af5d3b0b21a59aa7c
1 parent
1d534a34
【无】扩展字段接口增加参数parentId
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/bizreslist.js
hg-monitor-web-base/src/main/resources/static/src/controller/resManageIndex.js
hg-monitor-web-qh/src/main/resources/static/src/controller/bizindex.js
hg-monitor-web-qh/src/main/resources/static/src/controller/resindex.js
hg-monitor-web-base/src/main/resources/static/src/controller/bizreslist.js
View file @
648d25d
...
...
@@ -124,7 +124,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm
var
cols
=
commonCols
.
resTypeCls
[
colResType
];
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
parentId
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
@@ -271,7 +271,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm
var
cols
=
commonCols
.
resTypeCls
[
resType
];
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
$
(
"#biz_virtual_platForm_select"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
hg-monitor-web-base/src/main/resources/static/src/controller/resManageIndex.js
View file @
648d25d
...
...
@@ -838,7 +838,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'upload', 'admin', 'form',
});
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
$
(
"#resManageIndexForm"
).
find
(
"select[name='parentId']"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
hg-monitor-web-qh/src/main/resources/static/src/controller/bizindex.js
View file @
648d25d
...
...
@@ -443,7 +443,7 @@ layui.define(['tree', 'laypage', 'laytpl', 'admin', 'form', 'table', 'commonCols
});
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
"OperatingSystem"
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
"OperatingSystem"
+
"&parentId="
+
$
(
"#biz_res_cluster"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
@@ -595,7 +595,7 @@ layui.define(['tree', 'laypage', 'laytpl', 'admin', 'form', 'table', 'commonCols
var
cols
=
commonCols
.
resTypeCls
[
resType
];
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
$
(
"#biz_res_cluster"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
@@ -722,7 +722,7 @@ layui.define(['tree', 'laypage', 'laytpl', 'admin', 'form', 'table', 'commonCols
var
cols
=
commonCols
.
resTypeCls
[
resType
];
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
$
(
"#biz_res_cluster"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
@@ -862,7 +862,7 @@ layui.define(['tree', 'laypage', 'laytpl', 'admin', 'form', 'table', 'commonCols
var
cols
=
commonCols
.
resTypeCls
[
resType
];
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
$
(
"#biz_virtual_platForm_select"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
hg-monitor-web-qh/src/main/resources/static/src/controller/resindex.js
View file @
648d25d
...
...
@@ -207,7 +207,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
}
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
$
(
"#res_cluster"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
@@ -842,7 +842,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
var
cols
=
commonCols
.
resTypeCls
[
resType
];
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
$
(
"#res_cluster"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
@@ -1086,7 +1086,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
var
cols
=
commonCols
.
resTypeCls
[
resType
];
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
$
(
"#res_cluster"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
@@ -1257,7 +1257,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
var
cols
=
commonCols
.
resTypeCls
[
resType
];
//start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05
admin
.
req
({
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
url
:
common
.
domainName
+
"/api-web/resource/expand/list?resType="
+
resType
+
"&parentId="
+
$
(
"#res_cluster"
).
val
()
,
done
:
function
(
res
)
{
if
(
res
&&
res
.
data
)
{
let
arr
=
res
.
data
;
...
...
Please
register
or
login
to post a comment