注册所在位置

This commit is contained in:
shidongli 2024-01-09 11:34:28 +08:00
parent 39dea4deaf
commit b5b4374a94

View File

@ -70,14 +70,14 @@
maxlength='40' />
</view> -->
<view class="name">
<!-- <view class="name">
所在位置
<view class="selectdata" @tap='getlocation'>
<text v-if="query.locationName ==''">请选择所在位置</text>
<text class="testitem"
style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{query.locationName}}</text>
</view>
</view>
</view> -->
<view class="name">
基础疾病
<view class="select" @tap="godisease">
@ -268,15 +268,17 @@
couponId: null,
patientName: "",
cardNo: "",
phone: "",
phone: "",
address: "",
areaCode: "",
homeLongitude: '118.5816',
homeLatitude: '37.44875',
// homeLongitude: '118.5816',
// homeLatitude: '37.44875',
homeLongitude: '',
homeLatitude: '',
nurseTypeIdList: [],
diseaseInfoList: [],
patientId: '',
locationName: '东营',
locationName: '',
sex: '',
sexname: '',
birthDate: '',
@ -418,13 +420,15 @@
type: 'error'
})
return
} else if (!that.query.locationName) {
that.$refs.uToast.show({
title: '请选择所在位置',
type: 'error'
})
return
} else if (!that.query.birthDate) {
}
// else if (!that.query.locationName) {
// that.$refs.uToast.show({
// title: '',
// type: 'error'
// })
// return
// }
else if (!that.query.birthDate) {
that.$refs.uToast.show({
title: '请选择出生日期',
type: 'error'