From 77d4a93ed9a3e49df5de1cb5ea8b3b75d987e4c5 Mon Sep 17 00:00:00 2001 From: llj <132905093+newwwwwwtree@users.noreply.github.com> Date: 星期一, 18 八月 2025 16:28:15 +0800 Subject: [PATCH] 补充 --- WebTM/layuiadmin/PubCustom.js | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/WebTM/layuiadmin/PubCustom.js b/WebTM/layuiadmin/PubCustom.js index ac8d3cb..bfa4b8d 100644 --- a/WebTM/layuiadmin/PubCustom.js +++ b/WebTM/layuiadmin/PubCustom.js @@ -142,6 +142,21 @@ } /** + *閫�鍑哄苟鍒锋柊鐖堕〉闈� + */ +function Pub_Close2(closeType) { + if (closeType == 1) { + //鍏抽棴寮圭獥 + var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩 + parent.location.reload(); //鍒锋柊鐖堕〉闈紝娉ㄦ剰涓�瀹氳鍦ㄥ叧闂綋鍓峣frame灞備箣鍓嶆墽琛屽埛鏂� + parent.layer.close(index); //鍐嶆墽琛屽叧闂� + } else if (closeType == 2) { + //鍏抽棴椤电 + parent.layui.admin.events.closeThisTabs(); + } +} + +/** *椤甸潰甯冨眬鏍蜂緥 *by zgq * -- Gitblit v1.9.1