|
|
|
|
@ -596,14 +596,14 @@ export default { |
|
|
|
|
getMessage(msg) { |
|
|
|
|
let obj = JSON.parse(msg.data) |
|
|
|
|
// obj.createTime = dateFormat(new Date(obj.createTime), 'yyyy-MM-dd hh:mm'); |
|
|
|
|
// obj.tendingTime = dateFormat(new Date(obj.tendingTime), 'yyyy-MM-dd hh:mm'); |
|
|
|
|
// obj.maintainTime = dateFormat(new Date(obj.maintainTime), 'yyyy-MM-dd hh:mm'); |
|
|
|
|
// if(obj.status != 90000){ |
|
|
|
|
let idx = this.arr.findIndex(item => { return item.id == obj.id }); |
|
|
|
|
if (idx > -1) { |
|
|
|
|
// this.arr[idx].modelId = obj.modelId; |
|
|
|
|
// this.arr[idx].status = obj.status; |
|
|
|
|
// this.arr[idx].createTime = obj.createTime; |
|
|
|
|
// this.arr[idx].tendingTime = obj.tendingTime; |
|
|
|
|
// this.arr[idx].maintainTime = obj.maintainTime; |
|
|
|
|
// this.arr[idx].factory = obj.factory; |
|
|
|
|
// this.arr[idx].floor = obj.floor; |
|
|
|
|
// this.arr[idx].statusMsg = obj.statusMsg; |
|
|
|
|
@ -677,17 +677,25 @@ export default { |
|
|
|
|
<span style="font-size:13px;color:silver">所在楼层:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.floor}F</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">规定资产编号:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.inventarNummer ? obj.inventarNummer : ''}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保时间:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingTime.substring(0, 10)}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainTime.substring(0, 10)}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保人:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingUser}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainUser}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保电话:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingPhone}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainPhone}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保内容:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainDesc}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">运行方向:</span> |
|
|
|
|
@ -725,17 +733,25 @@ export default { |
|
|
|
|
<span style="font-size:13px;color:silver">所在楼层:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.floor}F</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">固定资产编号:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.inventarNummer ? obj.inventarNummer : ''}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保时间:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingTime.substring(0, 10)}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainTime.substring(0, 10)}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保人:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingUser}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainUser}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保电话:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingPhone}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainPhone}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保内容:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainDesc}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">运行方向:</span> |
|
|
|
|
@ -775,17 +791,25 @@ export default { |
|
|
|
|
<span style="font-size:13px;color:silver">所在楼层:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.floor}F</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">固定资产编号:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.inventarNummer ? obj.inventarNummer : ''}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保时间:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingTime.substring(0, 10)}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainTime.substring(0, 10)}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保人:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingUser}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainUser}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保电话:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingPhone}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainPhone}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保内容:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainDesc}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">运行方向:</span> |
|
|
|
|
@ -823,17 +847,25 @@ export default { |
|
|
|
|
<span style="font-size:13px;color:silver">所在楼层:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.floor}F</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">固定资产编号:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.inventarNummer ? obj.inventarNummer : ''}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保时间:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingTime.substring(0, 10)}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainTime.substring(0, 10)}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保人:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingUser}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainUser}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保电话:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.tendingPhone}</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainPhone}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">维保内容:</span> |
|
|
|
|
<span style="font-size:14px;color:white">${obj.maintainDesc}</span> |
|
|
|
|
</div> |
|
|
|
|
<div style="display:flex;justify-content: space-between;margin-top:5px"> |
|
|
|
|
<span style="font-size:13px;color:silver">运行方向:</span> |
|
|
|
|
|