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
b0ddbb3b
Commit
b0ddbb3b
authored
Jul 30, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情
parent
b2c41d1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
13 deletions
+41
-13
gaodeMap.js
gassafety-web/src/utils/gaodeMap.js
+16
-0
detail.vue
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
+25
-13
No files found.
gassafety-web/src/utils/gaodeMap.js
View file @
b0ddbb3b
...
@@ -207,6 +207,22 @@ class gaodeMap {
...
@@ -207,6 +207,22 @@ class gaodeMap {
editWindow
.
form
.
longitude
=
e
.
lnglat
.
lng
;
editWindow
.
form
.
longitude
=
e
.
lnglat
.
lng
;
editWindow
.
form
.
latitude
=
e
.
lnglat
.
lat
;
editWindow
.
form
.
latitude
=
e
.
lnglat
.
lat
;
});
});
}
else
{
marker
.
on
(
"mouseover"
,
function
(){
marker
.
setLabel
({
offset
:
new
AMap
.
Pixel
(
0
,
-
10
),
//设置文本标注偏移量
content
:
"<div class='info'>"
+
data
.
deviceName
+
"</div>"
,
//设置文本标注内容
direction
:
'top'
//设置文本标注方位
});
});
marker
.
on
(
"mouseout"
,
function
(){
marker
.
setLabel
({
content
:
null
});
});
}
}
this
.
markers
.
push
(
marker
);
this
.
markers
.
push
(
marker
);
...
...
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
View file @
b0ddbb3b
...
@@ -60,14 +60,14 @@
...
@@ -60,14 +60,14 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备名称:"
prop=
"deviceName"
>
<el-form-item
label=
"设备名称:"
prop=
"deviceName"
>
<font
v-if=
"form.orderType != 1"
>
{{
form
.
deviceName
}}
</font>
<font
v-if=
"form.orderType != 1"
>
{{
form
.
deviceName
}}
</font>
<
font
<
el-tree
:data=
"deviceOptions"
:data=
"deviceOptions"
:props=
"defaultProps"
:props=
"defaultProps"
:expand-on-click-node=
"false"
:expand-on-click-node=
"false"
ref=
"tree"
ref=
"tree"
@
node-click=
"handleNodeClick"
@
node-click=
"handleNodeClick"
v-if=
"form.orderType == 1"
v-if=
"form.orderType == 1"
/>
</font>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备位置:"
v-if=
"form.orderType != 1"
>
<el-form-item
label=
"设备位置:"
v-if=
"form.orderType != 1"
>
<font>
{{
form
.
address
}}
</font>
<font>
{{
form
.
address
}}
</font>
...
@@ -123,29 +123,37 @@
...
@@ -123,29 +123,37 @@
<span
v-if=
"activity.deviceType == 4"
>
压力表
</span>
<span
v-if=
"activity.deviceType == 4"
>
压力表
</span>
</p>
</p>
<p>
设备名称:
{{
activity
.
deviceName
}}
</p>
<p>
设备名称:
{{
activity
.
deviceName
}}
</p>
<p></p>
<p>
是否有隐患:
<span
v-if=
"activity.ishiddenDanger == 1"
>
是
</span>
<span
v-if=
"activity.ishiddenDanger == 2"
>
否
</span>
</p>
<div
style=
"width: 600px;"
>
<p>
反馈信息:
<span>
{{
activity
.
contents
}}
</span>
</p>
</div>
</div>
</div>
<div
style=
"float: left;margin-left: 50px; width: 250px;"
>
<div
style=
"float: left;margin-left: 50px; width: 250px;"
>
<p
v-if=
"activity.dealStatus == 3"
>
是否解决:未解决
</p>
<p
v-if=
"activity.dealStatus == 3"
>
是否解决:未解决
</p>
<p
v-if=
"activity.dealStatus != 3"
>
是否解决:已解决
</p>
<p
v-if=
"activity.dealStatus != 3"
>
是否解决:已解决
</p>
<p>
反馈时间:
{{
activity
.
feedbackTime
}}
</p>
<p>
反馈时间:
{{
activity
.
feedbackTime
}}
</p>
<p>
处理状态:
<span
v-if=
"activity.dealStatus == 1"
>
不需要处理
</span>
<span
v-if=
"activity.dealStatus == 2"
>
已处理完成
</span>
<span
v-if=
"activity.dealStatus == 3"
>
未处理完成
</span>
</p>
</div>
</div>
</div>
</div>
<div
style=
"width: 600px;"
>
<p
style=
"margin-left: 50px;"
>
反馈信息:
<span>
{{
activity
.
contents
}}
</span>
</p>
</div>
</div>
</div>
<div
class=
"feedbackTime-div"
>
<div
class=
"feedbackTime-div"
>
<div
class=
"feedbackTime"
>
<div
class=
"feedbackTime"
>
<el-image
:src=
"activity.pictureUrl1"
:preview-src-list=
"[activity.pictureUrl1]"
v-if=
"activity.pictureUrl1 != null && activity.pictureUrl1 != ''"
style=
"width:
7
0px;"
></el-image>
<el-image
:src=
"activity.pictureUrl1"
:preview-src-list=
"[activity.pictureUrl1]"
v-if=
"activity.pictureUrl1 != null && activity.pictureUrl1 != ''"
style=
"width:
9
0px;"
></el-image>
</div>
</div>
<div
class=
"feedbackTime"
>
<div
class=
"feedbackTime"
>
<el-image
:src=
"activity.pictureUrl2"
:preview-src-list=
"[activity.pictureUrl2]"
v-if=
"activity.pictureUrl2 != null && activity.pictureUrl2 != ''"
style=
"width:
7
0px;"
></el-image>
<el-image
:src=
"activity.pictureUrl2"
:preview-src-list=
"[activity.pictureUrl2]"
v-if=
"activity.pictureUrl2 != null && activity.pictureUrl2 != ''"
style=
"width:
9s
0px;"
></el-image>
</div>
</div>
<div
class=
"feedbackTime"
>
<div
class=
"feedbackTime"
>
<el-image
:src=
"activity.pictureUrl3"
:preview-src-list=
"[activity.pictureUrl3]"
v-if=
"activity.pictureUrl3 != null && activity.pictureUrl3 != ''"
style=
"width:
7
0px;"
></el-image>
<el-image
:src=
"activity.pictureUrl3"
:preview-src-list=
"[activity.pictureUrl3]"
v-if=
"activity.pictureUrl3 != null && activity.pictureUrl3 != ''"
style=
"width:
9
0px;"
></el-image>
</div>
</div>
</div>
</div>
</el-card>
</el-card>
...
@@ -417,10 +425,11 @@ export default {
...
@@ -417,10 +425,11 @@ export default {
float
:
left
;
margin-left
:
150px
;
margin-top
:
10px
;
float
:
left
;
margin-left
:
150px
;
margin-top
:
10px
;
}
}
.feedbackTime
{
.feedbackTime
{
height
:
1
0
0px
;
height
:
1
2
0px
;
width
:
1
0
0px
;
width
:
1
2
0px
;
float
:
left
;
float
:
left
;
margin-left
:
15px
;
margin-left
:
15px
;
margin-top
:
5px
;
margin-bottom
:
15px
;
margin-bottom
:
15px
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -435,6 +444,9 @@ export default {
...
@@ -435,6 +444,9 @@ export default {
.detail
.el-form-item
{
.detail
.el-form-item
{
margin-bottom
:
0px
;
margin-bottom
:
0px
;
}
}
.el-tree
{
margin-top
:
5px
;
}
.avatar-uploader
{
.avatar-uploader
{
width
:
25%
;
width
:
25%
;
float
:
left
;
float
:
left
;
...
...
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