Showing
5 changed files
with
5 additions
and
8 deletions
@@ -24,7 +24,7 @@ li{ | @@ -24,7 +24,7 @@ li{ | ||
24 | .contain{ | 24 | .contain{ |
25 | 25 | ||
26 | width:413px; | 26 | width:413px; |
27 | - height:710px; | 27 | + height:808px; |
28 | /*margin-left:3%;*/ | 28 | /*margin-left:3%;*/ |
29 | /*margin-top:5%;*/ | 29 | /*margin-top:5%;*/ |
30 | /* background-color: red; */ | 30 | /* background-color: red; */ |
@@ -230,7 +230,7 @@ li{ | @@ -230,7 +230,7 @@ li{ | ||
230 | } | 230 | } |
231 | 231 | ||
232 | .info-bottom{ | 232 | .info-bottom{ |
233 | - height:370px; | 233 | + height:390px; |
234 | margin-top:20px; | 234 | margin-top:20px; |
235 | background-image: url(/vue3/src/assets/images/machineRoom/img-deviceInfo-bg.png); | 235 | background-image: url(/vue3/src/assets/images/machineRoom/img-deviceInfo-bg.png); |
236 | } | 236 | } |
hg-monitor-web-zj/src/main/resources/static/vue3/src/assets/images/machineRoom/img-no-machine42.png
0 → 100644

18 KB
@@ -221,7 +221,7 @@ | @@ -221,7 +221,7 @@ | ||
221 | <div class='info-text'>设备信息</div> | 221 | <div class='info-text'>设备信息</div> |
222 | <div class='info-text-bot'> | 222 | <div class='info-text-bot'> |
223 | <p v-if="!isRes">资源名称:<span>{{deviceDataInfo.resName}}</span></p> | 223 | <p v-if="!isRes">资源名称:<span>{{deviceDataInfo.resName}}</span></p> |
224 | - <p v-if="isRes">资源名称:<span style="cursor: pointer;color: #1e9fff;" @click="goResDetail(deviceDataInfo.resId,deviceDataInfo.resType,deviceDataInfo.resName)">{{deviceDataInfo.resName}}</span></p> | 224 | + <p v-if="isRes">资源名称:<span class="link" @click="goResDetail(deviceDataInfo.resId,deviceDataInfo.resType,deviceDataInfo.resName)">{{deviceDataInfo.resName}}</span></p> |
225 | <p>品 牌:{{deviceDataInfo.brand}}</p> | 225 | <p>品 牌:{{deviceDataInfo.brand}}</p> |
226 | <p>型 号:{{deviceDataInfo.model}}</p> | 226 | <p>型 号:{{deviceDataInfo.model}}</p> |
227 | <p>序 列 号:{{deviceDataInfo.serialnumber}}</p> | 227 | <p>序 列 号:{{deviceDataInfo.serialnumber}}</p> |
@@ -325,12 +325,9 @@ export default { | @@ -325,12 +325,9 @@ export default { | ||
325 | } | 325 | } |
326 | //资源名称下探 | 326 | //资源名称下探 |
327 | let goResDetail=(resId,resType,resName)=>{ | 327 | let goResDetail=(resId,resType,resName)=>{ |
328 | + | ||
328 | if(props.isRes){ | 329 | if(props.isRes){ |
329 | - // proxy.$global.openDetail(resId, resType, proxy); | ||
330 | - window.parent.postMessage({ | ||
331 | - type: 'resDetail', | ||
332 | - message: {'params':{'resId':resId},'title':resName} | ||
333 | - }, '*') | 330 | + proxy.$global.openDetail(resId, resType, proxy); |
334 | } | 331 | } |
335 | 332 | ||
336 | } | 333 | } |
-
Please register or login to post a comment