Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
Commits
1ad5a4ef
Commit
1ad5a4ef
authored
Aug 14, 2021
by
纪泽龙
Browse files
Options
Browse Files
Download
Plain Diff
抽屉
parents
8f884de5
6c252225
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
786 additions
and
351 deletions
+786
-351
llj.gif
gassafety-web/src/assets/images/llj.gif
+0
-0
ylb.gif
gassafety-web/src/assets/images/ylb.gif
+0
-0
lineInfoWindow.vue
gassafety-web/src/components/PopWindowGis/lineInfoWindow.vue
+16
-4
lineInfoWindowWarn.vue
...ty-web/src/components/PopWindowGis/lineInfoWindowWarn.vue
+18
-6
markerInfoWindow.vue
...fety-web/src/components/PopWindowGis/markerInfoWindow.vue
+11
-1
markerInfoWindowWarn.vue
...-web/src/components/PopWindowGis/markerInfoWindowWarn.vue
+10
-3
gaodeMapView.js
gassafety-web/src/utils/gaodeMapView.js
+8
-4
index.vue
gassafety-web/src/views/dataMonitoring/deviceAlarm/index.vue
+0
-1
index.vue
gassafety-web/src/views/enterprise/mapView/index.vue
+723
-332
No files found.
gassafety-web/src/assets/images/llj.gif
0 → 100644
View file @
1ad5a4ef
2.86 KB
gassafety-web/src/assets/images/ylb.gif
0 → 100644
View file @
1ad5a4ef
2.8 KB
gassafety-web/src/components/PopWindowGis/lineInfoWindow.vue
View file @
1ad5a4ef
...
...
@@ -81,7 +81,10 @@
<
div
>
详细信息:
<
span
>
管线两端设备压差较大,管线可能泄漏
<
/span></
div
>
<
/div> --
>
<
div
class
=
"btn"
>
<
span
@
mousedown
.
stop
=
"deviceMore"
>
<
el
-
button
class
=
"elbtn"
type
=
"primary"
>
设备详情
<
/el-button
>
<
/span
>
<!--
<
el
-
button
class
=
"elbtn"
type
=
"primary"
>
生成工单
<
/el-button> --
>
<
/div
>
<
/div
>
...
...
@@ -107,7 +110,7 @@ export default {
methods
:
{
moment
,
mousedown
(
e
)
{
console
.
log
(
"?"
)
console
.
log
(
"?"
)
;
return
;
// console.log(this.$refs.previewImg)
this
.
$refs
.
previewImg
.
showViewer
=
true
;
...
...
@@ -126,6 +129,15 @@ export default {
close
()
{
this
.
obj
.
polyline
.
infoWindow
.
close
();
}
,
deviceMore
()
{
console
.
log
(
this
.
obj
.
polyline
.
getExtData
().
lineData
)
this
.
obj
.
polyline
.
getExtData
().
class
.
view
.
$router
.
push
({
path
:
"/realtimeData/realtimedetail"
,
query
:
{
alarmId
:
this
.
obj
.
polyline
.
getExtData
().
lineData
.
pipeId
,
}
,
}
);
}
,
}
,
}
;
<
/script
>
...
...
@@ -141,7 +153,7 @@ export default {
.
top
{
width
:
100
%
;
height
:
51
px
;
background
-
color
:
#
053
B6A
;
background
-
color
:
#
053
b6a
;
.
text
{
font
-
weight
:
600
;
font
-
size
:
16
px
;
...
...
@@ -230,7 +242,7 @@ export default {
box
-
sizing
:
border
-
box
;
padding
:
10
px
0
2
px
22
px
;
border
-
bottom
:
1
px
solid
#
e2e2e2
;
color
:
#
FE
5966
;
color
:
#
fe
5966
;
&
>
div
{
font
-
size
:
14
px
;
font
-
weight
:
400
;
...
...
gassafety-web/src/components/PopWindowGis/lineInfoWindowWarn.vue
View file @
1ad5a4ef
...
...
@@ -85,7 +85,7 @@
<
/div
>
<
/div
>
<
div
@
click
.
stop
=
"stopPropatation"
class
=
"btn"
>
<
span
>
<
span
@
mousedown
.
stop
=
"deviceMore"
>
<
el
-
button
class
=
"elbtn"
type
=
"primary"
>
设备详情
<
/el-button
>
<
/span
>
<
span
v
-
if
=
"orderId"
@
mousedown
.
stop
=
"createWork"
>
...
...
@@ -160,17 +160,29 @@ export default {
}
,
CreateWorkCallBack
()
{
console
.
log
(
"polylineCallBack"
);
const
polyline
=
this
.
obj
.
polyline
.
getExtData
().
lineData
.
view
.
gaoMap
.
polyLines
.
filter
(
(
item
)
=>
{
return
item
.
getExtData
().
lineData
.
alarmId
==
this
.
obj
.
polyline
.
getExtData
().
lineData
.
alarmId
;
}
)[
0
];
const
polyline
=
this
.
obj
.
polyline
.
getExtData
()
.
lineData
.
view
.
gaoMap
.
polyLines
.
filter
((
item
)
=>
{
return
(
item
.
getExtData
().
lineData
.
alarmId
==
this
.
obj
.
polyline
.
getExtData
().
lineData
.
alarmId
);
}
)[
0
];
console
.
log
(
"polyline.getExtData()"
,
polyline
.
getExtData
().
lineData
);
let
options
=
polyline
.
getExtData
();
// 暂时传值,到时候回重新刷新
options
.
lineData
.
orderId
=
"1"
;
polyline
.
setExtData
(
options
);
}
,
deviceMore
()
{
console
.
log
(
this
.
obj
.
polyline
.
getExtData
().
lineData
);
this
.
obj
.
polyline
.
getExtData
().
class
.
view
.
$router
.
push
({
path
:
"/deviceAlarm/alarmdetail"
,
query
:
{
alarmId
:
this
.
obj
.
polyline
.
getExtData
().
lineData
.
alarmId
,
}
,
}
);
}
,
}
,
}
;
<
/script
>
...
...
gassafety-web/src/components/PopWindowGis/markerInfoWindow.vue
View file @
1ad5a4ef
...
...
@@ -68,7 +68,9 @@
<div>
详细信息:
<span>
管线两端设备压差较大,管线可能泄漏
</span></div>
</div>
-->
<div
class=
"btn"
>
<span
@
mousedown
.
stop=
"deviceMore"
>
<el-button
class=
"elbtn"
type=
"primary"
>
设备详情
</el-button>
</span>
<!--
<el-button
class=
"elbtn"
type=
"primary"
>
生成工单
</el-button>
-->
</div>
</div>
...
...
@@ -87,6 +89,14 @@ export default {
},
methods
:
{
moment
,
deviceMore
()
{
this
.
data
.
class
.
view
.
$router
.
push
({
path
:
"/realtimeData/realtimedetail"
,
query
:
{
deviceId
:
this
.
data
.
deviceId
,
},
});
},
},
};
</
script
>
...
...
gassafety-web/src/components/PopWindowGis/markerInfoWindowWarn.vue
View file @
1ad5a4ef
...
...
@@ -72,7 +72,7 @@
</div>
</div>
<div
class=
"btn"
>
<span>
<span
@
mousedown
.
stop=
"deviceMore"
>
<el-button
class=
"elbtn"
type=
"primary"
>
设备详情
</el-button>
</span>
<span
v-if=
"orderId"
@
mousedown
.
stop=
"createWork"
>
...
...
@@ -115,10 +115,9 @@ export default {
this
.
data
.
view
.
$refs
.
CreateWork
.
open
=
true
;
this
.
data
.
view
.
$refs
.
CreateWork
.
gaoMap
=
this
.
data
.
view
.
gaoMap
;
// 改变外层回调
this
.
data
.
view
.
CreateWorkCallBack
=
this
.
CreateWorkCallBack
;
this
.
data
.
view
.
CreateWorkCallBack
=
this
.
CreateWorkCallBack
;
},
CreateWorkCallBack
()
{
// console.log("markerCallBack")
const
marker
=
this
.
data
.
view
.
gaoMap
.
markers
.
filter
((
item
)
=>
{
return
item
.
getExtData
().
alarmId
==
this
.
data
.
alarmId
;
...
...
@@ -129,6 +128,14 @@ export default {
options
.
orderId
=
"1"
;
marker
.
setExtData
(
options
);
},
deviceMore
()
{
this
.
data
.
view
.
$router
.
push
({
path
:
"/deviceAlarm/alarmdetail"
,
query
:
{
alarmId
:
this
.
data
.
alarmId
,
},
});
},
},
beforeDestroy
()
{
// this.data.view.createWorkOpen = false;
...
...
gassafety-web/src/utils/gaodeMapView.js
View file @
1ad5a4ef
...
...
@@ -48,6 +48,7 @@ class gaodeMap {
showInfoWindow
=
null
;
// 工人轨迹用的窗口
markerPassedPolylineInfoWindow
=
null
;
view
=
null
;
//构造函数中设置中央点默认值
constructor
(
center
)
{
...
...
@@ -397,14 +398,16 @@ class gaodeMap {
* @param data
* @returns {string}
*/
getMarketContent
(
data
,
markerInfoWindow
)
{
getMarketContent
(
Data
,
markerInfoWindow
)
{
let
data
=
{...
Data
}
data
.
class
=
this
;
console
.
log
(
"this.markerType"
,
this
.
markerType
);
switch
(
this
.
markerType
)
{
case
DEVICE_TYPE
.
REGEULATORBOX
:
{
const
dom
=
createPop
(
markerInfoWindow
,
{
title
:
"调压箱"
,
data
:
data
,
map
:
map
map
:
map
,
});
const
html
=
dom
.
$el
;
dom
.
remove
();
...
...
@@ -703,7 +706,8 @@ class gaodeMap {
type
:
"line"
,
//当前line状态 0:正常状态 1:正在编辑状态
isState
:
0
,
lineData
:
item
lineData
:
item
,
class
:
this
}
});
...
...
gassafety-web/src/views/dataMonitoring/deviceAlarm/index.vue
View file @
1ad5a4ef
...
...
@@ -263,7 +263,6 @@ export default {
vm
.
fromGisMap
=
false
;
}
});
},
methods
:
{
/** 查询报警信息列表 */
...
...
gassafety-web/src/views/enterprise/mapView/index.vue
View file @
1ad5a4ef
This diff is collapsed.
Click to expand it.
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