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
b0a5815a
Commit
b0a5815a
authored
Aug 10, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检详细信息
parent
8504aa20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
32 deletions
+13
-32
inspectiondetail.vue
...iews/deviceInspection/inspectionPlan/inspectiondetail.vue
+13
-32
No files found.
gassafety-web/src/views/deviceInspection/inspectionPlan/inspectiondetail.vue
View file @
b0a5815a
...
...
@@ -26,26 +26,9 @@
<ul><li>
详细信息
</li></ul>
</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"
>
<font
v-if=
"form.orderType == 1"
>
巡检信息
</font>
<font
v-if=
"form.orderType == 2"
>
隐患信息
</font>
<font
v-if=
"form.orderType == 3"
>
报警信息
</font>
</el-form-item>
<el-form-item
label=
"工单编号:"
prop=
"orderId"
>
<font>
{{
form
.
orderId
}}
</font>
</el-form-item>
-->
<el-form-item
label=
"巡检名称:"
prop=
"planName"
>
<font>
{{
form
.
planName
}}
</font>
</el-form-item>
<!--
<el-form-item
label=
"工单状态:"
prop=
"orderStatus"
>
<font
v-if=
"form.orderStatus == 0"
>
未接收
</font>
<font
v-if=
"form.orderStatus == 1"
>
已接收
</font>
<font
v-if=
"form.orderStatus == 2"
>
已反馈
</font>
<font
v-if=
"form.orderStatus == 3"
>
已归档
</font>
</el-form-item>
-->
<!--
<el-form-item
label=
"选择人员:"
prop=
"planId"
>
<font>
{{
form
.
planId
}}
</font>
</el-form-item>
-->
<el-form-item
label=
"检测地点:"
prop=
"address"
>
<font>
{{
form
.
address
}}
</font>
</el-form-item>
...
...
@@ -59,9 +42,6 @@
</font>
</div>
</el-form-item>
<!--
<el-form-item
label=
"工单描述:"
prop=
"remarks"
>
<font>
{{
form
.
remarks
}}
</font>
</el-form-item>
-->
</el-form>
<el-form
ref=
"form"
v-model=
"form"
:rules=
"rules"
label-width=
"100px"
style=
"float: left;width: 25%;"
>
<el-form-item
label=
"设备类型:"
prop=
"deviceType"
v-if=
"form.orderType != 1"
>
...
...
@@ -72,26 +52,15 @@
<font
v-if=
"form.deviceType == 4"
>
压力表
</font>
</el-form-item>
<el-form-item
label=
"设备名称:"
prop=
"deviceName"
>
<
font
v-if=
"form.orderType != 1"
>
{{
form
.
deviceName
}}
</font
>
<
!--
<font
v-if=
"form.orderType != 1"
>
{{
form
.
deviceName
}}
</font>
--
>
<el-tree
:data=
"deviceOptions"
:props=
"defaultProps"
:expand-on-click-node=
"false"
ref=
"tree"
@
node-click=
"handleNodeClick"
v-if=
"form.orderType == 1"
/>
</el-form-item>
<!--
<el-form-item
label=
"设备位置:"
v-if=
"form.orderType != 1"
>
<font>
{{
form
.
address
}}
</font>
</el-form-item>
<el-form-item
label=
"工单进度:"
v-if=
"form.orderType == 1"
>
<font>
{{
form
.
finishNum
}}
/
{{
form
.
deviceNum
}}
</font>
</el-form-item>
-->
<!--
<el-form-item
label=
"接收时间:"
prop=
"actualTime"
>
<font>
{{
form
.
actualTime
}}
</font>
</el-form-item>
-->
</el-form>
<div
id=
"marbox"
style=
"width: 700px;height: 250px;float: left;margin-top: -35px; border: 1px solid rgb(218, 213, 213);"
>
<div
style=
"width: 100%;height: 100%"
id=
"container"
></div>
...
...
@@ -141,6 +110,17 @@ export default {
exportLoading
:
false
,
// 选中数组
ids
:
[],
// 设备树选项
defaultProps
:
{
children
:
"childList"
,
label
:
"label"
},
deviceOptions
:
[
{
label
:
"设备列表"
,
childList
:
[]
}
],
// 非单个禁用
single
:
true
,
// 非多个禁用
...
...
@@ -280,6 +260,7 @@ export default {
getInspectionPlan
(
this
.
planId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
active
=
parseInt
(
response
.
data
.
orderStatus
)
+
1
;
console
.
log
(
"this.form"
,
this
.
form
)
if
(
this
.
form
.
inspectionPlanList
.
length
>
0
){
this
.
gaoMap
.
resetMapCenter
([
this
.
form
.
inspectionPlanList
[
0
].
longitude
,
this
.
form
.
inspectionPlanList
[
0
].
latitude
]);
}
...
...
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