From 498e71eb8ce7db34e54f64dc2c83e8edc49c54a3 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 08 五月 2024 10:40:06 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit

---
 h5/pages/userinfo/userinfo.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/h5/pages/userinfo/userinfo.vue b/h5/pages/userinfo/userinfo.vue
index fc49bd6..315bfb3 100644
--- a/h5/pages/userinfo/userinfo.vue
+++ b/h5/pages/userinfo/userinfo.vue
@@ -86,8 +86,8 @@
 					userAnswerId: '',
 					name: '',
 					phone: '',
-					idcardType: '',
-					idcardTypeName: '',
+					idcardType: '0',
+					idcardTypeName: '韬唤璇�',
 					idcardNo: '',
 					faceImg: '',
 					faceImgUrl: '',
@@ -198,7 +198,7 @@
 				that.$refs.cropper.close()
 				uni.showLoading({ title: '涓婁紶涓�', mask: true });
 				uni.uploadFile({
-					url: `${this.$baseUrl}public/api/uploadFtp.do`,
+					url: `${this.$baseUrl}visitsAdmin/cloudService/web/public/uploadFtp.do`,
 					filePath: file.tempFilePath,
 					name: 'file',
 					formData: {
@@ -221,7 +221,7 @@
 				var that = this
 				that.type = type
 				if (type === 'faceImg') {
-					that.$refs.cropper.open()
+					that.$refs.cropper.chooseImage()
 					return
 				}
 				uni.chooseImage({
@@ -234,7 +234,7 @@
 						if (type === 'imgurl') {
 							uni.showLoading({ title: '涓婁紶涓�', mask: true });
 							uni.uploadFile({
-								url: `${that.$baseUrl}public/api/uploadFtp.do`,
+								url: `${that.$baseUrl}visitsAdmin/cloudService/web/public/uploadFtp.do`,
 								filePath: chooseImageRes.tempFilePaths[0],
 								name: 'file',
 								formData: {

--
Gitblit v1.9.3