This commit is contained in:
曹辉 2023-01-13 09:08:31 +08:00
parent c76dc48cd9
commit 450b53462c
4 changed files with 83 additions and 76 deletions

View File

@ -248,6 +248,9 @@
} else if (e.length == 1) { } else if (e.length == 1) {
this.address = e[0].localName this.address = e[0].localName
this.query.areaCode = e[0].id this.query.areaCode = e[0].id
} else {
this.address = ''
this.query.areaCode = ''
} }
}, },
// //

View File

@ -177,6 +177,9 @@
} else if (e.length == 1) { } else if (e.length == 1) {
this.address = e[0].localName this.address = e[0].localName
this.appPersonallist.areaCode = e[0].id this.appPersonallist.areaCode = e[0].id
}else {
this.address = ''
this.appPersonallist.areaCode = ''
} }
}, },
// //

View File

@ -181,6 +181,9 @@
} else if (e.length == 1) { } else if (e.length == 1) {
this.infolist.address = e[0].localName this.infolist.address = e[0].localName
this.infolist.areaCode = e[0].id this.infolist.areaCode = e[0].id
} else {
this.infolist.address = ''
this.infolist.areaCode = ''
} }
} }
}, },

View File

@ -149,7 +149,6 @@
}, },
onShow() { onShow() {
var that = this var that = this
try {
const value = uni.getStorageSync('patientId'); const value = uni.getStorageSync('patientId');
if (value) { if (value) {
getPatientInfo(value).then(res => { getPatientInfo(value).then(res => {
@ -243,7 +242,6 @@
// } // }
// }); // });
} }
} catch (e) {}
}, },
onLoad() {}, onLoad() {},
//1. //1.