diff --git a/WebRoot/view/ywgl/rywh/index.html b/WebRoot/view/ywgl/rywh/index.html
index 6f3bc4aa..272e20f3 100644
--- a/WebRoot/view/ywgl/rywh/index.html
+++ b/WebRoot/view/ywgl/rywh/index.html
@@ -376,7 +376,7 @@
});
}
- window.updateLoginName = function (obj) {
+ window.updateLoginName = function (obj) {
layer.open({
type: 2,
title: '修改登录名',
@@ -396,7 +396,10 @@
area: ['690px', '100%'],
shade: 0.1,
shadeClose: true,
- content: './turn.html?person_id=' + obj.data.person_id
+ content: './turn.html?person_id=' + obj.data.person_id,
+ end: function () {
+ table.reload("data-table");
+ }
});
}
diff --git a/WebRoot/view/ywgl/rywh/tree.html b/WebRoot/view/ywgl/rywh/tree.html
index 73d25dfb..cdae0589 100644
--- a/WebRoot/view/ywgl/rywh/tree.html
+++ b/WebRoot/view/ywgl/rywh/tree.html
@@ -118,6 +118,7 @@
}, function () {
parent.layer.close(parent.layer.getFrameIndex(window.name));
// parent.layui.table.reload("data-table");
+ parent.closeLayer();
});
} else {
layer.msg(result.message, {
diff --git a/WebRoot/view/ywgl/rywh/turn.html b/WebRoot/view/ywgl/rywh/turn.html
index eda67211..fdd34b8f 100644
--- a/WebRoot/view/ywgl/rywh/turn.html
+++ b/WebRoot/view/ywgl/rywh/turn.html
@@ -212,6 +212,12 @@
return null;
}
+ window.closeLayer = function () {
+ setTimeout(function () {
+ parent.layer.close(parent.layer.getFrameIndex(window.name));
+ }, 500);
+ }
+
//点击任何地方关闭下拉树
$("body").on("click", function (event) {
$("div[dtree-id][dtree-select]").removeClass("layui-form-selected");