From 1cc02108ea150ce39e3a5c0668b9ba13d5b066ac Mon Sep 17 00:00:00 2001 From: CJJ <Administrator@192.168.10.25> Date: 星期五, 30 十一月 2018 15:56:51 +0800 Subject: [PATCH] 手机 电池组信息配置,新建跳转页面缓存 --- gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html b/gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html index 45e7224..bd88a3d 100644 --- a/gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html +++ b/gx_tieta/WebRoot/mobil/batt-infor-conf-temp.html @@ -409,7 +409,30 @@ } }); } - + function addBatt(){ + var parm = getUpdateArr(); + $.ajax({ + type: "post", + url: "BattInfAction!add", + async:true, + dataType:'text', + data:"json="+JSON.stringify(parm), + success: function(data){ + data = eval('('+data+')'); + var model = eval('('+data.result+')'); + //console.info(model); + if(model.code ==1){ + alert("娣诲姞鐢垫睜缁勬垚鍔�!"); + }else{ + alert("娣诲姞鐢垫睜缁勫け璐�!"); + } + }, + error:function(){ + alert("娣诲姞鐢垫睜缁勫彂鐢熼敊璇�!"); + } + }); + } + /* 鎿嶄綔鎴愬姛 $('#changeSuc').popup('open'); 鎿嶄綔澶辫触 -- Gitblit v1.9.1