#
luxiaotao1123
2022-06-30 18bd54d17c3d09e48b14fcb0cc0fc74758a920b2
static/js/data/Asrs.js
@@ -3,14 +3,25 @@
setInterval(function () {
    queryCrnCurrent();
    queryStaCurrent();
},1000);
var Store3DData;
function initStore() {
    $.ajax({
        url: top.baseUrl + '/three/init/store/v1',
        type: "POST",
        data: {},
        success: function (res) {
            Store3DData = res;
        }
    })
}
var CrnDatas = null;
function queryCrnCurrent() {
    $.ajax({
        // url: 'http://47.97.1.152:58080/jkwcs/three/query/crn/cache/v1',
        url: 'http://localhost:9090/jkwcs/three/query/crn/cache/v1',
        url: top.baseUrl + '/three/query/crn/cache/v1',
        type: "GET",
        data: {},
        success: function (res) {
@@ -19,18 +30,14 @@
    })
}
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: top.baseUrl + '/three/query/sta/cache/v1',
        type: "GET",
        data: {},
        // async: false,
        success: function (res) {
            Store3DData = res;
            StaDatas = res.data;
        }
    })
}