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
7e82206c
Commit
7e82206c
authored
Aug 26, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://111.61.77.35:15/gengdidi/gassafety
parents
b7aaa9a5
9748d2c7
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 @
7e82206c
...
...
@@ -57,15 +57,6 @@ public class TInspectionPlanServiceImpl implements ITInspectionPlanService
TInspectionPlan
tInspectionPlan
=
tInspectionPlanMapper
.
selectTInspectionPlanById
(
planId
);
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
()))
{
TWorkOrder
tWorkOrder
=
tWorkOrderMapper
.
selectTWorkOrderById
(
tInspectionPlan
.
getOrderId
());
inspectionPlanVo
.
setAllotTime
(
tWorkOrder
.
getAllotTime
());
...
...
gassafety-web/src/views/deviceInspection/inspectionPlan/index.vue
View file @
7e82206c
...
...
@@ -337,7 +337,7 @@
orderId
:
null
,
startTime
:
null
,
endTime
:
null
,
planStatus
:
"0"
,
planStatus
:
null
,
updateTime
:
null
,
createTime
:
null
,
remarks
:
null
...
...
@@ -350,7 +350,7 @@
orderName
:
null
,
startTime
:
null
,
endTime
:
null
,
planStatus
:
"0"
,
planStatus
:
null
,
appointInspector
:
null
,
updateTime
:
null
,
createTime
:
null
,
...
...
@@ -440,7 +440,7 @@
this
.
open1
=
false
;
this
.
getList
();
}
);
}
else
if
(
this
.
title1
==
"
添加
巡检计划"
)
{
}
else
if
(
this
.
title1
==
"
新增
巡检计划"
)
{
addInspectionPlan
(
this
.
form1
).
then
(
response
=>
{
this
.
msgSuccess
(
"添加成功"
);
this
.
open1
=
false
;
...
...
gassafety-web/src/views/deviceInspection/inspectiondetail/index.vue
View file @
7e82206c
...
...
@@ -43,8 +43,11 @@
<el-form-item
label=
"计划执行时间:"
prop=
"startTime"
>
<font>
{{
form
.
startTime
}}
至
{{
form
.
endTime
}}
</font>
</el-form-item>
<el-form-item
label=
"计划状态:"
prop=
"startTime"
>
<font>
{{
form
.
planStatus
}}
</font>
<el-form-item
label=
"计划状态:"
prop=
"planStatus"
>
<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>
</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