|  |  | 
 |  |  |                <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" /> | 
 |  |  |        | 
 |  |  | 
 |  |  |             this.$u.api.getDetail({ | 
 |  |  |                orderId: option.id | 
 |  |  |             }).then(res => { | 
 |  |  |                this.info = res.data | 
 |  |  |                for (const key in this.form) { | 
 |  |  |                   this.form[key] = res.data[key] | 
 |  |  |                if (res.code === 200) { | 
 |  |  |                   this.info = res.data | 
 |  |  |                   for (const key in this.form) { | 
 |  |  |                      this.form[key] = res.data[key] | 
 |  |  |                   } | 
 |  |  |                   this.form.days = res.data.totalDays | 
 |  |  |                   this.form.price = Number(this.form.price) / 100 | 
 |  |  |                   if (!this.form.multifileList) { | 
 |  |  |                      this.form.multifileList = [] | 
 |  |  |                   } | 
 |  |  |                } | 
 |  |  |                this.form.days = res.data.totalDays | 
 |  |  |                this.form.price = Number(this.form.price) / 100 | 
 |  |  |                if (!this.form.multifileList) { | 
 |  |  |                   this.form.multifileList = [] | 
 |  |  |                } | 
 |  |  | 					 | 
 |  |  |             }) | 
 |  |  |          } else { | 
 |  |  |             this.form.linkPhone = this.userInfo.telephone | 
 |  |  | 
 |  |  |                         uni.showToast({ title: '编辑成功', icon: 'success', mask: true, duration: 2000 }) | 
 |  |  |                         setTimeout(() => { | 
 |  |  |                            uni.navigateBack({ delta: 1 }); | 
 |  |  |                            uni.$emit('refresh') | 
 |  |  |                            // uni.$emit('refresh') | 
 |  |  |                         }, 1500) | 
 |  |  |                      } | 
 |  |  |                   }) | 
 |  |  | 
 |  |  |                   type: this.form.type, | 
 |  |  |                   workType: this.form.workType | 
 |  |  |                }).then(res => { | 
 |  |  |                   this.form.estimatedAccount = res.data | 
 |  |  |                   if (res.code === 200) { | 
 |  |  |                      this.form.estimatedAccount = res.data | 
 |  |  |                   } | 
 |  |  | 						 | 
 |  |  |                }) | 
 |  |  |             } | 
 |  |  |          }, | 
 |  |  | 
 |  |  |                success: (res) => { | 
 |  |  |                   this.form.lat = res.latitude | 
 |  |  |                   this.form.lgt = res.longitude | 
 |  |  |                   this.form.address = res.address | 
 |  |  |                   this.form.address = res.name || res.address | 
 |  |  |                } | 
 |  |  |             }); | 
 |  |  |          }, | 
 |  |  | 
 |  |  |             this.$u.api.getCategoryList({ | 
 |  |  |                type: 0 | 
 |  |  |             }).then(res => { | 
 |  |  |                this.cateList = [res.data] | 
 |  |  |                if (res.code === 200) { | 
 |  |  |                   this.cateList = [res.data] | 
 |  |  |                } | 
 |  |  | 					 | 
 |  |  |             }) | 
 |  |  |          }, | 
 |  |  |          uploadImg() { |