From 9fc5c873bcf8cc68be85f8f9a622aa2c3b86e69d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 06 四月 2022 14:30:35 +0800
Subject: [PATCH] #

---
 static/js/data/Asrs.js |   30 ++++++++++++++++++++----------
 1 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/static/js/data/Asrs.js b/static/js/data/Asrs.js
index b39954f..ed54974 100644
--- a/static/js/data/Asrs.js
+++ b/static/js/data/Asrs.js
@@ -3,8 +3,22 @@
 
 setInterval(function () {
     queryCrnCurrent();
+    queryStaCurrent();
 },1000);
 
+var Store3DData;
+function initStore() {
+    $.ajax({
+        // url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1',
+        url: 'http://localhost:9090/jkwcs/three/init/store/v1',
+        type: "POST",
+        data: {},
+        // async: false,
+        success: function (res) {
+            Store3DData = res;
+        }
+    })
+}
 
 var CrnDatas = null;
 function queryCrnCurrent() {
@@ -19,19 +33,15 @@
     })
 }
 
-var Store3DData;
-function initStore() {
+var StaDatas = null;
+function queryStaCurrent() {
     $.ajax({
-        // url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1',
-        url: 'http://localhost:9090/jkwcs/three/init/store/v1',
-        type: "POST",
+        // url: 'http://47.97.1.152:58080/jkwcs/three/query/crn/cache/v1',
+        url: 'http://localhost:9090/jkwcs/three/query/sta/cache/v1',
+        type: "GET",
         data: {},
-        // async: false,
         success: function (res) {
-            console.log(res)
-            Store3DData = res;
+            StaDatas = res.data;
         }
     })
-
 }
-

--
Gitblit v1.9.1