From 2fe250ece8de95b3f70172fe5b45793ab6a3084a Mon Sep 17 00:00:00 2001 From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139> Date: 星期五, 18 一月 2019 17:30:50 +0800 Subject: [PATCH] 未审批可更改 --- gx_tieta/WebRoot/ele-param1.jsp | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/ele-param1.jsp b/gx_tieta/WebRoot/ele-param1.jsp index 058dc80..7d22d3c 100644 --- a/gx_tieta/WebRoot/ele-param1.jsp +++ b/gx_tieta/WebRoot/ele-param1.jsp @@ -132,6 +132,8 @@ <div id="iframeAddData"></div> <!-- 鍏抽棴椤甸潰涓璱frame寮瑰嚭灞� --> <div id="iframeClose"></div> + <!-- 鏌ヨ骞舵樉绀虹紪杈戦潰鏉� --> + <div id="iframeShowEidt"></div> <script type="text/html" id="battGrouptools"> <a class="layui-btn layui-btn-xs" lay-event="edit">缂栬緫</a> <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">鍒犻櫎</a> @@ -170,7 +172,7 @@ //console.info(json); <% } %> - console.log(permits); + // console.log(permits); layui.use(['form', 'table', 'layer', 'element'], function() { var table = layui.table; // 鑾峰彇琛ㄦ牸妯″潡 @@ -513,6 +515,15 @@ searchHomeInfoByName(obj.data.StationName); } + // 鐐瑰嚮鏄剧ず缂栬緫闈㈡澘 + $('#iframeShowEidt').click(function() { + var sName = $(this).data('sName'); + if(sName) { + searchHomeInfoByName(sName); + } + }); + + // 鏍规嵁鏈烘埧鐨勫悕绉版煡璇㈡満鎴跨殑淇℃伅 function searchHomeInfoByName(homename) { var temp = { @@ -536,7 +547,6 @@ async:true, dataType:'json', data:"json="+JSON.stringify(temp), - success: function(res){ var rs = JSON.parse(res.result) if(rs.code == 1) { -- Gitblit v1.9.1