Commit fd57fc86 authored by liyuanhong's avatar liyuanhong

新车机模拟器修改了复位提示功能

parent af00f223
......@@ -252,14 +252,18 @@ function disConnect(){
}
//复位
function reset(){
var data = getPageData();
var host = window.location.host;
var url = "http://" + host + "/messageTools/M_simulater_process/reset";
sendHttpMsg(data,url);
$("#curStatus").val("断网");
$("#showFeedback").val("")
//endService()
ws.close();
var res;
res=confirm("复位后会影响其他在线用户的使用,你确定复位吗?");
if(res == true){
var data = getPageData();
var host = window.location.host;
var url = "http://" + host + "/messageTools/M_simulater_process/reset";
sendHttpMsg(data,url);
$("#curStatus").val("断网");
$("#showFeedback").val("")
//endService()
ws.close();
}
}
//清空日志
function clearlog(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment