diff --git a/subpages/searchResult/pages/resiInfo/resiInfo.js b/subpages/searchResult/pages/resiInfo/resiInfo.js
index bcbc719..56bc48b 100644
--- a/subpages/searchResult/pages/resiInfo/resiInfo.js
+++ b/subpages/searchResult/pages/resiInfo/resiInfo.js
@@ -778,9 +778,6 @@ Page({
api.isUpdater(this.data.resiId).then(result => {
if (result.code==0) {
if (result.data==true) {
- this.setData({
- checkPassword:true
- })
this.onConfirmassword()
}
else{
@@ -799,14 +796,20 @@ Page({
password:e.detail.value
})
},
+ // 关闭
onClosePassword(){
this.setData({
checkPassword:false
})
},
- onConfirmassword(){
+ //
+ onClickconfirm(){
+ this.onConfirmassword(this.data.password)
+ },
+ //
+ onConfirmassword(password){
let parm = {
- password:this.data.password
+ password
}
api.getResiUserInfo(this.data.resiId,parm).then(res=>{
if(res.code === 0){
diff --git a/subpages/searchResult/pages/resiInfo/resiInfo.wxml b/subpages/searchResult/pages/resiInfo/resiInfo.wxml
index e6bdb89..491a042 100644
--- a/subpages/searchResult/pages/resiInfo/resiInfo.wxml
+++ b/subpages/searchResult/pages/resiInfo/resiInfo.wxml
@@ -336,7 +336,7 @@
走访打卡
-
+