Merge branch 'master-v32-xwx' into 'master'
杭州-大屏-地图左上角名称 See merge request !183
Showing
10 changed files
with
29 additions
and
5 deletions
@@ -3457,6 +3457,7 @@ grayColor{ | @@ -3457,6 +3457,7 @@ grayColor{ | ||
3457 | display: flex; | 3457 | display: flex; |
3458 | } | 3458 | } |
3459 | 3459 | ||
3460 | + | ||
3460 | .machineroom-info .room-info-item .ip-info-title-left span{ | 3461 | .machineroom-info .room-info-item .ip-info-title-left span{ |
3461 | font-size: 20px; | 3462 | font-size: 20px; |
3462 | margin-left: 10px; | 3463 | margin-left: 10px; |
@@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
46 | <!--判定是否有daping角色,如果有则显示该菜单 joke add 20211203--> | 46 | <!--判定是否有daping角色,如果有则显示该菜单 joke add 20211203--> |
47 | <script type="text/html" template lay-url="{{sessionStorage.getItem('domainName')}}/api-user/users/checkHasRole?roleCode=daping"> | 47 | <script type="text/html" template lay-url="{{sessionStorage.getItem('domainName')}}/api-user/users/checkHasRole?roleCode=daping"> |
48 | {{# if(d.count > 0){ }} | 48 | {{# if(d.count > 0){ }} |
49 | - <li class="layui-nav-item" lay-tips="大屏"> | 49 | + <li class="layui-nav-item" lay-tips="监控一体化视图"> |
50 | <a href="javascript:;" layadmin-event="toBigScreen" ><img src="/src/style/img/icon-daping.png" style="width: 16px;height: 16px"></a> | 50 | <a href="javascript:;" layadmin-event="toBigScreen" ><img src="/src/style/img/icon-daping.png" style="width: 16px;height: 16px"></a> |
51 | </li> | 51 | </li> |
52 | {{# } }} | 52 | {{# } }} |
@@ -46,6 +46,14 @@ | @@ -46,6 +46,14 @@ | ||
46 | left: 1%; | 46 | left: 1%; |
47 | top: 55%; | 47 | top: 55%; |
48 | } | 48 | } |
49 | +.screen-header .title-right{ | ||
50 | + display: flex; | ||
51 | + align-items: center; | ||
52 | + position:absolute; | ||
53 | + transform: translateY(-80%); | ||
54 | + right: 1%; | ||
55 | + top: 55%; | ||
56 | +} | ||
49 | .screen-header .timelog{ | 57 | .screen-header .timelog{ |
50 | cursor: pointer; | 58 | cursor: pointer; |
51 | } | 59 | } |
@@ -108,7 +108,7 @@ table td .cabinetId{ | @@ -108,7 +108,7 @@ table td .cabinetId{ | ||
108 | } | 108 | } |
109 | .outlinediv .xiaoshanseven-rightcabinet{ | 109 | .outlinediv .xiaoshanseven-rightcabinet{ |
110 | margin-left: 5px; | 110 | margin-left: 5px; |
111 | - width: 40%; | 111 | + width: 49%; |
112 | } | 112 | } |
113 | .outlinediv .xiaoshanseven-middlecabinet{ | 113 | .outlinediv .xiaoshanseven-middlecabinet{ |
114 | margin-top: 20px; | 114 | margin-top: 20px; |

440 Bytes
@@ -8,6 +8,9 @@ | @@ -8,6 +8,9 @@ | ||
8 | <img src="/vue3/src/assets/images/digitalDp/icon-time.png" :style="timelogoStyle" class="timelog"> | 8 | <img src="/vue3/src/assets/images/digitalDp/icon-time.png" :style="timelogoStyle" class="timelog"> |
9 | <span :style="datetimeStyle" >{{dateTime}}</span> | 9 | <span :style="datetimeStyle" >{{dateTime}}</span> |
10 | </div> | 10 | </div> |
11 | + <div class="title-right"> | ||
12 | + <img @click="goDP" router-link to='/daping' id="goDP" src="/vue3/src/assets/images/zjdp/icon-return.png" class="img-link" style="display:none; height:30px"> | ||
13 | + </div> | ||
11 | </header> | 14 | </header> |
12 | <div class="screen-body"> | 15 | <div class="screen-body"> |
13 | <section class="screen-left" > | 16 | <section class="screen-left" > |
@@ -48,6 +48,15 @@ export default { | @@ -48,6 +48,15 @@ export default { | ||
48 | () => myImport('views/dp/components/deduction/index') | 48 | () => myImport('views/dp/components/deduction/index') |
49 | ), | 49 | ), |
50 | }, | 50 | }, |
51 | + setup(props, {attrs, slots, emit}) { | ||
52 | + const {proxy} = Vue.getCurrentInstance(); | ||
53 | + const goDP=()=>{ | ||
54 | + proxy.$router.push({path:'/zjdaping',query: {access_token:localStorage.getItem('access_token')}}) | ||
55 | + } | ||
56 | + return{ | ||
57 | + goDP | ||
58 | + } | ||
59 | + }, | ||
51 | data () { | 60 | data () { |
52 | return { | 61 | return { |
53 | titleFontSize: 30, | 62 | titleFontSize: 30, |
@@ -119,7 +128,11 @@ export default { | @@ -119,7 +128,11 @@ export default { | ||
119 | },1000); | 128 | },1000); |
120 | 129 | ||
121 | window.addEventListener('resize', this.screenAdapter) | 130 | window.addEventListener('resize', this.screenAdapter) |
122 | - this.screenAdapter() | 131 | + this.screenAdapter(); |
132 | + | ||
133 | + if (this.$route.query.msgKey){ | ||
134 | + document.getElementById("goDP").style.display="block" | ||
135 | + } | ||
123 | }, | 136 | }, |
124 | unmounted () { | 137 | unmounted () { |
125 | window.removeEventListener('resize', this.screenAdapter) | 138 | window.removeEventListener('resize', this.screenAdapter) |
@@ -18,7 +18,7 @@ export default { | @@ -18,7 +18,7 @@ export default { | ||
18 | return { | 18 | return { |
19 | timer:null, | 19 | timer:null, |
20 | domainName:sessionStorage.getItem('domainName'), | 20 | domainName:sessionStorage.getItem('domainName'), |
21 | - apiUrl:'/api-web/sxview/getBizListForHzDp?access_token=', | 21 | + apiUrl:'/api-web/sxview/getbizListByUser?access_token=', |
22 | checkId:0,//当前选中的tabs | 22 | checkId:0,//当前选中的tabs |
23 | listItem:1,//轮播数-总页数 | 23 | listItem:1,//轮播数-总页数 |
24 | pageSize:5,//每页显示5条数据 | 24 | pageSize:5,//每页显示5条数据 |
-
Please register or login to post a comment