From 2e321a2a7185f43c31642dc3459d07360bcf9d50 Mon Sep 17 00:00:00 2001 From: LiJun <LiJun@192.168.10.10> Date: 星期五, 19 十月 2018 17:09:36 +0800 Subject: [PATCH] 表格数据上传 --- gx_tieta/WebRoot/Test.jsp | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/gx_tieta/WebRoot/Test.jsp b/gx_tieta/WebRoot/Test.jsp index fd5245d..639e23c 100644 --- a/gx_tieta/WebRoot/Test.jsp +++ b/gx_tieta/WebRoot/Test.jsp @@ -48,6 +48,45 @@ //console.info(json); <% } %> + + + + var param = { + dev_id:910000001, + record_datetime:'2018-01-01 00:00:00', + record_datetime_end:'2018-03-30 23:59:59', + station_event_type:0, //1:鍩虹珯鍋滅數 2:鍩虹珯缁埅 3:鍩虹珯鍙戠數 4:鍩虹珯寮�闂� 5:鍩虹珯鎺夌珯 6:鍩虹珯娓╁害涓婇檺 7:鍩虹珯娓╁害涓嬮檺 8:鍩虹珯婀垮害涓婇檺 9:鍩虹珯婀垮害涓嬮檺 + page:{ + pageSize:10, //姣忛〉鐨勮鏁� + pageCurr:1 //褰撳墠椤电爜鏁� + } + }; + searchStationHistRecord(param); + + //鏌ヨ鍩虹珯璇︽儏 + function searchStationHistRecord(param){ + // 璇锋眰鑾峰彇褰撳墠鐪佷笅鐨勫競 + $.ajax({ + type: "post", + url: "Bts_station_eventAction!serchByInfo", + async:true, + dataType:'json', + data:"json = "+JSON.stringify(param), + success: function(data){ + var rs = JSON.parse(data.result); + console.info(rs); + if(rs.code == 1) { + + }else { + + } + } + }); + } + + + + //涓婁紶logo $('#up-file1').click(function(){ uploadlogo(); -- Gitblit v1.9.1