修改
This commit is contained in:
parent
24147b2ec1
commit
32773f4e17
@ -47,10 +47,6 @@
|
||||
logincode: '',
|
||||
phonecode: '',
|
||||
phone: '',
|
||||
studentList: [],
|
||||
classList: [],
|
||||
parentList: [],
|
||||
msg: '',
|
||||
openId: '',
|
||||
}
|
||||
},
|
||||
@ -63,7 +59,6 @@
|
||||
that.yonghuwx = res.data
|
||||
that.top = false
|
||||
that.getPreOrderById();
|
||||
// that.mask = true
|
||||
}
|
||||
});
|
||||
},
|
||||
@ -134,7 +129,6 @@
|
||||
},
|
||||
info() {
|
||||
const items = uni.getStorageSync("this.DATAList");
|
||||
// const items = JSON.parse(this.DATAList);
|
||||
loginLogging(items).then(res => {})
|
||||
},
|
||||
getInfoByPhoneinfo() {
|
||||
@ -142,23 +136,15 @@
|
||||
getInfoByPhone(this.phone).then(res => {
|
||||
if (res.code == 200) {
|
||||
this.DATAList = res.data
|
||||
console.log(this.DATAList, '123456')
|
||||
let items = JSON.stringify(this.DATAList);
|
||||
uni.setStorageSync("this.DATAList", items)
|
||||
this.info();
|
||||
this.studentList = res.data.studentInfoList;
|
||||
this.classList = res.data.classInfoList;
|
||||
this.parentList = res.data;
|
||||
var obj = []
|
||||
res.data.studentInfoList.forEach(e => {
|
||||
obj.push(e.studentId)
|
||||
})
|
||||
uni.setStorageSync("studentId", obj)
|
||||
// that.top = false
|
||||
// this.mask = true;
|
||||
} else {
|
||||
|
||||
}
|
||||
} else {}
|
||||
})
|
||||
}
|
||||
},
|
||||
@ -199,24 +185,7 @@
|
||||
},
|
||||
fail: function(err) {}
|
||||
});
|
||||
|
||||
}
|
||||
// this.yonghuwx = JSON.parse(options.userinfo)
|
||||
// uni.request({
|
||||
// url: '/kindergarten/applet/appletLogin', //仅为示例,并非真实接口地址。
|
||||
// method:'GET'
|
||||
// data: {
|
||||
// text: 'uni.request'
|
||||
// },
|
||||
|
||||
// success: (res) => {
|
||||
// this.text = 'request success';
|
||||
// }
|
||||
// });
|
||||
|
||||
|
||||
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user