From 1b2dcd3d96d2f2e71d1ef2c5d490bca64475d870 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期三, 07 二月 2024 14:29:38 +0800
Subject: [PATCH] 物料无法新增问题

---
 src/main/webapp/views/detail.html |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/webapp/views/detail.html b/src/main/webapp/views/detail.html
index d38ca41..38cf8d4 100644
--- a/src/main/webapp/views/detail.html
+++ b/src/main/webapp/views/detail.html
@@ -57,13 +57,13 @@
                     <div class="layui-form-mid layui-word-aux">褰撳墠瑙掕壊涓嶅彲鏇存敼涓哄叾瀹冭鑹�</div>
                 </div>
                 <div class="layui-form-item">
-                    <label class="layui-form-label">璐﹀彿鍚�</label>
+                    <label class="layui-form-label">鍚嶇О</label>
                     <div class="layui-input-inline">
                         <input id="username" class="layui-input" type="text" placeholder="璇疯緭鍏�" autocomplete="off">
                     </div>
                 </div>
                 <div class="layui-form-item">
-                    <label class="layui-form-label">鎵嬫満鍙�</label>
+                    <label class="layui-form-label">璐﹀彿</label>
                     <div class="layui-input-inline">
                         <input id="mobile" class="layui-input" type="text" placeholder="璇疯緭鍏�" autocomplete="off">
                     </div>
@@ -116,7 +116,7 @@
                         $('#person-detail').find(":input[id='" + val + "']").val(user[val]);
                     }
                 } else if (res.code === 403){
-                    top.location.href = baseUrl;
+                    top.location.href = baseUrl+"/";
                 } else {
                     layer.msg(res.msg);
                 }
@@ -130,11 +130,10 @@
                 title: '淇敼瀵嗙爜',
                 maxmin: true,
                 area: ['350px', '310px'],
-                offset: ['120px', '350px'],
                 shadeClose: false,
                 content: 'password.html',
                 success: function(layero, index){
-
+                    layer.iframeAuto(index);
                 }
             })
         });
@@ -158,8 +157,9 @@
                             layer.msg(res.msg);
                             localStorage.setItem("username", user.username);
                             parent.$('#person-username').text(localStorage.getItem('username'));
+                            parent.layer.closeAll();
                         } else if (res.code === 403){
-                            top.location.href = baseUrl;
+                            top.location.href = baseUrl+"/";
                         } else {
                             layer.msg(res.msg);
                         }

--
Gitblit v1.9.1