ming před 4 roky
rodič
revize
b9effd8985

+ 1 - 1
pages/processedDetail/processedDetail.vue

@@ -26,7 +26,7 @@
 					</view>
 					<view>
 						<text>警告状态:</text>
-						<text>{{detailMessage.measValue?'动作':'复归'}}</text>
+						<text>{{detailMessage.digitalValue=='1'?'动作':'复归'}}</text>
 					</view>
 					<view>
 						<text>采集终端:</text>

+ 1 - 1
pages/processedDetail1/processedDetail1.vue

@@ -26,7 +26,7 @@
 					</view>
 					<view>
 						<text>警告状态:</text>
-						<text>{{detailMessage.measValue?'动作':'复归'}}</text>
+						<text>{{detailMessage.digitalValue=="1"?'动作':'复归'}}</text>
 					</view>
 					<view>
 						<text>采集终端:</text>

+ 1 - 1
pages/unprocessDetail/unprocessDetail.vue

@@ -27,7 +27,7 @@
 					</view>
 					<view>
 						<text>警告状态:</text>
-						<text>{{detailMessage.measValue?'动作':'复归'}}</text>
+						<text>{{detailMessage.digitalValue=="1"?'动作':'复归'}}</text>
 					</view>
 					<view>
 						<text>采集终端:</text>

+ 74 - 0
pages/unprocessDetail1/opeDataDetail/opeDataDetail.vue

@@ -0,0 +1,74 @@
+<template>
+	<view>
+		<view class="timeBox flex justify-between align-center padding-lr-sm">
+			<view class="time">进线一</view>
+			<button class="cu-btn bg-green sm">在线</button>
+		</view>
+		<view class="basic-info">
+			<view class="info-tit margin-left-xs">
+				<text class="cuIcon-titles margin-right-xs"></text>
+				数据状态
+			</view>
+			<view class="info-content">
+				<view class="info-one-info ">
+					<text>Uab:</text>
+					<text>{{opeData.Uab}}V</text>
+				</view>
+				<view>
+					<text>Ubc:</text>
+					<text>{{opeData.Ubc}}V</text>
+				</view>
+				<view>
+					<text>Uca:</text>
+					<text>{{opeData.Uca}}V</text>
+				</view>
+				<view>
+					<text>la:</text>
+					<text>{{opeData.Ia}}A</text>
+				</view>
+				<view>
+					<text>lb:</text>
+					<text>{{opeData.Ib}}A</text>
+				</view>
+				<view>
+					<text>lc:</text>
+					<text>{{opeData.Ic}}A</text>
+				</view>
+				
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				opeData:{}
+				
+			}
+		},
+		onLoad(option) {
+			
+		this.getOpeData({"companyCode":option.companyCode,"deviceCode":option.deviceCode,"deviceType":option.deviceType})
+		
+		},
+		methods: {
+			async getOpeData(ming={}) {
+				const res= await this.$myRequest({
+					url:'OperationMonitoring/getMonitoringScreen',
+					data:ming
+				})
+				  console.log(res.data.data[0]);
+				  this.opeData=res.data.data[0]
+			},
+		}
+	}
+</script>
+
+<style>
+	.info-content uni-view uni-text:first-child{
+		width:90rpx;
+	}
+
+</style>

+ 1 - 1
pages/unprocessDetail1/unprocessDetail1.vue

@@ -27,7 +27,7 @@
 					</view>
 					<view>
 						<text>警告状态:</text>
-						<text>{{detailMessage.measValue?'动作':'复归'}}</text>
+						<text>{{detailMessage.digitalValue=="1"?'动作':'复归'}}</text>
 					</view>
 					<view>
 						<text>采集终端:</text>

+ 22 - 0
pages/unprocessDetail1/videoDetail/videoDetail.vue

@@ -0,0 +1,22 @@
+<template>
+	<view>
+		<video src="" style="width:750rpx" ></video>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			}
+		},
+		methods: {
+			
+		}
+	}
+</script>
+
+<style>
+
+</style>