From b8d497fd98941629387717c6d6aaf6185d643797 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 20 八月 2020 14:09:23 +0800 Subject: [PATCH] #修改站点数据--todo(未完成) --- src/main/webapp/views/pipeline.html | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/views/pipeline.html b/src/main/webapp/views/pipeline.html index 4dc6a30..c4271de 100644 --- a/src/main/webapp/views/pipeline.html +++ b/src/main/webapp/views/pipeline.html @@ -11,6 +11,7 @@ <link rel="stylesheet" type="text/css" href="../static/css/pipeline.css"> <script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="../static/js/common.js"></script> + <script type="text/javascript" src="../static/js/layer/layer.js"></script> <style> </style> @@ -74,6 +75,10 @@ <footer> <textarea id="output"></textarea> </footer> + +<div id="site-detl" style="display: none"> + hello world +</div> </body> <script> // 鍒濆鍖� @@ -99,6 +104,18 @@ getSiteOutput(); },500); + $(document).on('click','#site-table tr', function () { + layer.open({ + type: 1, + title: false, + content: $("#site-detl"), + success: function(layero, index){ + + } + }) + console.log($(this).children("td").eq(0).html()); + }); + // plc寮傚父淇℃伅琛ㄨ幏鍙� function getPlcError() { -- Gitblit v1.9.1