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
99a1f061
Commit
99a1f061
authored
Jul 26, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情地图
parent
2b77db3c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
detail.vue
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
+2
-7
No files found.
gassafety-web/src/views/workOrder/basicsInfo/detail.vue
View file @
99a1f061
<
template
>
<div
class=
"app-container detail"
style=
"background-color: rgb(238, 241, 245);"
>
<!-- 工单信息 -->
<div
style=
"padding-top: 10px;background: #fff;"
>
<div
style=
"padding-top: 10px;background: #fff;
height: 100%;
"
>
<div>
<span
style=
"color: #31EAEA;font-weight: 900;margin-left: 15px;"
>
工单信息
</span>
<el-steps
:active=
"active"
finish-status=
"success"
simple
prop=
"orderStatus"
style=
"margin-top: 20px"
>
...
...
@@ -21,9 +21,6 @@
</div>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"float: left;margin-left: 50px;"
>
<el-form-item
label=
"工单类型:"
prop=
"orderType"
>
<!--
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderType
}}
</span>
</
template
>
-->
<font
v-if=
"form.orderType == 1"
>
巡检信息
</font>
<font
v-if=
"form.orderType == 2"
>
隐患信息
</font>
<font
v-if=
"form.orderType == 3"
>
报警信息
</font>
...
...
@@ -240,9 +237,6 @@ export default {
},
mounted
(){
let
gaoMap
=
new
gaodeMap
(
"石家庄"
);
// let data = {longitude:"114.208371",latitude:"38.267036"}
// map.addMarker(DEVICE_TYPE,data)
// map.addMarker(DEVICE_TYPE.WORKORDER,data)
this
.
gaoMap
=
gaoMap
;
this
.
getBasicsInfo
();
},
...
...
@@ -272,6 +266,7 @@ export default {
this
.
active
=
parseInt
(
response
.
data
.
orderStatus
)
+
1
;
for
(
var
i
=
0
;
i
<
this
.
form
.
deviceInfoList
.
length
;
i
++
){
let
obj
=
this
.
form
.
deviceInfoList
[
i
];
console
.
log
(
obj
,
"94444444444444-=----"
)
this
.
gaoMap
.
addMarker
(
DEVICE_TYPE
.
WORKORDER
,
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