From 8fb281df7bb93d918c2bf75f29405fa9ce53bad8 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 26 Nov 2021 16:36:23 +0800
Subject: [PATCH] +pdf预览插件

---
 src/views/securityGuard/securityGuard.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 1226b6c..b7f89bc 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -826,7 +826,7 @@
                   text: " ",
                   ratio: 0.1,
                 },
-                action: "/api/blade-resource/oss/endpoint/put-file-user-avatar",
+                action: "/api/blade-resource/oss/endpoint/put-files",
                 tip: "上传身份证一寸近期彩色正面免冠图象, (358像素(宽) × 441像素(高)、分辨率350dpi)且不超过500kb",
                 span: 12,
                 // row: true,
@@ -2125,8 +2125,7 @@
               that.form.cardid = data.certNumber;
               that.form.nation = data.nation;
               that.form.registered = data.certAddress;
-              that.form.sex =
-                data.certType == 0 ? 2 : data.certType == 1 ? 1 : 3;
+              that.form.sex = data.gender == 0 ? 2 : data.gender == 1 ? 1 : 3;
               //禁止编辑
               that.openClosegroup(true);
               that.nowCell = "2";

--
Gitblit v1.9.3