From 0edab78d73d975663da8ce2596a0a00c1b6a6db1 Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期一, 12 十一月 2018 08:51:53 +0800 Subject: [PATCH] Merge branch 'dev_lxw' of https://whychdw@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw --- gx_tieta/WebRoot/index.jsp | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/gx_tieta/WebRoot/index.jsp b/gx_tieta/WebRoot/index.jsp index cc852de..a92b69e 100644 --- a/gx_tieta/WebRoot/index.jsp +++ b/gx_tieta/WebRoot/index.jsp @@ -138,7 +138,7 @@ </table> </div> </div> - <div class="layui-colla-item"> + <div class="layui-colla-item" id="permitAddHome"> <h2 class="layui-colla-title">娣诲姞鏈烘埧</h2> <div class="layui-colla-content"> <table id="mapToolAddHome"> @@ -3631,6 +3631,13 @@ }); } + // 鏍规嵁鏉冮檺鏇存柊鍦板浘宸ュ叿鍐呭 + var permitAddHome = getPermit('batt_map_edit_permit', permits); // 娣诲姞鏈烘埧鐨勬潈闄� + // 娌℃湁娣诲姞鏈烘埧鐨勬潈闄� + if(!permitAddHome) { + $('#permitAddHome').remove(); + } + // 鍦板浘宸︿笂鏂归潰鏉挎ā鍧�-鐐瑰嚮闈㈡澘涓婃柟鐨勫皬鍥炬爣鏄剧ず璁惧畾淇℃伅 $('#showMapInfoDetail').click(function() { $('.map-info-detail').slideToggle(); -- Gitblit v1.9.1