Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
new-socketemulator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李远洪
new-socketemulator
Commits
fd57fc86
Commit
fd57fc86
authored
Apr 27, 2020
by
liyuanhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新车机模拟器修改了复位提示功能
parent
af00f223
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
templates/messageTools/message/M_simulater_page.html
templates/messageTools/message/M_simulater_page.html
+12
-8
No files found.
templates/messageTools/message/M_simulater_page.html
View file @
fd57fc86
...
...
@@ -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
(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment