注册所在位置

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