...
|
...
|
@@ -17,7 +17,7 @@ export default { |
|
|
() => myImport('views/commonComponents/machineRoom/index')
|
|
|
),
|
|
|
},
|
|
|
props:['commandNameData'],
|
|
|
props:['commandNameData','machineRoomRes'],
|
|
|
data(){
|
|
|
return {
|
|
|
domainName:sessionStorage.getItem('domainName'),
|
...
|
...
|
@@ -82,13 +82,17 @@ export default { |
|
|
try {
|
|
|
const ele = proxy.$refs[`machineRoom`];
|
|
|
var info = $(ele.$refs['roomDetail'].$refs['roomTable']);
|
|
|
info.find(`td`).prepend('<i class="el-icon-arrow-down" style="color: #1E9FFF"></i>')
|
|
|
var params = {
|
|
|
theirRoomId : proxy.commandNameDataItem.machineRoomId
|
|
|
}
|
|
|
proxy.$http.get(`/api-web/bigScreen/cabinetRoom`, params, function (res) {
|
|
|
if (res && res.success == true) {
|
|
|
res.data.filter(function(v){
|
|
|
let machineRoomRes=props.machineRoomRes;
|
|
|
if(machineRoomRes != null && v.theirCabinet == machineRoomRes.theirCabinet){
|
|
|
proxy.commandNameDataItem.Uposition=machineRoomRes.startU;
|
|
|
info.find(`td[name="${v.theirCabinet}"]`).prepend('<i class="el-icon-arrow-down" style="position:absolute;left:0;right:0;top:-15px;color:#1e9fff;"></i>')
|
|
|
}
|
|
|
if(v.alarm == '0'){
|
|
|
// 有告警信息展示方式
|
|
|
info.find(`td[name="${v.theirCabinet}"] span`).addClass('arrowBox');//.css('color','blue')
|
...
|
...
|
|