Browse Source

2023-5-10

cmy 1 year ago
parent
commit
894336d356

+ 1 - 1
pages/modelData/modeltemplate/model_1.vue

@@ -31,7 +31,7 @@
 							<image :src="baseURL + '/resource/icon/model1/m1.png'" mode="" class="tit-logo"></image>个人信息
 						</view>
 						<view class="u-bh flex">
-							<image :src="baseURL + '/resource/icon/model1/bh.png'" mode=""></image>编号:{{cardInfo.no|| "myj23031421"}}
+							<image :src="baseURL + '/resource/icon/model1/bh.png'" mode=""></image>编号:{{cardInfo.no|| ""}}
 						</view>
 					</view>
 					

+ 1 - 0
pages/user/model/model.vue

@@ -115,6 +115,7 @@
 			//个人中心提交数据预览
 			if (this.type === 1) {
 				this.userTemplate = uni.getStorageSync('modeldata');
+				this.isDefault=false;
 				uni.setNavigationBarTitle({
 					title:'名片预览'
 				})

+ 10 - 6
pages/user/model/modelrz.vue

@@ -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('初始化数据成功')