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/crn.html | 4 ++--
src/main/webapp/views/pipeline.html | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/crn.html b/src/main/webapp/views/crn.html
index a8fda83..b4d9a00 100644
--- a/src/main/webapp/views/crn.html
+++ b/src/main/webapp/views/crn.html
@@ -190,7 +190,7 @@
getCommandLog();
},1000);
setInterval(function () {
- getSiteOutput();
+ getCrnOutput();
operatorBlockShow();
},500);
@@ -407,7 +407,7 @@
}
// 杈撻�佽澶囨棩蹇楄緭鍑� -----------------------------------------------------------------------
- function getSiteOutput() {
+ function getCrnOutput() {
$.ajax({
url: baseUrl + "/crn/output/site",
headers: {'token': localStorage.getItem('token')},
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