From 599158145f8fc5c42b29ad1eee2b016eaabea784 Mon Sep 17 00:00:00 2001 From: mrzhssss <pro6@qq.com> Date: 星期三, 26 一月 2022 08:12:24 +0800 Subject: [PATCH] 更新 --- src/main/webapp/static/js/tableData.js | 23 +++++++++++++++++------ 1 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/static/js/tableData.js b/src/main/webapp/static/js/tableData.js index a44abfb..3b799e5 100644 --- a/src/main/webapp/static/js/tableData.js +++ b/src/main/webapp/static/js/tableData.js @@ -1,7 +1,16 @@ + setTimeout(function(){ + getTheaddData() + getThbodyData() + },0) + setInterval(function(){ + getThbodyData() + },5000) + + var proData = ["椤圭洰鍚嶇О","寮�濮嬫椂闂�","缁撴潫鏃堕棿",] var getTheaddData = function(){ $.ajax({ - url:'http://192.168.4.99:8080/wms/projectPlan/flowStatus', + url:'http://192.168.4.99:8080/pms/projectPlan/flowStatus', type:'GET', dataType:'JSON', data:{}, @@ -22,10 +31,11 @@ }, }) } - setInterval(getTheaddData(),10000) + +/*****************************************************************************************************************************************************************************/ var getThbodyData = function(){ $.ajax({ - url:'http://192.168.4.99:8080/wms/projectPlan/toFront', + url:'http://192.168.4.99:8080/pms/projectPlan/toFront', type:'GET', dataType:'JSON', data:{}, @@ -116,6 +126,7 @@ } }) } - setInterval(getThbodyData(),10000) - - + +/*****************************************************************************************************************************************************************************/ + + -- Gitblit v1.9.1