#
luxiaotao1123
2022-04-07 ae74235d8d7776d4db335c460529c929b0c00eb7
#
4个文件已修改
24 ■■■■ 已修改文件
static/js/common.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/data/Asrs.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/utils/DataShow.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
views/index.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/common.js
@@ -1,4 +1,4 @@
var baseUrl = "http://localhost:9090/jkwcs"
function CommonFunction() {
static/js/data/Asrs.js
@@ -9,11 +9,9 @@
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',
        url: top.baseUrl + '/three/init/store/v1',
        type: "POST",
        data: {},
        // async: false,
        success: function (res) {
            Store3DData = res;
        }
@@ -23,8 +21,7 @@
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) {
@@ -36,8 +33,7 @@
var StaDatas = null;
function queryStaCurrent() {
    $.ajax({
        // url: 'http://47.97.1.152:58080/jkwcs/three/query/crn/cache/v1',
        url: 'http://localhost:9090/jkwcs/three/query/sta/cache/v1',
        url: top.baseUrl + '/three/query/sta/cache/v1',
        type: "GET",
        data: {},
        success: function (res) {
static/js/utils/DataShow.js
@@ -8,8 +8,14 @@
    let htmlText='';
    switch (type) {
        case 'locNo':
            htmlText+='<p>库位编号:'+ this.uuid +'</p>';
            htmlText += '<p>库位编号:'+ this.uuid +'</p>';
            $.ajax({
                url: top.baseUrl + '/three/query/loc/detl/v1?locNo=' + this.uuid,
                type: "GET",
                success: function (res) {
                    console.log(res);
                }
            })
            break
        case "wrkNo":
            htmlText+='<p>任务编号:'+ this.uuid +'</p>';
views/index.html
@@ -9,9 +9,9 @@
    <link rel="stylesheet" href="../static/css/index.css">
    <link rel="stylesheet" href="../static/css/loader.css" media="all">
    <script type="text/javascript" src="../static/js/lib/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="../static/js/common.js"></script>
    <script type="text/javascript" src="../static/js/data/Asrs.js"></script>
    <script type="text/javascript" src="../static/js/utils.js"></script>
    <script type="text/javascript" src="../static/js/common.js"></script>
    <script type="text/javascript" src="../static/js/lib/echarts.min.js"></script>
    <script type="text/javascript" src="../static/js/data/BuildingData.js"></script>
    <script type="text/javascript" src="../static/js/data/ConveyData.js"></script>