|
@@ -2583,9 +2583,10 @@ Page({
|
|
|
return data;
|
|
|
},
|
|
|
huixian(id, name) {
|
|
|
- console.log(id);
|
|
|
- console.log(name);
|
|
|
if (id) {
|
|
|
+ wx.showLoading({
|
|
|
+ title: '加载中',
|
|
|
+ })
|
|
|
this.setData({
|
|
|
showBj: false,
|
|
|
showBj1: false,
|
|
@@ -2594,6 +2595,9 @@ Page({
|
|
|
familyFid: id,
|
|
|
color: 'transparent',
|
|
|
})
|
|
|
+ console.log(this.data.showBj , "关闭提示添加");
|
|
|
+
|
|
|
+
|
|
|
var that = this;
|
|
|
wx.request({
|
|
|
url: util.globalData.publicUrl + '/wxinfo/listByFid',
|
|
@@ -2605,6 +2609,7 @@ Page({
|
|
|
appletsId: wx.getStorageSync('openId')
|
|
|
},
|
|
|
success: (res) => {
|
|
|
+ wx.hideLoading()
|
|
|
console.log(res.data.data, "单查赋值锕")
|
|
|
that.setData({
|
|
|
oldInfo: res.data.data
|
|
@@ -3293,6 +3298,8 @@ Page({
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
+ console.log("我是没有fid的");
|
|
|
+
|
|
|
let oldInfo = [{
|
|
|
name: '',
|
|
|
oldSex: [{
|
|
@@ -3564,7 +3571,7 @@ Page({
|
|
|
regularsInfos: regularsInfos,
|
|
|
})
|
|
|
console.log(this.data.regularsInfos);
|
|
|
-
|
|
|
+ console.log(this.data.showBj);
|
|
|
}
|
|
|
|
|
|
},
|
|
@@ -3677,11 +3684,9 @@ Page({
|
|
|
return;
|
|
|
};
|
|
|
this.setData({
|
|
|
- showBj: true,
|
|
|
addOldname: '',
|
|
|
currentIndex: 0
|
|
|
})
|
|
|
-
|
|
|
const app = getApp()
|
|
|
console.log(app.globalData.id, "传参的一户的值");
|
|
|
this.huixian(app.globalData.id, app.globalData.name);
|
|
@@ -3690,6 +3695,11 @@ Page({
|
|
|
const app = getApp()
|
|
|
app.globalData.id = ''
|
|
|
app.globalData.name = ''
|
|
|
+ this.setData({
|
|
|
+ showBj: false
|
|
|
+ })
|
|
|
+ console.log(this.data.showBj , "我关闭页面隐藏属性");
|
|
|
+
|
|
|
},
|
|
|
//获取位置
|
|
|
getSelfLocation: function (varSendOrgId) {
|