From f3ed1f9e98e13b9fb631e2fab851be15b7dde206 Mon Sep 17 00:00:00 2001 From: wang..123 <brook_w@163.com> Date: 星期五, 25 三月 2022 08:41:48 +0800 Subject: [PATCH] Merge branch 'zypms' of http://47.97.1.152:5880/r/wms_saas into zypms --- src/main/webapp/static/js/config.js | 2 +- src/main/webapp/static/js/tableData.js | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/config.js b/src/main/webapp/static/js/config.js index 4e7e84b..b2cbafe 100644 --- a/src/main/webapp/static/js/config.js +++ b/src/main/webapp/static/js/config.js @@ -1,2 +1,2 @@ -var baseurl = 'http://127.0.0.1:8080'; +var baseurl = 'http://localhost:8080'; // var baseurl = 'http://47.97.1.152:58080'; \ No newline at end of file diff --git a/src/main/webapp/static/js/tableData.js b/src/main/webapp/static/js/tableData.js index 0cd8b80..f1f5fc2 100644 --- a/src/main/webapp/static/js/tableData.js +++ b/src/main/webapp/static/js/tableData.js @@ -1,6 +1,7 @@ setTimeout(function(){ getTheaddData() getThbodyData() + getWang() },0) setInterval(function(){ getThbodyData() @@ -151,5 +152,15 @@ } /*****************************************************************************************************************************************************************************/ + function getWang() { + $.ajax({ + url:baseurl+'/pms/projectPlan/dataSummary', + type:'GET', + data:{}, + success:function(res){ + console.log(res) + } + }) + } -- Gitblit v1.9.1