From 90ffa7515c367e9be9a2c41e954757898ad2df94 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 17 十一月 2020 15:27:07 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/monitor/js/monitor.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/monitor/js/monitor.js b/src/main/webapp/views/monitor/js/monitor.js
index d1f7de9..eb192f3 100644
--- a/src/main/webapp/views/monitor/js/monitor.js
+++ b/src/main/webapp/views/monitor/js/monitor.js
@@ -53,7 +53,14 @@
     http.get(baseUrl+"/monitor/other", {crnId: getUrlVal("crnId")}, function (res) {
         if (res.code === 200){
 
-            console.log(res);
+            $('#totalLoc').text(res.data.totalLoc);
+            $('#totalWrk').text(res.data.totalWrk);
+
+            $('#xSpeed').text(res.data.xSpeed);
+            $('#ySpeed').text(res.data.ySpeed);
+
+            // 璁℃暟鍔ㄧ敾
+            $('.counter').countUp();
         } else if (res.code === 403){
             parent.location.href = baseUrl+"/login";
         }  else {

--
Gitblit v1.9.1