|
@@ -1,6 +1,5 @@
|
|
|
<template>
|
|
|
<view class="dealDetail">
|
|
|
-
|
|
|
<view v-if="type==2" class="timeBox flex justify-between align-center padding-lr-sm">
|
|
|
<view class="time">{{detailMessage2.time}}</view>
|
|
|
<button class="cu-btn radius bg-green sm">已处理</button>
|
|
@@ -12,16 +11,12 @@
|
|
|
<view>告警历时:{{detailMessage.duration}}</view>
|
|
|
<view>关联告警:{{detailMessage.handlerTime}}</view>
|
|
|
<view style="color:#4074E7">【{{detailMessage.route_name}}】设备低压-{{detailMessage.digitalValue=='1'?'动作':'复归'}}</view>
|
|
|
- <!-- <view class="time">{{detailMessage.time}}</view> -->
|
|
|
- <!-- <view>dfd</view> -->
|
|
|
</view>
|
|
|
|
|
|
<button v-if="handling_status==1" class="cu-btn radius bg-green sm margin-top-sm">已处理</button>
|
|
|
<button v-if="handling_status==2" class="cu-btn radius bg-orange sm margin-top-sm">待确认</button>
|
|
|
<button v-if="handling_status==3" class="cu-btn radius bg-blue sm margin-top-sm">自动恢复</button>
|
|
|
<button v-if="handling_status==4" class="cu-btn radius bg-gray sm margin-top-sm">过期失效</button>
|
|
|
-
|
|
|
-
|
|
|
</view>
|
|
|
|
|
|
|
|
@@ -252,8 +247,6 @@
|
|
|
"handlerContent": this.msg
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
},
|
|
|
|
|
|
async powerSubmitRes(params = {}) {
|
|
@@ -278,8 +271,6 @@
|
|
|
|
|
|
},
|
|
|
|
|
|
-
|
|
|
-
|
|
|
async getUnProcessDetail(ming={}) {
|
|
|
const res= await this.$myRequest({
|
|
|
url:'IntegratedAlarm/getPowerAlarmDetails',
|
|
@@ -304,17 +295,7 @@
|
|
|
},
|
|
|
mapLocation(){
|
|
|
console.log(this.detailMessage)
|
|
|
-
|
|
|
-
|
|
|
- // window.location.href = 'http://apis.map.qq.com/uri/v1/marker?marker=coord:'+parseFloat(this.detailMessage.latitude)+','+parseFloat(this.detailMessage.longitude)+''
|
|
|
|
|
|
- // uni.openLocation({
|
|
|
- // latitude: parseInt(this.detailMessage.latitude),
|
|
|
- // longitude: parseInt(this.detailMessage.longitude),
|
|
|
- // success: function() {
|
|
|
- // console.log('success');
|
|
|
- // }
|
|
|
- // });
|
|
|
|
|
|
|
|
|
// 微信公众号导航
|
|
@@ -365,7 +346,6 @@
|
|
|
inputReason(e) {
|
|
|
this.reason = e.detail.value;
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
</script>
|