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/views/locMast/locMast.html | 10 ++++++++++
src/main/webapp/views/pakStore/emptyIn.html | 4 ++++
src/main/webapp/static/js/locMast/locMast.js | 20 ++++++++++++++++++++
3 files changed, 34 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;
}
});
diff --git a/src/main/webapp/views/locMast/locMast.html b/src/main/webapp/views/locMast/locMast.html
index 156224a..c632b9c 100644
--- a/src/main/webapp/views/locMast/locMast.html
+++ b/src/main/webapp/views/locMast/locMast.html
@@ -9,6 +9,11 @@
<link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
<link rel="stylesheet" href="../../static/css/cool.css" media="all">
<link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <style>
+ #btn-init {
+ display: none;
+ }
+ </style>
</head>
<body>
@@ -61,6 +66,7 @@
<button class="layui-btn layui-btn-sm" id="btn-add" lay-event="addData">鏂板</button>
<!--<button class="layui-btn layui-btn-sm" id="btn-refresh" lay-event="refreshData">鍒锋柊</button>-->
<button class="layui-btn layui-btn-sm" id="btn-delete" lay-event="deleteData">鍒犻櫎</button>
+ <button class="layui-btn layui-btn-primary" id="btn-init" lay-event="init">鍒濆鍖�</button>
<button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData">瀵煎嚭</button>
</div>
</script>
@@ -77,6 +83,10 @@
<script type="text/javascript" src="../../static/js/locMast/locMast.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
+<!-- 閲嶇疆搴撲綅寮圭獥 -->
+<div id="resetLocDiv">
+ <h1>Hello </h1>
+</div>
</body>
</html>
diff --git a/src/main/webapp/views/pakStore/emptyIn.html b/src/main/webapp/views/pakStore/emptyIn.html
index e61a9ba..4ad8c3a 100644
--- a/src/main/webapp/views/pakStore/emptyIn.html
+++ b/src/main/webapp/views/pakStore/emptyIn.html
@@ -14,6 +14,10 @@
</head>
<body>
+
+
+
+
<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
--
Gitblit v1.9.1