Commit fd57fc86 authored by liyuanhong's avatar liyuanhong

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

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