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
8a3de344
Commit
8a3de344
authored
Aug 25, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备地址
parent
b47b0a6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
index.vue
gassafety-web/src/views/workOrder/detail/index.vue
+10
-10
No files found.
gassafety-web/src/views/workOrder/detail/index.vue
View file @
8a3de344
...
...
@@ -80,7 +80,8 @@
/>
</el-form-item>
<el-form-item
label=
"设备位置:"
v-if=
"form.orderType != 1"
style=
"margin-bottom: 0px;"
>
<font>
{{
form
.
address
}}
</font>
<font
v-if=
"form.deviceType == 0"
>
{{
form
.
pipeList
?
form
.
pipeList
[
0
].
pipeAddr
:
"-"
}}
</font>
<font
v-if=
"form.deviceType != 0"
>
{{
form
.
deviceInfoList
?
form
.
deviceInfoList
[
0
].
deviceAddr
:
"-"
}}
</font>
</el-form-item>
<el-form-item
label=
"工单进度:"
v-if=
"form.orderType == 1"
style=
"margin-bottom: 0px;"
>
<font>
{{
form
.
finishNum
}}
/
{{
form
.
deviceNum
}}
</font>
...
...
@@ -128,7 +129,7 @@
</el-row>
<el-divider></el-divider>
</div>
<!-- 反馈信息 -->
<div
style=
"width: 100%;font-weight: 600;"
v-if=
"form.feedbackList != null"
>
<div
style=
"color: #31EAEA;width: 100%;height: 40px;"
>
...
...
@@ -452,16 +453,15 @@ export default {
this
.
active
=
parseInt
(
response
.
data
.
orderStatus
)
+
1
;
if
(
this
.
form
.
deviceInfoList
.
length
>
0
){
this
.
gaoMap
.
resetMapCenter
([
this
.
form
.
deviceInfoList
[
0
].
longitude
,
this
.
form
.
deviceInfoList
[
0
].
latitude
]);
for
(
var
i
=
0
;
i
<
this
.
form
.
deviceInfoList
.
length
;
i
++
){
let
obj
=
this
.
form
.
deviceInfoList
[
i
];
this
.
gaoMap
.
addMarker
(
DEVICE_TYPE
.
WORKORDER
,
obj
);
console
.
log
(
"this.form.deviceInfoList"
,
this
.
form
.
deviceInfoList
)
this
.
gaoMap
.
resetMapCenter
([
this
.
form
.
deviceInfoList
[
0
].
longitude
,
this
.
form
.
deviceInfoList
[
0
].
latitude
]);
}
for
(
var
i
=
0
;
i
<
this
.
form
.
deviceInfoList
.
length
;
i
++
){
let
obj
=
this
.
form
.
deviceInfoList
[
i
];
this
.
gaoMap
.
addMarker
(
DEVICE_TYPE
.
WORKORDER
,
obj
);
}
if
(
this
.
form
.
pipeList
.
length
>
0
)
{
for
(
var
i
=
0
;
i
<
this
.
form
.
pipeList
.
length
;
i
++
)
{
if
(
this
.
form
.
pipeList
!=
null
){
for
(
var
i
=
0
;
i
<
this
.
form
.
pipeList
.
length
;
i
++
){
let
obj
=
this
.
form
.
pipeList
[
i
];
this
.
gaoMap
.
onlyLine
(
obj
);
}
...
...
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