From f10759077f990bc82ff991041e7d10ad9bd09927 Mon Sep 17 00:00:00 2001 From: didiyu <1293722656@qq.com> Date: 星期二, 27 十一月 2018 16:37:50 +0800 Subject: [PATCH] 加模拟数据 --- gx_tieta/WebRoot/mobil/ele-param.html | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/ele-param.html b/gx_tieta/WebRoot/mobil/ele-param.html index 7e2172e..09abe58 100644 --- a/gx_tieta/WebRoot/mobil/ele-param.html +++ b/gx_tieta/WebRoot/mobil/ele-param.html @@ -191,14 +191,14 @@ /*if() { load = layer.load(1); }*/ - $.ajax({ + $.ajax({ type:"post", url:"", async:true, datatype:'json', data:"json="+json, success:function(data){ - console.info(data); + //console.info(data); var data = JSON.parse(data.result); //layer.close(load); if(data.code==1&&data.data.length>0){ @@ -220,7 +220,14 @@ //console.info(Page.pageAll); createTbl(tblCon, arrTh, arrTd); } - }); + }); + /* 妯℃嫙鏁版嵁鍋氬ソ灏卞垹锛侊紒锛侊紒锛侊紒锛侊紒 */ + for(i=0;i<100;i++){ + arrTd[i]=i*10; + } + + createTbl(tblCon, arrTh, arrTd); + /* 妯℃嫙鏁版嵁鍋氬ソ灏卞垹锛侊紒锛侊紒锛侊紒锛侊紒 */ } function createSearchForm(){ -- Gitblit v1.9.1