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
637ec492
Commit
637ec492
authored
Aug 25, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
7bbb2e67
9c2f6836
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
10 deletions
+41
-10
index.vue
gassafety-web/src/views/workOrder/detail/index.vue
+41
-10
No files found.
gassafety-web/src/views/workOrder/detail/index.vue
View file @
637ec492
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<font
v-if=
"form.deviceType == 4"
>
压力表
</font>
<font
v-if=
"form.deviceType == 4"
>
压力表
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"设备名称:"
prop=
"deviceName"
style=
"margin-bottom: 0px;"
>
<el-form-item
label=
"设备名称:"
prop=
"deviceName"
style=
"margin-bottom: 0px;"
>
<
!--
<font
v-if=
"form.orderType != 1"
>
{{
form
.
deviceName
}}
</font>
--
>
<
font
v-if=
"form.orderType != 1"
>
{{
form
.
deviceName
}}
</font
>
<el-tree
<el-tree
:data=
"deviceOptions"
:data=
"deviceOptions"
:props=
"defaultProps"
:props=
"defaultProps"
...
@@ -126,8 +126,9 @@
...
@@ -126,8 +126,9 @@
</el-form>
</el-form>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
<el-divider></el-divider>
<el-divider></el-divider>
</div>
<!-- 反馈信息 -->
<!-- 反馈信息 -->
<div
style=
"width: 100%;font-weight: 600;"
v-if=
"form.feedbackList != null"
>
<div
style=
"width: 100%;font-weight: 600;"
v-if=
"form.feedbackList != null"
>
<div
style=
"color: #31EAEA;width: 100%;height: 40px;"
>
<div
style=
"color: #31EAEA;width: 100%;height: 40px;"
>
...
@@ -199,6 +200,34 @@
...
@@ -199,6 +200,34 @@
</div>
</div>
</div>
</div>
<!-- 归档信息 -->
<div
v-if=
"form.orderStatus == 3"
>
<el-divider></el-divider>
<el-row>
<el-col
:span=
"24"
>
<div
style=
"color: #31EAEA;width: 100%;height: 40px;"
>
<ul><li>
归档信息
</li></ul>
</div>
</el-col>
</el-row>
<el-row
style=
"padding-left: 40px;"
>
<el-col
:span=
"6"
>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"height: 30px;width: 100%;"
>
<el-form-item
label=
"归档信息:"
prop=
"archiving"
>
<font>
{{
form
.
archiving
}}
</font>
</el-form-item>
</el-form>
</el-col>
<el-col
:span=
"6"
>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"height: 30px;width: 100%;"
>
<el-form-item
label=
"归档时间:"
prop=
"updateTime"
>
<font>
{{
form
.
updateTime
}}
</font>
</el-form-item>
</el-form>
</el-col>
</el-row>
</div>
<!-- 归档 -->
<!-- 归档 -->
<div
class=
""
style=
"width: 95%; height: 60px;margin-left: 50px;text-align: center;"
>
<div
class=
""
style=
"width: 95%; height: 60px;margin-left: 50px;text-align: center;"
>
...
@@ -419,15 +448,17 @@ export default {
...
@@ -419,15 +448,17 @@ export default {
getBasicsInfo
(){
getBasicsInfo
(){
getBasicsInfo
(
this
.
orderId
).
then
(
response
=>
{
getBasicsInfo
(
this
.
orderId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
console
.
log
(
this
.
form
)
this
.
active
=
parseInt
(
response
.
data
.
orderStatus
)
+
1
;
this
.
active
=
parseInt
(
response
.
data
.
orderStatus
)
+
1
;
for
(
var
i
=
0
;
i
<
this
.
form
.
deviceInfoList
.
length
;
i
++
){
if
(
this
.
form
.
deviceInfoList
.
length
>
0
){
if
(
this
.
form
.
deviceInfoList
.
length
>
0
){
console
.
log
(
"this.form.deviceInfoList"
,
this
.
form
.
deviceInfoList
)
console
.
log
(
"this.form.deviceInfoList"
,
this
.
form
.
deviceInfoList
)
this
.
gaoMap
.
resetMapCenter
([
this
.
form
.
deviceInfoList
[
0
].
longitude
,
this
.
form
.
deviceInfoList
[
0
].
latitude
]);
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
];
let
obj
=
this
.
form
.
deviceInfoList
[
i
];
this
.
gaoMap
.
addMarker
(
DEVICE_TYPE
.
WORKORDER
,
obj
);
this
.
gaoMap
.
addMarker
(
DEVICE_TYPE
.
WORKORDER
,
obj
);
}
}
for
(
var
i
=
0
;
i
<
this
.
form
.
pipeList
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
this
.
form
.
pipeList
.
length
;
i
++
){
let
obj
=
this
.
form
.
pipeList
[
i
];
let
obj
=
this
.
form
.
pipeList
[
i
];
this
.
gaoMap
.
onlyLine
(
obj
);
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