From a0a7d3b00947f9d449f01209c9b0cddca5ece6bd Mon Sep 17 00:00:00 2001 From: whycq0520 <91384184@qq.com> Date: 星期四, 24 三月 2022 21:52:03 +0800 Subject: [PATCH] # ycq --- 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