|
@@ -141,6 +141,15 @@
|
|
|
placeholder-class="placeholder" />
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="flex listItem">
|
|
|
+ <view class="flex titleBox">
|
|
|
+ <text class="font-color-red font-size-sm">✲</text><text class="title">服务次数</text>
|
|
|
+ </view>
|
|
|
+ <view class="right flex">
|
|
|
+ <input class="input" v-model="updata.service_count" type="number" placeholder="请输入最低收费价"
|
|
|
+ placeholder-class="placeholder" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="flex listItem">
|
|
|
<view class="flex titleBox">
|
|
|
<text class="font-color-red font-size-sm">✲</text><text class="title">服务区域</text>
|
|
@@ -451,7 +460,8 @@
|
|
|
service_project_ar: pushar,
|
|
|
service_imgs:that.updata.service_imgs,
|
|
|
no:that.updata.no,
|
|
|
- user_work_type_title:that.updata.word.title
|
|
|
+ user_work_type_title:that.updata.word.title,
|
|
|
+ service_count:that.updata.service_count
|
|
|
}
|
|
|
console.log('baocun');
|
|
|
uni.setStorageSync('modeldata', data)
|
|
@@ -493,7 +503,8 @@
|
|
|
work_year: res.work_year, //从业时长
|
|
|
service_audit_imgs: res.service_audit_imgs, //我的证书
|
|
|
service_imgs: res.service_imgs, //服务展示
|
|
|
- no:res.no
|
|
|
+ no:res.no,
|
|
|
+ service_count:res.service_count
|
|
|
})
|
|
|
console.log(that.updata, 'that.updata');
|
|
|
resolve('初始化数据成功')
|
|
@@ -686,8 +697,8 @@
|
|
|
service_type: that.updata.timetype.code,
|
|
|
service_min_price: that.updata.minMoney,
|
|
|
service_max_price: that.updata.maxMoney,
|
|
|
- service_area: that.updata.onCity.map((arr) => {
|
|
|
- return arr.district
|
|
|
+ service_area: that.updata.onCity.map((item) => {
|
|
|
+ return item.province +','+item.city+','+item.district;
|
|
|
}),
|
|
|
service_project: that.updata.checkedType,
|
|
|
service_intro_content: that.updata.mymask,
|
|
@@ -699,6 +710,7 @@
|
|
|
service_audit_imgs: that.updata.service_audit_imgs,
|
|
|
service_imgs: that.updata.service_imgs,
|
|
|
user_work_type_id: that.updata.word.id,
|
|
|
+ service_count:that.updata.service_count
|
|
|
})
|
|
|
.then((e) => {
|
|
|
that.loding = false;
|