Ver código fonte

告警记录

wy 1 ano atrás
pai
commit
53ee329b53

+ 1 - 1
components/lyy-table/lyy-table.vue

@@ -48,7 +48,7 @@
 							</template>
 							<template v-if="header.label == '告警状态'">
 								<text
-									:class="[content[header.key] ==2?'warnColor':'']">{{content[header.key] === 0 ? '待处理':content[header.key] === 1 ? '处理中' : '已处理'}}</text>
+									:class="[content[header.key] ==1?'warnColor':'']">{{content[header.key] === 0 ? '持续': '已结束'}}</text>
 							</template>
 							<template v-else>
 								<view v-if="header.label == '操作' && !battery" class="editColor" @click="EditAlarm(content)">消防换仓

+ 2 - 2
config.js

@@ -1,8 +1,8 @@
 export default {
 	web_name: "智小狸",
 	// uni_app_web_api_url: "http://zk.li-ai.com.cn:8080/api", //后端统一接口路径
-	uni_app_web_api_url: "http://192.168.3.177:8080/api",
+	uni_app_web_api_url: "http://192.168.0.72:8080/api",
 	// web_socket_url:'ws://zk.li-ai.com.cn:8080/ws/',
-	web_socket_url:'ws://192.168.3.177:8080/ws/',
+	web_socket_url:'ws://192.168.0.72:8080/ws/',
 	debug: true
 }

+ 1 - 1
pages/fault-alarm/components/Fault.vue

@@ -130,7 +130,7 @@
 
 				},{
 					label: '告警状态',
-					key: 'state',
+					key: 'finished',
 					widtd: 112,
 				},{
 					label: '告警类型',