From ed3015095f1b0e88bc579877c678a3fac191381f Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 28 六月 2021 14:32:26 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/zhengcaioa --- zhengcaioa/zhengcaioa/Views/Signin/AskLeave.cshtml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/Signin/AskLeave.cshtml b/zhengcaioa/zhengcaioa/Views/Signin/AskLeave.cshtml index b2ccff1..fca84e4 100644 --- a/zhengcaioa/zhengcaioa/Views/Signin/AskLeave.cshtml +++ b/zhengcaioa/zhengcaioa/Views/Signin/AskLeave.cshtml @@ -184,6 +184,8 @@ </form> <script type="text/javascript"> + + var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 - 95; $("#div_content").height(hh); @@ -285,7 +287,9 @@ _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶 } catch (err) { - parent._CloseTab1("/Signin/AskLeave/"); + var pathname = window.location.pathname; + var search = window.location.search; + parent._CloseTab1(pathname + search); } } -- Gitblit v1.9.1