|
@@ -300,6 +300,7 @@
|
|
|
},
|
|
|
service_audit_imgs: [], //我的证书
|
|
|
service_imgs: [], //服务展示
|
|
|
+ no:''
|
|
|
},
|
|
|
typeList: [], //服务类型
|
|
|
timeTypeList: [], //时间类型
|
|
@@ -407,6 +408,7 @@
|
|
|
if (!that.rendl()) {
|
|
|
return
|
|
|
}
|
|
|
+ // 获取生日
|
|
|
const birthday = IdCard('' + that.updata.cardId, 1);
|
|
|
// 复制选中的服务数组
|
|
|
let arr = [...that.updata.checkedType]
|
|
@@ -424,7 +426,7 @@
|
|
|
}
|
|
|
}
|
|
|
)
|
|
|
-
|
|
|
+ console.log(that.updata);
|
|
|
let data = {
|
|
|
name: that.updata.name,
|
|
|
avatar: that.updata.avatar,
|
|
@@ -444,15 +446,15 @@
|
|
|
service_max_price: that.updata.maxMoney,
|
|
|
service_time_type_title: that.updata.timetype.title,
|
|
|
service_intro_content: that.updata.mymask,
|
|
|
- service_intro_imgs: that.updata.service_imgs,
|
|
|
+ service_intro_imgs: that.updata.imageList,
|
|
|
service_audit_imgs: that.updata.service_audit_imgs,
|
|
|
service_project_ar: pushar,
|
|
|
- is_type_audit: 1
|
|
|
+ service_imgs:that.updata.service_imgs,
|
|
|
+ no:that.updata.no,
|
|
|
+ user_work_type_title:that.updata.word.title
|
|
|
}
|
|
|
+ console.log('baocun');
|
|
|
uni.setStorageSync('modeldata', data)
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/user/model/model?mtype=' + that.modelid + '&type=1'
|
|
|
})
|
|
@@ -464,6 +466,7 @@
|
|
|
getUserCardInfo().then(
|
|
|
(data) => {
|
|
|
const res = data.data;
|
|
|
+ console.log(res,'返回');
|
|
|
// 存储返回用户数据
|
|
|
that.userModelData = res;
|
|
|
that.updata = Object.assign(that.updata, {
|
|
@@ -490,6 +493,7 @@
|
|
|
work_year: res.work_year, //从业时长
|
|
|
service_audit_imgs: res.service_audit_imgs, //我的证书
|
|
|
service_imgs: res.service_imgs, //服务展示
|
|
|
+ no:res.no
|
|
|
})
|
|
|
console.log(that.updata, 'that.updata');
|
|
|
resolve('初始化数据成功')
|