暂态事件处理
This commit is contained in:
@@ -1,49 +1,51 @@
|
||||
<template>
|
||||
<Cn-page :loading='loading'>
|
||||
<view slot='body'>
|
||||
<view class='detail'>
|
||||
<view class="detail-content " style="font-size:32rpx">
|
||||
<!-- <view class="detail-content-title mb20">发生时间</view> -->
|
||||
<view>2023-02-14</view>
|
||||
<view class='detail' slot='body'>
|
||||
<view class="detail-content " style="font-size:32rpx">
|
||||
<!-- <view class="detail-content-title mb20">发生时间</view> -->
|
||||
<view>{{detail.startTime}}</view>
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content-title mb20">基础信息</view>
|
||||
<view class="mb10">{{detail.title}}</view>
|
||||
<view>
|
||||
{{ detail.engineeringName + '' + detail.projectName }}
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content-title mb20">基础信息</view>
|
||||
<view class="mb10">CN_NPQS682</view>
|
||||
<view>发生暂降事件,特征幅值:88%,持续时间:0.047s</view>
|
||||
<view>
|
||||
南京市 灿能园区
|
||||
</view>
|
||||
<view>
|
||||
电压等级:0.38kV
|
||||
</view>
|
||||
<view>
|
||||
网路参数:00-B7-8D-A8-00-D3
|
||||
</view>
|
||||
<!-- <view class="space-between">请您评价本次事件是否对设备造成影响
|
||||
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content-title mb20">瞬时波形图</view>
|
||||
<image style="width:100%" src="/static/boxing1.jpeg" mode="widthFix" />
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content-title mb20">RMS波形图</view>
|
||||
<image style="width:100%" src="/static/boxing2.jpeg" mode="widthFix" />
|
||||
<view v-for="(item,textIndex) in detail.dataSet" :key="textIndex">
|
||||
{{ item.showName + ':' + item.value + (item.unit || '') }}
|
||||
</view>
|
||||
<!-- <view class="space-between">请您评价本次事件是否对设备造成影响
|
||||
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content-title mb20">瞬时波形图</view>
|
||||
<image style="width:100%" src="/static/boxing1.jpeg" mode="widthFix"/>
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content-title mb20">RMS波形图</view>
|
||||
<image style="width:100%" src="/static/boxing2.jpeg" mode="widthFix"/>
|
||||
</view>
|
||||
</view>
|
||||
</Cn-page>
|
||||
</template>
|
||||
<script>
|
||||
import {updateStatus} from "@/common/api/message";
|
||||
|
||||
export default {
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
loading: false
|
||||
loading: true,
|
||||
detail: {}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
onLoad(options) {
|
||||
console.log(options.detail)
|
||||
this.detail = JSON.parse(decodeURIComponent(options.detail).replace(/百分比/g, '%'))
|
||||
this.loading = false
|
||||
updateStatus([this.detail.id])
|
||||
},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
<style lang='scss'>
|
||||
|
||||
Reference in New Issue
Block a user