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
张凯
2 years ago
Commit
3acbe72c6c0a9f3bf65ffdf0c3c0627612f75c67
1 parent
7fe893ba
停机计划列表资源数量点击下探后查询有权限数量提示优化(admin用户不提示)
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/reslist.js
hg-monitor-web-qh/src/main/resources/static/src/controller/bustype.js
hg-monitor-web-base/src/main/resources/static/src/controller/reslist.js
View file @
3acbe72
...
...
@@ -212,6 +212,10 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'xmSelect
* 根据停机计划id根类型,查询有权限的资源,并赋值title
* */
function
setTitle
(
cutoverId
,
type
,
haveNum
)
{
var
user
=
localStorage
.
getItem
(
"lgn"
);
if
(
user
===
'admin'
){
return
;
}
admin
.
req
({
url
:
domainName
+
'/api-web/manage/cutover/countPerNumByCutoverIdAndType'
,
data
:{
...
...
hg-monitor-web-qh/src/main/resources/static/src/controller/bustype.js
View file @
3acbe72
...
...
@@ -216,6 +216,10 @@ layui.define(['table', 'form', 'admin', 'layer', 'laytpl', 'common', 'view', 'se
}
function
setTitle
(
cutoverId
,
type
,
haveNum
)
{
var
user
=
localStorage
.
getItem
(
"lgn"
);
if
(
user
===
'admin'
){
return
;
}
admin
.
req
({
url
:
domainName
+
'/api-web/manage/cutover/countPerNumByCutoverIdAndType'
,
data
:{
...
...
Please
register
or
login
to post a comment