From 1e5c40ca6d5c6bbbd062f5cbdfc31d6045b4b77b Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 26 Oct 2021 09:01:24 +0800
Subject: [PATCH] 提醒密码为身份证后六位

---
 src/views/securityGuard/securityGuard.vue |   16 +++++++++++-----
 src/views/securityGuard/data.js           |   15 +++++++++++++++
 2 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/src/views/securityGuard/data.js b/src/views/securityGuard/data.js
index e947cfa..4a6b3bf 100644
--- a/src/views/securityGuard/data.js
+++ b/src/views/securityGuard/data.js
@@ -473,6 +473,21 @@
     searchLabelWidth: 50,
     display: false
 },
+// {
+//     label: "温馨提示",
+//     prop: "realName1",
+//     hide: true,
+//     addDisplay: true,
+//     editDisplay: false,
+//     span: 24,
+//     value: "账号为身份证号码,密码为身份证后六位",
+
+//     addDisabled: true
+//     // search: true,
+//     // searchSpan: 3,
+//     // width: 60,
+//     // searchLabelWidth: 50,
+// },
 {
     label: "所属保安公司",
     searchLabelWidth: "110",
diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index f08b135..5732615 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -1134,15 +1134,21 @@
           sex: row.sex,
         },
       };
+
       securitySave(userMap).then(
         () => {
           this.initFlag = false;
-          this.onLoad(this.page);
-          this.$message({
-            type: "success",
-            message: "操作成功!",
+          this.$alert("账号为身份证号码,密码为身份证后六位", "温馨提示", {
+            confirmButtonText: "确定",
+            callback: (action) => {
+              this.$message({
+                type: "success",
+                message: `操作成功`,
+              });
+              this.onLoad(this.page);
+              done();
+            },
           });
-          done();
         },
         (error) => {
           window.console.log(error);

--
Gitblit v1.9.3