From ce3533dad7bebb53ffc730b55e08092b19ae090c Mon Sep 17 00:00:00 2001
From: dengchaochao <m18576213742@163.com>
Date: Sat, 27 Jul 2024 21:58:06 +0800
Subject: [PATCH] 7.27更改东西

---
 src/views/login/step2/idSet.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/views/login/step2/idSet.vue b/src/views/login/step2/idSet.vue
index 768950c..a250332 100644
--- a/src/views/login/step2/idSet.vue
+++ b/src/views/login/step2/idSet.vue
@@ -67,7 +67,7 @@
                             </el-upload>
                             <p>{{ $t("message.user.zhengjianfanmian") }}</p>
                           </div>
-                          <div class="text-center">
+                          <!-- <div class="text-center">
                             <el-upload class="avatar-uploader" :action="`${nowUrl}/wap/public/uploadimg!execute.action`"
                               :headers="uploadHeader" accept=".jpg,.jpeg,.png,.gif.JPG,.JPEG,.PNG,.GIF"
                               :show-file-list="false" :on-success="holdIdCardSuccess" :on-error="onErrorUpload"
@@ -78,7 +78,7 @@
                               </el-icon>
                             </el-upload>
                             <p>{{ $t("message.user.shouchizhengjianzhao") }}</p>
-                          </div>
+                          </div> -->
                         </div>
                         <!-- 拍摄示例 -->
                         <div class="label label_top">
@@ -184,7 +184,7 @@
       // const { path, httpUrl } = res.data;
       // this.twoImg = httpUrl;
       const path = res.data;
-      this.twoImg = `${this.nowUrl}/wap/public/showimg!showImg.action?imagePath=${data}`;
+      this.twoImg = `${this.nowUrl}/wap/public/showimg!showImg.action?imagePath=${path}`;
       this.idBackImg = path;
     },
     //手持身份证
@@ -192,7 +192,7 @@
       // const { path, httpUrl } = res.data;
       // this.threeImg = httpUrl;
       const path = res.data;
-      this.threeImg = `${this.nowUrl}/wap/public/showimg!showImg.action?imagePath=${data}`;
+      this.threeImg = `${this.nowUrl}/wap/public/showimg!showImg.action?imagePath=${path}`;
       this.handheldPhoto = path;
     },
 
@@ -235,7 +235,7 @@
         return;
       }
 
-      if (!this.idFrontImg || !this.idBackImg || !this.handheldPhoto) {
+      if (!this.idFrontImg || !this.idBackImg) {
         this.$message.warning(this.$t("message.user.shangchuan6"));
         return;
       }
@@ -246,7 +246,7 @@
         name: this.name,
         idimg_1: this.idFrontImg,
         idimg_2: this.idBackImg,
-        idimg_3: this.handheldPhoto,
+        // idimg_3: this.handheldPhoto,
       }).then((res) => {
         if (res.code == "0") {
           this.$message.success(this.$t("message.user.bangdingchenggong"));
@@ -284,7 +284,7 @@
 /* 图片上传 */
 .image_upload {
   display: flex;
-  justify-content: space-between;
+  /* justify-content: space-between; */
 }
 
 .avatar-uploader .el-upload:hover {

--
Gitblit v1.9.3