Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zh-baseversion-project
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
王浩
zh-baseversion-project
Commits
9149e3c8
Commit
9149e3c8
authored
May 08, 2026
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
bb7c1475
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
48 additions
and
31 deletions
+48
-31
TInsHazRefMapper.java
.../main/java/com/zehong/system/mapper/TInsHazRefMapper.java
+3
-1
TInsRecInforServiceImpl.java
...m/zehong/system/service/impl/TInsRecInforServiceImpl.java
+9
-5
TConfinedSpaceMapper.xml
...src/main/resources/mapper/system/TConfinedSpaceMapper.xml
+1
-0
TInsHazRefMapper.xml
...tem/src/main/resources/mapper/system/TInsHazRefMapper.xml
+5
-1
TUserManageVillageMapper.xml
...main/resources/mapper/system/TUserManageVillageMapper.xml
+1
-0
index.vue
...b/src/views/majorpollsourcelevel/supMajorHazard/index.vue
+1
-1
index.vue
zh-baseversion-web/src/views/regulation/station/index.vue
+28
-23
No files found.
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TInsHazRefMapper.java
View file @
9149e3c8
...
@@ -2,6 +2,7 @@ package com.zehong.system.mapper;
...
@@ -2,6 +2,7 @@ package com.zehong.system.mapper;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.TInsHazRef
;
import
com.zehong.system.domain.TInsHazRef
;
import
org.apache.ibatis.annotations.Param
;
/**
/**
* 监督检查-监督检查发现隐患及整改,执法结果Mapper接口
* 监督检查-监督检查发现隐患及整改,执法结果Mapper接口
...
@@ -59,5 +60,6 @@ public interface TInsHazRefMapper
...
@@ -59,5 +60,6 @@ public interface TInsHazRefMapper
*/
*/
public
int
deleteTInsHazRefByIds
(
Long
[]
fInsHazRefIds
);
public
int
deleteTInsHazRefByIds
(
Long
[]
fInsHazRefIds
);
int
deleteTInsHazRefByCheckCode
(
String
fCheckCode
);
int
deleteTInsHazRefByCheckCode
(
@Param
(
"fCheckCode"
)
String
fCheckCode
,
@Param
(
"list"
)
List
<
Long
>
list
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TInsRecInforServiceImpl.java
View file @
9149e3c8
...
@@ -112,13 +112,17 @@ public class TInsRecInforServiceImpl implements ITInsRecInforService
...
@@ -112,13 +112,17 @@ public class TInsRecInforServiceImpl implements ITInsRecInforService
public
int
updateTInsRecInfor
(
TInsRecInfor
tInsRecInfor
){
public
int
updateTInsRecInfor
(
TInsRecInfor
tInsRecInfor
){
tInsRecInfor
.
setfLastUpdateTime
(
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
).
format
(
new
Date
()));
tInsRecInfor
.
setfLastUpdateTime
(
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
).
format
(
new
Date
()));
if
(
tInsRecInfor
.
getRectificationList
()!=
null
){
if
(
tInsRecInfor
.
getRectificationList
()!=
null
){
tInsHazRefMapper
.
deleteTInsHazRefByCheckCode
(
tInsRecInfor
.
getfCheckCode
()
);
List
<
Long
>
ids
=
new
ArrayList
<>(
);
for
(
TInsHazRef
ref
:
tInsRecInfor
.
getRectificationList
()){
for
(
TInsHazRef
ref
:
tInsRecInfor
.
getRectificationList
()){
ref
.
setfObjType
(
tInsRecInfor
.
getfObjectType
());
ids
.
add
(
ref
.
getfInsHazRefId
());
ref
.
setfObjCode
(
tInsRecInfor
.
getfObjectCode
());
if
(
ref
.
getfInsHazRefId
()==
null
){
ref
.
setfCheckCode
(
tInsRecInfor
.
getfCheckCode
());
ref
.
setfObjType
(
tInsRecInfor
.
getfObjectType
());
addInsHazRef
(
ref
);
ref
.
setfObjCode
(
tInsRecInfor
.
getfObjectCode
());
ref
.
setfCheckCode
(
tInsRecInfor
.
getfCheckCode
());
addInsHazRef
(
ref
);
}
}
}
tInsHazRefMapper
.
deleteTInsHazRefByCheckCode
(
tInsRecInfor
.
getfCheckCode
(),
ids
);
}
}
return
tInsRecInforMapper
.
updateTInsRecInfor
(
tInsRecInfor
);
return
tInsRecInforMapper
.
updateTInsRecInfor
(
tInsRecInfor
);
}
}
...
...
zh-baseversion-system/src/main/resources/mapper/system/TConfinedSpaceMapper.xml
View file @
9149e3c8
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
<if
test=
"warningSign != null and warningSign != ''"
>
and warning_sign = #{warningSign}
</if>
<if
test=
"warningSign != null and warningSign != ''"
>
and warning_sign = #{warningSign}
</if>
<if
test=
"lastDate != null "
>
and last_date = #{lastDate}
</if>
<if
test=
"lastDate != null "
>
and last_date = #{lastDate}
</if>
</where>
</where>
order by create_time desc
</select>
</select>
<select
id=
"selectTConfinedSpaceById"
parameterType=
"Long"
resultMap=
"TConfinedSpaceResult"
>
<select
id=
"selectTConfinedSpaceById"
parameterType=
"Long"
resultMap=
"TConfinedSpaceResult"
>
...
...
zh-baseversion-system/src/main/resources/mapper/system/TInsHazRefMapper.xml
View file @
9149e3c8
...
@@ -150,6 +150,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -150,6 +150,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
</delete>
<delete
id=
"deleteTInsHazRefByCheckCode"
parameterType=
"String"
>
<delete
id=
"deleteTInsHazRefByCheckCode"
parameterType=
"String"
>
delete from t_ins_haz_ref where f_check_code = #{fCheckCode}
delete from t_ins_haz_ref where f_check_code = #{fCheckCode} and
f_ins_haz_ref_id not in
<foreach
item=
"fInsHazRefId"
collection=
"list"
open=
"("
separator=
","
close=
")"
>
#{fInsHazRefId}
</foreach>
</delete>
</delete>
</mapper>
</mapper>
\ No newline at end of file
zh-baseversion-system/src/main/resources/mapper/system/TUserManageVillageMapper.xml
View file @
9149e3c8
...
@@ -91,6 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -91,6 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fVillageName != null and fVillageName != ''"
>
and f_village_name like concat('%', #{fVillageName}, '%')
</if>
<if
test=
"fVillageName != null and fVillageName != ''"
>
and f_village_name like concat('%', #{fVillageName}, '%')
</if>
<if
test=
"beyondEnterpriseId != null and beyondEnterpriseId != '-2' and beyondEnterpriseId != ''"
>
and f_beyond_enterprise_id = #{beyondEnterpriseId}
</if>
<if
test=
"beyondEnterpriseId != null and beyondEnterpriseId != '-2' and beyondEnterpriseId != ''"
>
and f_beyond_enterprise_id = #{beyondEnterpriseId}
</if>
</where>
</where>
order by village.f_village_id desc
</select>
</select>
<select
id=
"queryUserManageVillageForThirdParty"
resultMap=
"TUserManageVillageThirdPartyVoResult"
>
<select
id=
"queryUserManageVillageForThirdParty"
resultMap=
"TUserManageVillageThirdPartyVoResult"
>
select village.f_village_id,
select village.f_village_id,
...
...
zh-baseversion-web/src/views/majorpollsourcelevel/supMajorHazard/index.vue
View file @
9149e3c8
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
:inline=
"true"
v-show=
"showSearch"
label-width=
"
6
8px"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
:inline=
"true"
v-show=
"showSearch"
label-width=
"
9
8px"
>
<!--
<el-form-item
label=
"重大危险源监管表 id"
prop=
"fHazardId"
v-if=
"false"
>
<!--
<el-form-item
label=
"重大危险源监管表 id"
prop=
"fHazardId"
v-if=
"false"
>
<el-input
<el-input
v-model=
"queryParams.fHazardId"
v-model=
"queryParams.fHazardId"
...
...
zh-baseversion-web/src/views/regulation/station/index.vue
View file @
9149e3c8
...
@@ -109,21 +109,25 @@
...
@@ -109,21 +109,25 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"照片"
align
=
"center"
>
<
el
-
table
-
column
label
=
"照片"
align
=
"center"
>
<
template
slot
-
scope
=
"List"
>
<
template
slot
-
scope
=
"List"
>
<
img
:
src
=
"List.row.pictureAddress"
width
=
"100px"
>
<
MyImage
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"照片"
align
=
"center"
>
<
template
slot
-
scope
=
"List"
>
<
span
class
=
"dbtn"
@
click
=
"checkFile(List.row.pictureAddress)"
v
-
if
=
"List.row.pictureAddress"
v
-
if
=
"List.row.pictureAddress"
>
:
src
=
"List.row.pictureAddress.split(',')[0]"
<
i
class
=
"el-icon el-icon-view"
><
/i>查看/
下载
:
previewSrcList
=
"List.row.pictureAddress.split(',')"
<
/span
>
/>
<
span
v
-
else
>-<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<!--
<
el
-
table
-
column
label
=
"照片"
align
=
"center"
>-->
<!--
<
template
slot
-
scope
=
"List"
>-->
<!--
<
span
-->
<!--
class
=
"dbtn"
-->
<!--
@
click
=
"checkFile(List.row.pictureAddress)"
-->
<!--
v
-
if
=
"List.row.pictureAddress"
-->
<!--
&
gt
;
-->
<!--
<
i
class
=
"el-icon el-icon-view"
><
/i>查看/
下载
-->
<!--
<
/span>--
>
<!--
<
span
v
-
else
>-<
/span>--
>
<!--
<
/template>--
>
<!--
<
/el-table-column>--
>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
<
el
-
button
...
@@ -426,11 +430,12 @@ import { listStation, getStation, delStation, addStation, updateStation, exportS
...
@@ -426,11 +430,12 @@ import { listStation, getStation, delStation, addStation, updateStation, exportS
import
{
getDdeviceDetailInfo
,
addDetailInfos
,
deleteDetailInfo
,
deleteeListDetailInfo
,
selectDetailInfoList
,
deleteDeviceDetailInfo
,
updateDetailInfoLists
}
from
"@/api/regulation/device"
;
import
{
getDdeviceDetailInfo
,
addDetailInfos
,
deleteDetailInfo
,
deleteeListDetailInfo
,
selectDetailInfoList
,
deleteDeviceDetailInfo
,
updateDetailInfoLists
}
from
"@/api/regulation/device"
;
import
GetPos
from
'@/components/GetPos'
;
import
GetPos
from
'@/components/GetPos'
;
import
FileUpload
from
'@/components/FileSuperviseUpload'
;
import
FileUpload
from
'@/components/FileSuperviseUpload'
;
import
MyImage
from
"@/components/MyImage/index.vue"
;
export
default
{
export
default
{
name
:
"Station"
,
name
:
"Station"
,
components
:
{
components
:
{
GetPos
,
GetPos
,
FileUpload
,
FileUpload
,
MyImage
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -545,21 +550,18 @@ export default {
...
@@ -545,21 +550,18 @@ export default {
methods
:
{
methods
:
{
/**上传头像*/
/**上传头像*/
getFileInfo
(
res
){
getFileInfo
(
res
){
this
.
form
.
dealPlan
=
res
.
fileName
;
this
.
form
.
pictureAddress
=
res
.
url
;
this
.
form
.
burl
=
res
.
burl
;
this
.
fileList
.
push
({
this
.
fileList
.
push
({
name
:
res
.
fileName
,
name
:
res
.
fileName
,
url
:
uploadfile
,
url
:
res
.
url
,
burl
:
res
.
burl
,
}
);
}
);
this
.
form
.
pictureAddress
=
this
.
fileList
.
map
(
file
=>
file
.
url
).
join
(
','
);
}
,
}
,
checkFile
(
url
)
{
checkFile
(
url
)
{
window
.
open
(
url
,
'_blank'
);
window
.
open
(
url
,
'_blank'
);
}
,
}
,
listRemove
(
e
)
{
listRemove
(
e
)
{
this
.
f
orm
.
dealPlan
=
""
;
this
.
f
ileList
=
this
.
fileList
.
filter
(
obj
=>
obj
.
uid
!==
e
.
uid
)
;
this
.
f
ileList
=
[]
;
this
.
f
orm
.
pictureAddress
=
this
.
fileList
.
map
(
file
=>
file
.
url
).
join
(
','
)
;
}
,
}
,
/** 查询厂站信息列表 */
/** 查询厂站信息列表 */
...
@@ -583,6 +585,7 @@ export default {
...
@@ -583,6 +585,7 @@ export default {
}
,
}
,
// 表单重置
// 表单重置
reset
()
{
reset
()
{
this
.
fileList
=
[];
this
.
form
=
{
this
.
form
=
{
siteStationId
:
null
,
siteStationId
:
null
,
siteStationType
:
null
,
siteStationType
:
null
,
...
@@ -663,13 +666,15 @@ export default {
...
@@ -663,13 +666,15 @@ export default {
getStation
(
siteStationId
).
then
(
response
=>
{
getStation
(
siteStationId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
open
=
true
;
//图片回显
//图片回显
if
(
this
.
form
.
pictureAddress
)
{
if
(
this
.
form
.
pictureAddress
)
{
for
(
var
item
of
this
.
form
.
pictureAddress
.
split
(
','
)){
this
.
fileList
.
push
({
this
.
fileList
.
push
({
name
:
'照片'
,
name
:
'照片'
,
url
:
this
.
form
.
pictureAddress
,
url
:
item
,
}
);
}
);
}
}
}
this
.
title
=
"修改厂站信息"
;
this
.
title
=
"修改厂站信息"
;
this
.
devicePos
=
[
response
.
data
.
longitude
,
response
.
data
.
latitude
];
this
.
devicePos
=
[
response
.
data
.
longitude
,
response
.
data
.
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