|  |  | 
 |  |  |                <view class="list-item-row" @click="selectAddress()"> | 
 |  |  |                   <view class="list-item-row-label">用工地点<b>*</b></view> | 
 |  |  |                   <view class="list-item-row-val"> | 
 |  |  |                      <text>{{form.location ? form.location : '请选择'}}</text> | 
 |  |  |                      <text style="width:80%;">{{form.location ? form.location : '请选择'}}</text> | 
 |  |  |                      <u-icon name="arrow-right" color="#111111" size="16"></u-icon> | 
 |  |  |                   </view> | 
 |  |  |                </view> | 
 |  |  | 
 |  |  |          :show="show" | 
 |  |  |          color="#00BC12" | 
 |  |  |          mode="range" | 
 |  |  |           :allowSameDay="true" | 
 |  |  |          @close="show = false" | 
 |  |  |          @confirm="confirmDate" /> | 
 |  |  |        | 
 |  |  | 
 |  |  |                         uni.showToast({ title: '编辑成功', icon: 'success', mask: true, duration: 2000 }) | 
 |  |  |                         setTimeout(() => { | 
 |  |  |                            uni.navigateBack({ delta: 1 }); | 
 |  |  |                            uni.$emit('refresh') | 
 |  |  |                            // uni.$emit('refresh') | 
 |  |  |                         }, 1500) | 
 |  |  |                      } | 
 |  |  |                   }) | 
 |  |  | 
 |  |  |                success: (res) => { | 
 |  |  |                   this.form.lat = res.latitude | 
 |  |  |                   this.form.lgt = res.longitude | 
 |  |  |                   this.form.address = res.address | 
 |  |  |                   this.form.address = res.name || res.address | 
 |  |  |                } | 
 |  |  |             }); | 
 |  |  |          }, |