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
张凯
2021-12-03 14:48:32 +0800
Commit
8a2dd60cdc8a925bddc9e733918e97971538e3c9
1 parent
6b81b2bc
1、杭州-layout.html中,增加根据当前用户是否有daping角色判定是否展示大屏菜单
2、杭州-大屏页面调整获取业务接口(调用新增接口,获取admin权限业务)
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
hg-monitor-web-zj/src/main/resources/application.yml
hg-monitor-web-zj/src/main/resources/static/src/views/layout.html
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/navTabs/index.js
hg-monitor-web-zj/src/main/resources/application.yml
View file @
8a2dd60
...
...
@@ -19,13 +19,13 @@ url:
tingyun
:
http://127.0.0.1:8088
bigScreen
:
http://127.0.0.1:8081
# 一体化视图
ythView
:
http://1
92.168.0.69:1
8089
ythView
:
http://1
27.0.0.1:
8089
# cmdb
cmdbWeb
:
http://192.168.0.68:80
# 业务健康度
ywHealth
:
http://80.12.92.117:83
#流程系统路径,当ssl.enabled=true时,http要改为https,并修改流程nginx的conf文件
workflow
:
http://1
92.168.0.248
:8002
workflow
:
http://1
27.0.0.1
:8002
# 积木报表工具
jimuReport
:
http://192.168.0.41:8085
config
:
...
...
hg-monitor-web-zj/src/main/resources/static/src/views/layout.html
View file @
8a2dd60
...
...
@@ -43,9 +43,15 @@
<i
class=
"layui-icon layui-icon-shrink-right"
id=
"LAY_app_flexible"
></i>
</a>
</li>
<!--判定是否有daping角色,如果有则显示该菜单 joke add 20211203-->
<script
type=
"text/html"
template
lay-url=
"{{sessionStorage.getItem('domainName')}}/api-user/users/checkHasRole?roleCode=daping"
>
{{
#
if
(
d
.
count
>
0
){
}}
<
li
class
=
"layui-nav-item"
lay
-
tips
=
"大屏"
>
<
a
href
=
"javascript:;"
layadmin
-
event
=
"toBigScreen"
><
img
src
=
"/src/style/img/icon-daping.png"
style
=
"width: 16px;height: 16px"
><
/a
>
<
/li
>
{{
#
}
}}
</script>
<script
type=
"text/html"
template
lay-url=
"{{sessionStorage.getItem('domainName')}}/api-web/sxview/getbizListByUser?access_token={{localStorage.getItem('access_token')}}"
>
{{
#
if
(
d
.
data
.
length
>
0
){
}}
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/navTabs/index.js
View file @
8a2dd60
...
...
@@ -18,7 +18,7 @@ export default {
return
{
timer
:
null
,
domainName
:
sessionStorage
.
getItem
(
'domainName'
),
apiUrl
:
'/api-web/sxview/get
bizListByUser
?access_token='
,
apiUrl
:
'/api-web/sxview/get
BizListForHzDp
?access_token='
,
checkId
:
0
,
//当前选中的tabs
listItem
:
1
,
//轮播数-总页数
pageSize
:
5
,
//每页显示5条数据
...
...
Please
register
or
login
to post a comment