赞太列表
This commit is contained in:
@@ -1,54 +1,57 @@
|
||||
<template>
|
||||
<Cn-page :loading='loading'>
|
||||
<view class='detail' slot='body'>
|
||||
<view class="detail-content " style="font-size:32rpx">
|
||||
<Cn-page :loading="loading">
|
||||
<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>{{ detail.startTime }}</view>
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content">
|
||||
<view class="detail-content-title mb20">基础信息</view>
|
||||
<view class="mb10">{{detail.title}}</view>
|
||||
<view>
|
||||
{{ detail.engineeringName + '' + detail.projectName }}
|
||||
</view>
|
||||
<view v-for="(item,textIndex) in detail.dataSet" :key="textIndex">
|
||||
<view class="mb10" style="font-size: 28rpx">{{ detail.title }}</view>
|
||||
<view class="mb5" v-for="(item, textIndex) in detail.dataSet" :key="textIndex">
|
||||
{{ item.showName + ':' + item.value + (item.unit || '') }}
|
||||
</view>
|
||||
<view class="mb5"> 设备名称:{{ detail.title }}</view>
|
||||
<view class="mb5"> 项目名称:{{ detail.projectName }} </view>
|
||||
<view class="mb5"> 工程名称:{{ detail.engineeringName }} </view>
|
||||
|
||||
<!-- <view class="space-between">请您评价本次事件是否对设备造成影响
|
||||
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content">
|
||||
<view class="detail-content-title mb20">瞬时波形图</view>
|
||||
<image style="width:100%" src="/static/boxing1.jpeg" mode="widthFix"/>
|
||||
<image style="width: 100%" src="/static/boxing1.jpeg" mode="widthFix" />
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content">
|
||||
<view class="detail-content-title mb20">RMS波形图</view>
|
||||
<image style="width:100%" src="/static/boxing2.jpeg" mode="widthFix"/>
|
||||
<image style="width: 100%" src="/static/boxing2.jpeg" mode="widthFix" />
|
||||
</view>
|
||||
</view>
|
||||
</Cn-page>
|
||||
</template>
|
||||
<script>
|
||||
import {updateStatus} from "@/common/api/message";
|
||||
import { updateStatus } from '@/common/api/message'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
loading: true,
|
||||
detail: {}
|
||||
detail: {},
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
console.log(options.detail)
|
||||
this.detail = JSON.parse(decodeURIComponent(options.detail).replace(/百分比/g, '%'))
|
||||
this.loading = false
|
||||
updateStatus([this.detail.id])
|
||||
if (this.detail.status != 1) {
|
||||
updateStatus([this.detail.id])
|
||||
}
|
||||
},
|
||||
methods: {}
|
||||
methods: {},
|
||||
}
|
||||
</script>
|
||||
<style lang='scss'>
|
||||
<style lang="scss">
|
||||
.detail {
|
||||
padding: 20rpx 0;
|
||||
|
||||
@@ -65,4 +68,4 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user