From 4509b9744d973ebed71d62c58395bdb2d05e5c8a Mon Sep 17 00:00:00 2001
From: Teng <461587751@qq.com>
Date: Fri, 24 Oct 2025 16:58:55 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8A=A4=E7=90=86=E5=8D=95=E5=85=83-=E8=AE=BE?=
=?UTF-8?q?=E5=A4=87-=E6=99=BA=E8=83=BD=E7=94=B5=E8=A1=A8-=E6=99=BA?=
=?UTF-8?q?=E8=83=BD=E6=B0=B4=E8=A1=A8=E5=8A=9F=E8=83=BD=E3=80=81=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F=E5=AE=8C=E6=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
component/public/exit.vue | 9 -
pages/NursingNew/component/api.js | 81 ++
pages/NursingNew/component/equipment.vue | 1204 ++++++++++-------
pages/NursingNew/index.vue | 2 +-
pages/watch/index.vue | 2 +-
static/index/newindex/leftmenu/Log0.png | Bin 0 -> 1557 bytes
static/index/newindex/leftmenu/Log1.png | Bin 0 -> 1174 bytes
static/index/newindex/leftmenu/Log2.png | Bin 0 -> 1243 bytes
static/index/newindex/leftmenu/Log3.png | Bin 0 -> 1255 bytes
static/index/newindex/leftmenu/Log4.png | Bin 0 -> 1262 bytes
static/index/newindex/leftmenu/Log5.png | Bin 0 -> 1267 bytes
static/index/newindex/leftmenu/Log6.png | Bin 0 -> 1473 bytes
static/index/newindex/leftmenu/Log7.png | Bin 0 -> 1545 bytes
static/index/newindex/leftmenu/Log8.png | Bin 0 -> 1564 bytes
static/index/newindex/leftmenu/Log9.png | Bin 0 -> 1556 bytes
static/index/newindex/leftmenu/read1.png | Bin 0 -> 1529 bytes
static/index/newindex/leftmenu/read2.png | Bin 0 -> 1164 bytes
static/index/newindex/leftmenu/read3.png | Bin 0 -> 1209 bytes
static/index/newindex/leftmenu/read4.png | Bin 0 -> 1452 bytes
static/index/newindex/leftmenu/read5.png | Bin 0 -> 1472 bytes
static/index/newindex/leftmenu/read6.png | Bin 0 -> 1350 bytes
static/index/newindex/leftmenu/read7.png | Bin 0 -> 1403 bytes
static/index/newindex/leftmenu/read8.png | Bin 0 -> 1561 bytes
static/index/newindex/leftmenu/zero0.png | Bin 0 -> 1718 bytes
static/index/newindex/leftmenu/zero1.png | Bin 0 -> 1376 bytes
static/index/newindex/leftmenu/zero10.png | Bin 0 -> 1718 bytes
static/index/newindex/leftmenu/zero2.png | Bin 0 -> 1731 bytes
static/index/newindex/leftmenu/zero3.png | Bin 0 -> 1740 bytes
static/index/newindex/leftmenu/zero4.png | Bin 0 -> 1479 bytes
static/index/newindex/leftmenu/zero5.png | Bin 0 -> 1719 bytes
static/index/newindex/leftmenu/zero6.png | Bin 0 -> 1718 bytes
static/index/newindex/leftmenu/zero7.png | Bin 0 -> 1785 bytes
static/index/newindex/leftmenu/zero8.png | Bin 0 -> 1718 bytes
static/index/newindex/leftmenu/zero9.png | Bin 0 -> 1785 bytes
static/index/newindex/rightmenu/closes0.png | Bin 0 -> 1819 bytes
static/index/newindex/rightmenu/closes1.png | Bin 0 -> 1607 bytes
static/index/newindex/rightmenu/closes10.png | Bin 0 -> 1832 bytes
static/index/newindex/rightmenu/closes11.png | Bin 0 -> 1682 bytes
static/index/newindex/rightmenu/closes2.png | Bin 0 -> 1659 bytes
static/index/newindex/rightmenu/closes3.png | Bin 0 -> 1766 bytes
static/index/newindex/rightmenu/closes4.png | Bin 0 -> 1805 bytes
static/index/newindex/rightmenu/closes5.png | Bin 0 -> 1682 bytes
static/index/newindex/rightmenu/closes6.png | Bin 0 -> 1772 bytes
static/index/newindex/rightmenu/closes7.png | Bin 0 -> 1806 bytes
static/index/newindex/rightmenu/closes8.png | Bin 0 -> 1684 bytes
static/index/newindex/rightmenu/closes9.png | Bin 0 -> 1781 bytes
static/index/newindex/rightmenu/service0.png | Bin 0 -> 2136 bytes
static/index/newindex/rightmenu/service1.png | Bin 0 -> 1404 bytes
static/index/newindex/rightmenu/service2.png | Bin 0 -> 1626 bytes
static/index/newindex/rightmenu/service3.png | Bin 0 -> 1958 bytes
static/index/newindex/rightmenu/service4.png | Bin 0 -> 2167 bytes
static/index/newindex/rightmenu/switch0.png | Bin 0 -> 1838 bytes
static/index/newindex/rightmenu/switch1.png | Bin 0 -> 1682 bytes
static/index/newindex/rightmenu/switch2.png | Bin 0 -> 1823 bytes
static/index/newindex/rightmenu/switch3.png | Bin 0 -> 1684 bytes
static/index/newindex/rightmenu/switch4.png | Bin 0 -> 1793 bytes
static/index/newindex/rightmenu/switch5.png | Bin 0 -> 1847 bytes
static/index/newindex/rightmenu/switch6.png | Bin 0 -> 1687 bytes
static/index/newindex/wendu/4.png | Bin 0 -> 58050 bytes
unpackage/dist/dev/.nvue/pages/camera.js | 2 +-
unpackage/dist/dev/.nvue/pages/fullcamera.js | 2 +-
.../.app-plus/tsc/app-android/.tsbuildInfo | 2 +-
62 files changed, 779 insertions(+), 525 deletions(-)
create mode 100644 pages/NursingNew/component/api.js
create mode 100644 static/index/newindex/leftmenu/Log0.png
create mode 100644 static/index/newindex/leftmenu/Log1.png
create mode 100644 static/index/newindex/leftmenu/Log2.png
create mode 100644 static/index/newindex/leftmenu/Log3.png
create mode 100644 static/index/newindex/leftmenu/Log4.png
create mode 100644 static/index/newindex/leftmenu/Log5.png
create mode 100644 static/index/newindex/leftmenu/Log6.png
create mode 100644 static/index/newindex/leftmenu/Log7.png
create mode 100644 static/index/newindex/leftmenu/Log8.png
create mode 100644 static/index/newindex/leftmenu/Log9.png
create mode 100644 static/index/newindex/leftmenu/read1.png
create mode 100644 static/index/newindex/leftmenu/read2.png
create mode 100644 static/index/newindex/leftmenu/read3.png
create mode 100644 static/index/newindex/leftmenu/read4.png
create mode 100644 static/index/newindex/leftmenu/read5.png
create mode 100644 static/index/newindex/leftmenu/read6.png
create mode 100644 static/index/newindex/leftmenu/read7.png
create mode 100644 static/index/newindex/leftmenu/read8.png
create mode 100644 static/index/newindex/leftmenu/zero0.png
create mode 100644 static/index/newindex/leftmenu/zero1.png
create mode 100644 static/index/newindex/leftmenu/zero10.png
create mode 100644 static/index/newindex/leftmenu/zero2.png
create mode 100644 static/index/newindex/leftmenu/zero3.png
create mode 100644 static/index/newindex/leftmenu/zero4.png
create mode 100644 static/index/newindex/leftmenu/zero5.png
create mode 100644 static/index/newindex/leftmenu/zero6.png
create mode 100644 static/index/newindex/leftmenu/zero7.png
create mode 100644 static/index/newindex/leftmenu/zero8.png
create mode 100644 static/index/newindex/leftmenu/zero9.png
create mode 100644 static/index/newindex/rightmenu/closes0.png
create mode 100644 static/index/newindex/rightmenu/closes1.png
create mode 100644 static/index/newindex/rightmenu/closes10.png
create mode 100644 static/index/newindex/rightmenu/closes11.png
create mode 100644 static/index/newindex/rightmenu/closes2.png
create mode 100644 static/index/newindex/rightmenu/closes3.png
create mode 100644 static/index/newindex/rightmenu/closes4.png
create mode 100644 static/index/newindex/rightmenu/closes5.png
create mode 100644 static/index/newindex/rightmenu/closes6.png
create mode 100644 static/index/newindex/rightmenu/closes7.png
create mode 100644 static/index/newindex/rightmenu/closes8.png
create mode 100644 static/index/newindex/rightmenu/closes9.png
create mode 100644 static/index/newindex/rightmenu/service0.png
create mode 100644 static/index/newindex/rightmenu/service1.png
create mode 100644 static/index/newindex/rightmenu/service2.png
create mode 100644 static/index/newindex/rightmenu/service3.png
create mode 100644 static/index/newindex/rightmenu/service4.png
create mode 100644 static/index/newindex/rightmenu/switch0.png
create mode 100644 static/index/newindex/rightmenu/switch1.png
create mode 100644 static/index/newindex/rightmenu/switch2.png
create mode 100644 static/index/newindex/rightmenu/switch3.png
create mode 100644 static/index/newindex/rightmenu/switch4.png
create mode 100644 static/index/newindex/rightmenu/switch5.png
create mode 100644 static/index/newindex/rightmenu/switch6.png
create mode 100644 static/index/newindex/wendu/4.png
diff --git a/component/public/exit.vue b/component/public/exit.vue
index 4488ef7..340ec0a 100644
--- a/component/public/exit.vue
+++ b/component/public/exit.vue
@@ -53,7 +53,6 @@
}
const go = () => {
uni.setStorageSync('token', 1);
- // plus.runtime.quit();
uni.redirectTo({
url: '/pages/login/login'
@@ -97,25 +96,17 @@
background-color: #fff;
display: flex;
flex-direction: column;
- // justify-content: center;
align-items: center;
-
- // background-image: url('https://www.focusnu.com/media/directive/index/whitepeople.png');
- // // background-size: 100% auto;
- // background-position: top center;
- // background-repeat: no-repeat;
z-index: 1;
padding: 0 10%;
}
.button {
width: 47%;
- // background: linear-gradient(to left, #00C9FF, #0076FF);
background-color: #ddf0ff;
display: flex;
justify-content: center;
align-items: center;
- // color: #fff;
color: #007CFF;
border: 1rpx solid #007CFF;
font-size: 25rpx;
diff --git a/pages/NursingNew/component/api.js b/pages/NursingNew/component/api.js
new file mode 100644
index 0000000..7c157e6
--- /dev/null
+++ b/pages/NursingNew/component/api.js
@@ -0,0 +1,81 @@
+// 引入 request 文件
+import request from '@/request/guanli.js'
+
+// 所有信息查询
+export const electricityMeterlist = () => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/iot/common/list?nuId=${uni.getStorageSync('nuId')}`,
+ method: 'get'
+ })
+}
+
+// 智能电表设备信息清零
+export const electricityMetereleReset = (cid,address) => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/iot/electricityMeter/eleReset?cid=${cid}&address=${address}`,
+ method: 'get'
+ })
+}
+
+// 智能电表设备拉闸合闸
+export const electricityMetereleControl = (cid,address,type) => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/iot/electricityMeter/eleControl?cid=${cid}&address=${address}&type=${type}`,
+ method: 'get'
+ })
+}
+
+// 智能电表设备保修
+export const electricityMeterbaoxiu = (id) => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/iot/electricityMeter/baoxiu`,
+ method: 'post',
+ data: {
+ id:id
+ },
+ })
+}
+
+// 智能电表设备抄表
+export const electricityMeteleRead = (cid,address) => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/iot/electricityMeter/eleRead?cid=${cid}&address=${address}`,
+ method: 'get'
+ })
+}
+
+// ===============================================
+// 智能水表设备信息清零
+export const waterwaterReset = (cid,address) => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/iot/water/waterReset?cid=${cid}&address=${address}`,
+ method: 'get'
+ })
+}
+
+// 智能水表设备拉闸合闸
+export const waterwaterControl = (cid,address,type) => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/iot/water/waterControl?cid=${cid}&address=${address}&type=${type}`,
+ method: 'get'
+ })
+}
+
+// 智能水表设备保修
+export const waterbaoxiu = (id) => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/iot/water/baoxiu`,
+ method: 'post',
+ data: {
+ id:id
+ },
+ })
+}
+
+// 智能电表设备抄表
+export const waterwaterRead = (cid,address) => {
+ return request({
+ url: `${uni.getStorageSync('serverUrl')}/api/iot/water/waterRead?cid=${cid}&address=${address}`,
+ method: 'get'
+ })
+}
\ No newline at end of file
diff --git a/pages/NursingNew/component/equipment.vue b/pages/NursingNew/component/equipment.vue
index f7de507..62dda22 100644
--- a/pages/NursingNew/component/equipment.vue
+++ b/pages/NursingNew/component/equipment.vue
@@ -1,5 +1,64 @@
+
+
+
+
+ 取消
+ 确定
+
+
+
+ 确定要清零吗
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+ 确定要抄表吗
+
+
+
+
+ 取消
+
+ 确定
+
+
+
+ 确定要{{ typeNow===1?'拉闸' : typeNow===2?'开阀' :"" }}吗
+
+
+
+
+ 取消
+
+ 确定
+
+
+
+ 确定要报修吗
+
+
+
+
+ 取消
+
+ 确定
+
+
+
+ 确定要{{ typeNow===1?'合闸' : typeNow===2?'关阀' :"" }}吗
+
+
+
+
NUID:{{ uni.getStorageSync('nuId')}}
@@ -30,7 +89,7 @@
+
+
+
+
+
+
+ {{ randomValue }}
+
+
+ {{indexmessage.eleValue?indexmessage.eleValue:'0.00'}}
+
+
+ KWH
+
-
-
-
-
-
-
- {{ randomValue }}
-
-
- 289.00
-
-
- KWH
-
-
-
- 用电量
-
-
-
-
-
-
- 在线
-
-
- SN:250425201185
-
-
- 上次抄表时间:2025-06-27 20:18:06
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ randomValue }}
+
+
+ {{watermessage.waterValue?watermessage.waterValue:'0.00'}}
+
+
+ m³
+
+
+
+ 用水量
+
+
+
+
+
+
+ {{watermessage.relayState=='1'?'关阀':'开阀'}}
+
+
+ SN:{{watermessage.address}}
+
+
+ 上次抄表时间:{{watermessage.readTime?watermessage.readTime:'未抄表'}}
+
+
+
+
+
+
-
-