Commit fd57fc86 authored by liyuanhong's avatar liyuanhong

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

parent af00f223
...@@ -252,14 +252,18 @@ function disConnect(){ ...@@ -252,14 +252,18 @@ function disConnect(){
} }
//复位 //复位
function reset(){ function reset(){
var data = getPageData(); var res;
var host = window.location.host; res=confirm("复位后会影响其他在线用户的使用,你确定复位吗?");
var url = "http://" + host + "/messageTools/M_simulater_process/reset"; if(res == true){
sendHttpMsg(data,url); var data = getPageData();
$("#curStatus").val("断网"); var host = window.location.host;
$("#showFeedback").val("") var url = "http://" + host + "/messageTools/M_simulater_process/reset";
//endService() sendHttpMsg(data,url);
ws.close(); $("#curStatus").val("断网");
$("#showFeedback").val("")
//endService()
ws.close();
}
} }
//清空日志 //清空日志
function clearlog(){ 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