From b1188a1a4eb11546f3b4558a5d657e7474a5fd2d Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期五, 30 八月 2024 14:47:52 +0800
Subject: [PATCH] 定时定量开阀相关功能

---
 pages/waterIntake/waterIntake.js |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/pages/waterIntake/waterIntake.js b/pages/waterIntake/waterIntake.js
index 912fe64..a80b9b1 100644
--- a/pages/waterIntake/waterIntake.js
+++ b/pages/waterIntake/waterIntake.js
@@ -64,11 +64,6 @@
       choseItem: event.currentTarget.dataset.item,
       allWaterPoints: []
     })
-    //  console.log(intakeId);
-    //   wx.navigateTo({
-    //     url: '/pages/openCard/openCard?intakeId='+intakeId,
-    //   })
-
   },
   //寮�娉甸�氫俊
   /**
@@ -270,10 +265,9 @@
     this.getcommonWaterPoints();
   },
   confirmDialog() {
-    // this.setData({
-    //   showConfirm: false
-    // })
-    // this.postOpenValva(this.data.choseItem.intakeId);
+    this.setData({
+      showConfirm: false
+    })
     this.toOpenCard();
   },
   closeDialog() {
@@ -303,7 +297,7 @@
   },
   toOpenCard(){
     wx.navigateTo({
-      url: '/pages/openCard/openCard',
+      url: '/pages/openCard/openCard?intakeId='+this.data.choseItem.intakeId,
     })
   }
 })
\ No newline at end of file

--
Gitblit v1.8.0