Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
huaxin-rq
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
耿迪迪
huaxin-rq
Commits
c54dc0ca
Commit
c54dc0ca
authored
Jan 22, 2026
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整改方式
parent
9e091f5b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
0 deletions
+38
-0
TDanger.java
...ystem/src/main/java/com/zehong/system/domain/TDanger.java
+12
-0
TDangerMapper.xml
...system/src/main/resources/mapper/system/TDangerMapper.xml
+6
-0
DangerDetail.vue
...eb/src/views/checktask/danger/components/DangerDetail.vue
+10
-0
FaultDetail.vue
...-web/src/views/checktask/fault/components/FaultDetail.vue
+10
-0
No files found.
huaxin-system/src/main/java/com/zehong/system/domain/TDanger.java
View file @
c54dc0ca
...
@@ -109,6 +109,10 @@ public class TDanger extends BaseEntity
...
@@ -109,6 +109,10 @@ public class TDanger extends BaseEntity
@Excel
(
name
=
"整改结束时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"整改结束时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
endTime
;
private
Date
endTime
;
/** 整改方式 */
@Excel
(
name
=
"整改方式"
,
readConverterExp
=
"1=用户自行整改,2=用户出资公司整改,3=通知厂家上门维修检查,4=公司出资整改"
)
private
String
dealMethod
;
/** 隐患状态,0待处理,1待复核,2已处理 */
/** 隐患状态,0待处理,1待复核,2已处理 */
@Excel
(
name
=
"隐患状态"
,
readConverterExp
=
"0=待处理,1=拒绝整改,2=待复核,3=已处理,4=已归档"
)
@Excel
(
name
=
"隐患状态"
,
readConverterExp
=
"0=待处理,1=拒绝整改,2=待复核,3=已处理,4=已归档"
)
private
Integer
status
;
private
Integer
status
;
...
@@ -533,6 +537,14 @@ public class TDanger extends BaseEntity
...
@@ -533,6 +537,14 @@ public class TDanger extends BaseEntity
this
.
tTaskInspect
=
tTaskInspect
;
this
.
tTaskInspect
=
tTaskInspect
;
}
}
public
String
getDealMethod
()
{
return
dealMethod
;
}
public
void
setDealMethod
(
String
dealMethod
)
{
this
.
dealMethod
=
dealMethod
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
...
huaxin-system/src/main/resources/mapper/system/TDangerMapper.xml
View file @
c54dc0ca
...
@@ -43,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -43,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"governanceMethod"
column=
"governance_method"
/>
<result
property=
"governanceMethod"
column=
"governance_method"
/>
<result
property=
"fundsMaterials"
column=
"funds_materials"
/>
<result
property=
"fundsMaterials"
column=
"funds_materials"
/>
<result
property=
"safetyEmergencyPlan"
column=
"safety_emergency_plan"
/>
<result
property=
"safetyEmergencyPlan"
column=
"safety_emergency_plan"
/>
<result
property=
"dealMethod"
column=
"deal_method"
/>
</resultMap>
</resultMap>
<sql
id=
"selectTDangerVo"
>
<sql
id=
"selectTDangerVo"
>
...
@@ -86,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -86,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
governance_method,
governance_method,
funds_materials,
funds_materials,
safety_emergency_plan,
safety_emergency_plan,
deal_method,
(SELECT nick_name FROM sys_user where user_id = file_id) as fileName,
(SELECT nick_name FROM sys_user where user_id = file_id) as fileName,
(
(
case type
case type
...
@@ -133,6 +135,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -133,6 +135,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"status == null "
>
and status not in (-1)
</if>
<if
test=
"status == null "
>
and status not in (-1)
</if>
<if
test=
"flag != null and adminId != null"
>
and (flag = #{flag} or admin_id = #{adminId})
</if>
<if
test=
"flag != null and adminId != null"
>
and (flag = #{flag} or admin_id = #{adminId})
</if>
<if
test=
"isVisitor != null and isVisitor != ''"
>
and is_visitor = #{isVisitor}
</if>
<if
test=
"isVisitor != null and isVisitor != ''"
>
and is_visitor = #{isVisitor}
</if>
<if
test=
"dealMethod != null and dealMethod != ''"
>
and deal_method = #{dealMethod}
</if>
</where>
</where>
ORDER BY create_time DESC
ORDER BY create_time DESC
</select>
</select>
...
@@ -182,6 +185,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -182,6 +185,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"governanceMethod != null"
>
governance_method,
</if>
<if
test=
"governanceMethod != null"
>
governance_method,
</if>
<if
test=
"fundsMaterials != null"
>
funds_materials,
</if>
<if
test=
"fundsMaterials != null"
>
funds_materials,
</if>
<if
test=
"safetyEmergencyPlan != null"
>
safety_emergency_plan,
</if>
<if
test=
"safetyEmergencyPlan != null"
>
safety_emergency_plan,
</if>
<if
test=
"dealMethod != null"
>
deal_method,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"taskId != null"
>
#{taskId},
</if>
<if
test=
"taskId != null"
>
#{taskId},
</if>
...
@@ -221,6 +225,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -221,6 +225,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"governanceMethod != null"
>
#{governanceMethod},
</if>
<if
test=
"governanceMethod != null"
>
#{governanceMethod},
</if>
<if
test=
"fundsMaterials != null"
>
#{fundsMaterials},
</if>
<if
test=
"fundsMaterials != null"
>
#{fundsMaterials},
</if>
<if
test=
"safetyEmergencyPlan != null"
>
#{safetyEmergencyPlan},
</if>
<if
test=
"safetyEmergencyPlan != null"
>
#{safetyEmergencyPlan},
</if>
<if
test=
"dealMethod != null"
>
#{dealMethod},
</if>
</trim>
</trim>
</insert>
</insert>
...
@@ -264,6 +269,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -264,6 +269,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"governanceMethod != null"
>
governance_method = #{governanceMethod},
</if>
<if
test=
"governanceMethod != null"
>
governance_method = #{governanceMethod},
</if>
<if
test=
"fundsMaterials != null"
>
funds_materials = #{fundsMaterials},
</if>
<if
test=
"fundsMaterials != null"
>
funds_materials = #{fundsMaterials},
</if>
<if
test=
"safetyEmergencyPlan != null"
>
safety_emergency_plan = #{safetyEmergencyPlan},
</if>
<if
test=
"safetyEmergencyPlan != null"
>
safety_emergency_plan = #{safetyEmergencyPlan},
</if>
<if
test=
"dealMethod != null"
>
deal_method = #{dealMethod},
</if>
</trim>
</trim>
where id = #{id}
where id = #{id}
</update>
</update>
...
...
huaxin-web/src/views/checktask/danger/components/DangerDetail.vue
View file @
c54dc0ca
...
@@ -162,6 +162,16 @@
...
@@ -162,6 +162,16 @@
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"整改方式"
>
<
span
v
-
if
=
"dangerDetailInfo.dealMethod == '1'"
>
用户自行整改
<
/span
>
<
span
v
-
else
-
if
=
"dangerDetailInfo.dealMethod == '2'"
>
用户出资公司整改
<
/span
>
<
span
v
-
else
-
if
=
"dangerDetailInfo.dealMethod == '3'"
>
通知厂家上门维修检查
<
/span
>
<
span
v
-
else
-
if
=
"dangerDetailInfo.dealMethod == '4'"
>
公司出资整改
<
/span
>
<
span
v
-
else
>-<
/span
>
<
/el-form-item
>
<
/el-col
>
<!--
<
el
-
col
:
span
=
"12"
>
<!--
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"归档人"
>
<
el
-
form
-
item
label
=
"归档人"
>
<
span
v
-
if
=
"dangerDetailInfo.fileName"
>
{{
<
span
v
-
if
=
"dangerDetailInfo.fileName"
>
{{
...
...
huaxin-web/src/views/checktask/fault/components/FaultDetail.vue
View file @
c54dc0ca
...
@@ -139,6 +139,16 @@
...
@@ -139,6 +139,16 @@
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"整改方式"
>
<
span
v
-
if
=
"dangerDetailInfo.dealMethod == '1'"
>
用户自行整改
<
/span
>
<
span
v
-
else
-
if
=
"dangerDetailInfo.dealMethod == '2'"
>
用户出资公司整改
<
/span
>
<
span
v
-
else
-
if
=
"dangerDetailInfo.dealMethod == '3'"
>
通知厂家上门维修检查
<
/span
>
<
span
v
-
else
-
if
=
"dangerDetailInfo.dealMethod == '4'"
>
公司出资整改
<
/span
>
<
span
v
-
else
>-<
/span
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"24"
>
<
el
-
col
:
span
=
"24"
>
<
el
-
form
-
item
label
=
"备注"
>
<
el
-
form
-
item
label
=
"备注"
>
<
span
v
-
if
=
"dangerDetailInfo.remark"
>
{{
<
span
v
-
if
=
"dangerDetailInfo.remark"
>
{{
...
...
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