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
a9b32f1a
Commit
a9b32f1a
authored
Aug 26, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检计划问题修改
parent
6a9cef23
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
14 deletions
+8
-14
TInspectionPlanServiceImpl.java
...ehong/system/service/impl/TInspectionPlanServiceImpl.java
+0
-9
index.vue
...y-web/src/views/deviceInspection/inspectionPlan/index.vue
+3
-3
index.vue
...web/src/views/deviceInspection/inspectiondetail/index.vue
+5
-2
No files found.
gassafety-system/src/main/java/com/zehong/system/service/impl/TInspectionPlanServiceImpl.java
View file @
a9b32f1a
...
@@ -57,15 +57,6 @@ public class TInspectionPlanServiceImpl implements ITInspectionPlanService
...
@@ -57,15 +57,6 @@ public class TInspectionPlanServiceImpl implements ITInspectionPlanService
TInspectionPlan
tInspectionPlan
=
tInspectionPlanMapper
.
selectTInspectionPlanById
(
planId
);
TInspectionPlan
tInspectionPlan
=
tInspectionPlanMapper
.
selectTInspectionPlanById
(
planId
);
BeanUtils
.
copyProperties
(
tInspectionPlan
,
inspectionPlanVo
);
BeanUtils
.
copyProperties
(
tInspectionPlan
,
inspectionPlanVo
);
if
(
StringUtils
.
isNotEmpty
(
tInspectionPlan
.
getPlanStatus
()))
{
List
<
SysDictData
>
sysDictDataList
=
iSysDictTypeService
.
selectDictDataByType
(
"t_plan_status"
);
for
(
SysDictData
sysDictData
:
sysDictDataList
)
{
if
(
tInspectionPlan
.
getPlanStatus
().
equals
(
sysDictData
.
getDictValue
()))
{
inspectionPlanVo
.
setPlanStatus
(
sysDictData
.
getDictLabel
());
}
}
}
if
(
tInspectionPlan
.
getOrderId
()
!=
null
&&
!
""
.
equals
(
tInspectionPlan
.
getOrderId
()))
{
if
(
tInspectionPlan
.
getOrderId
()
!=
null
&&
!
""
.
equals
(
tInspectionPlan
.
getOrderId
()))
{
TWorkOrder
tWorkOrder
=
tWorkOrderMapper
.
selectTWorkOrderById
(
tInspectionPlan
.
getOrderId
());
TWorkOrder
tWorkOrder
=
tWorkOrderMapper
.
selectTWorkOrderById
(
tInspectionPlan
.
getOrderId
());
inspectionPlanVo
.
setAllotTime
(
tWorkOrder
.
getAllotTime
());
inspectionPlanVo
.
setAllotTime
(
tWorkOrder
.
getAllotTime
());
...
...
gassafety-web/src/views/deviceInspection/inspectionPlan/index.vue
View file @
a9b32f1a
...
@@ -337,7 +337,7 @@
...
@@ -337,7 +337,7 @@
orderId
:
null
,
orderId
:
null
,
startTime
:
null
,
startTime
:
null
,
endTime
:
null
,
endTime
:
null
,
planStatus
:
"0"
,
planStatus
:
null
,
updateTime
:
null
,
updateTime
:
null
,
createTime
:
null
,
createTime
:
null
,
remarks
:
null
remarks
:
null
...
@@ -350,7 +350,7 @@
...
@@ -350,7 +350,7 @@
orderName
:
null
,
orderName
:
null
,
startTime
:
null
,
startTime
:
null
,
endTime
:
null
,
endTime
:
null
,
planStatus
:
"0"
,
planStatus
:
null
,
appointInspector
:
null
,
appointInspector
:
null
,
updateTime
:
null
,
updateTime
:
null
,
createTime
:
null
,
createTime
:
null
,
...
@@ -440,7 +440,7 @@
...
@@ -440,7 +440,7 @@
this
.
open1
=
false
;
this
.
open1
=
false
;
this
.
getList
();
this
.
getList
();
}
);
}
);
}
else
if
(
this
.
title1
==
"
添加
巡检计划"
)
{
}
else
if
(
this
.
title1
==
"
新增
巡检计划"
)
{
addInspectionPlan
(
this
.
form1
).
then
(
response
=>
{
addInspectionPlan
(
this
.
form1
).
then
(
response
=>
{
this
.
msgSuccess
(
"添加成功"
);
this
.
msgSuccess
(
"添加成功"
);
this
.
open1
=
false
;
this
.
open1
=
false
;
...
...
gassafety-web/src/views/deviceInspection/inspectiondetail/index.vue
View file @
a9b32f1a
...
@@ -43,8 +43,11 @@
...
@@ -43,8 +43,11 @@
<el-form-item
label=
"计划执行时间:"
prop=
"startTime"
>
<el-form-item
label=
"计划执行时间:"
prop=
"startTime"
>
<font>
{{
form
.
startTime
}}
至
{{
form
.
endTime
}}
</font>
<font>
{{
form
.
startTime
}}
至
{{
form
.
endTime
}}
</font>
</el-form-item>
</el-form-item>
<el-form-item
label=
"计划状态:"
prop=
"startTime"
>
<el-form-item
label=
"计划状态:"
prop=
"planStatus"
>
<font>
{{
form
.
planStatus
}}
</font>
<font
v-if=
"form.planStatus == 0"
>
未生成工单
</font>
<font
v-if=
"form.planStatus == 1"
>
已生成工单
</font>
<font
v-if=
"form.planStatus == 2"
>
进行中
</font>
<font
v-if=
"form.planStatus == 3"
>
已完成
</font>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</el-col>
</el-col>
...
...
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