Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
耿迪迪
gassafety-progress
Commits
611e698d
Commit
611e698d
authored
Mar 31, 2022
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调节样式,修改socket配置
parent
151f57e5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
rightBar.vue
gassafetyprogress-web/src/components/emergency/rightBar.vue
+1
-1
Navbar.vue
gassafetyprogress-web/src/layout/components/Navbar.vue
+1
-1
yjmap.js
gassafetyprogress-web/src/utils/mapClass/yjmap.js
+1
-1
index.vue
gassafetyprogress-web/src/views/emergency/index.vue
+1
-1
No files found.
gassafetyprogress-web/src/components/emergency/rightBar.vue
View file @
611e698d
...
...
@@ -302,7 +302,7 @@ export default {
socket
()
{
console
.
log
(
"socket执行"
);
this
.
ws
=
new
WebSocket
(
"ws://
192.168.2.17:8903
/gassafety/websocketServer"
"ws://
222.223.203.154:8902
/gassafety/websocketServer"
);
this
.
ws
.
onopen
=
(
evt
)
=>
{
console
.
log
(
"WebSockets开启"
);
...
...
gassafetyprogress-web/src/layout/components/Navbar.vue
View file @
611e698d
...
...
@@ -164,7 +164,7 @@ mounted(){
socket
()
{
console
.
log
(
"socket执行"
);
this
.
ws
=
new
WebSocket
(
"ws://
192.168.2.17:8903
/gassafety/websocketServer"
"ws://
222.223.203.154:8902
/gassafety/websocketServer"
);
this
.
ws
.
onopen
=
(
evt
)
=>
{
console
.
log
(
"WebSockets开启"
);
...
...
gassafetyprogress-web/src/utils/mapClass/yjmap.js
View file @
611e698d
...
...
@@ -735,7 +735,7 @@ export class EditorMap {
}
}
setZoomAndCenter
(
longitude
,
latitude
){
this
.
map
.
setZoomAndCenter
(
14
,
[
longitude
,
latitude
]);
this
.
map
.
setZoomAndCenter
(
14
,
[
longitude
*
1
+
0.02
,
latitude
]);
}
// 普通调用方法
// 设备报警
...
...
gassafetyprogress-web/src/views/emergency/index.vue
View file @
611e698d
...
...
@@ -938,7 +938,7 @@ export default {
}
.rightbar
{
width
:
470px
;
height
:
9
2
%
;
height
:
9
3
%
;
position
:
fixed
;
top
:
50px
;
right
:
0
;
...
...
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