From 946e956bb8b13fa63d77359fc667e222cd5bc67e Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 12 六月 2020 15:55:24 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/locMast/locMast.js |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/locMast/locMast.js b/src/main/webapp/static/js/locMast/locMast.js
index 45fac00..bb0a43d 100644
--- a/src/main/webapp/static/js/locMast/locMast.js
+++ b/src/main/webapp/static/js/locMast/locMast.js
@@ -201,6 +201,26 @@
                     });
                 });
                 break;
+            case "init":
+                layer.prompt({title: '璇疯緭鍏ュ彛浠わ紝骞堕噸缃簱浣�', formType: 1,   shadeClose: true}, function(pass, idx){
+                    if (pass === "123456") {
+                        layer.open({
+                            type: 1,
+                            title: '鍒濆鍖栧簱浣�',
+                            maxmin: true,
+                            shadeClose: true,
+                            content: $("#resetLocDiv"),
+                            success: function (layero, index) {
+
+                            }
+                        })
+                    } else {
+                        layer.msg("鍙d护閿欒");
+                    }
+                    layer.close(idx);
+                    doSwitch(0, pass); // 鍋滄wcs绯荤粺
+                });
+                break;
         }
     });
 

--
Gitblit v1.9.1