This commit is contained in:
shidongli 2023-11-09 10:04:35 +08:00
parent 50f8c9d8e4
commit 6ccff7eeca
6 changed files with 9 additions and 7 deletions

View File

@ -4,7 +4,8 @@ export function appPersonal(patientId) {
url: `/nurseApp/login/appPersonal?patientId=${patientId}`,
method: 'GET',
header: {
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token'),
region: uni.getStorageSync('region'),
},
})
}

View File

@ -17,7 +17,8 @@ export function appPersonal(patientId) {
url: `/nurseApp/login/appPersonal?patientId=${patientId}`,
method: 'GET',
header: {
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token'),
region: uni.getStorageSync('region'),
},
})
}

View File

@ -367,7 +367,7 @@
const _this = this
_this.userinfo = uni.getStorageSync('userinfo');
_this.form.openid = uni.getStorageSync('openid');
_this.form.cityCode=_this.userinfo.cityCode
_this.form.cityCode= uni.getStorageSync('region');
console.log(_this.form, '000')
if (_this.form.sexname == '男') {
_this.form.sex = 'MALE';

View File

@ -127,7 +127,7 @@
this.userinfo = uni.getStorageSync('userinfo');
this.cardNo = this.userinfo.cardNo;
this.parentId = this.userinfo.id;
this.region = this.userinfo.cityCode;
this.region = uni.getStorageSync('region');
this.openId = uni.getStorageSync('openid');
// console.log(this.openId, '999')

View File

@ -298,7 +298,7 @@
timeout: 5000,
success(res) {
that.appPersonallist.headPictureUrl = JSON.parse(res.data).imgUrl
that.appPersonallist.cityCode = this.value.cityCode
that.appPersonallist.cityCode = uni.getStorageSync('region')
registerdata(that.appPersonallist).then(res => {
if (res.code == 200) {
that.$refs.uToast.show({
@ -325,7 +325,7 @@
}
})
} else {
that.appPersonallist.cityCode = this.value.cityCode
that.appPersonallist.cityCode = uni.getStorageSync('region')
registerdata(that.appPersonallist).then(res => {
if (res.code == 200) {
that.$refs.uToast.show({

View File

@ -60,7 +60,7 @@
this.parentId = this.userinfo.id;
// this.cardNo = '372926199812187720';
// this.parentId = '88';
this.region = this.userinfo.cityCode;
this.region = uni.getStorageSync('region');
this.getlist();
},