Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
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
d22771fd
Commit
d22771fd
authored
Aug 30, 2024
by
xulihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改检查记录隐患新增修改删除分页
parent
8bfc63c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
TInsRecInforServiceImpl.java
...m/zehong/system/service/impl/TInsRecInforServiceImpl.java
+1
-1
Rectification.vue
...src/views/supervision/record/components/Rectification.vue
+3
-5
No files found.
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TInsRecInforServiceImpl.java
View file @
d22771fd
...
@@ -115,7 +115,7 @@ public class TInsRecInforServiceImpl implements ITInsRecInforService
...
@@ -115,7 +115,7 @@ public class TInsRecInforServiceImpl implements ITInsRecInforService
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
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
(
!
CollectionUtils
.
isEmpty
(
tInsRecInfor
.
getRectificationList
())
){
if
(
tInsRecInfor
.
getRectificationList
()!=
null
){
tInsHazRefMapper
.
deleteTInsHazRefByCheckCode
(
tInsRecInfor
.
getfCheckCode
());
tInsHazRefMapper
.
deleteTInsHazRefByCheckCode
(
tInsRecInfor
.
getfCheckCode
());
for
(
TInsHazRef
ref
:
tInsRecInfor
.
getRectificationList
()){
for
(
TInsHazRef
ref
:
tInsRecInfor
.
getRectificationList
()){
ref
.
setfObjType
(
tInsRecInfor
.
getfObjectType
());
ref
.
setfObjType
(
tInsRecInfor
.
getfObjectType
());
...
...
zh-baseversion-web/src/views/supervision/record/components/Rectification.vue
View file @
d22771fd
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
size=
"mini"
size=
"mini"
style=
"margin-bottom: 10px"
style=
"margin-bottom: 10px"
@
click=
"handleAddHidden"
@
click=
"handleAddHidden"
v-if=
"!readOnly"
v-if=
"!readOnly
&& this.$parent.$parent.$parent.form.fObjectType
"
>
新增隐患
</el-button>
>
新增隐患
</el-button>
<el-table
v-loading=
"loading"
:data=
"refList"
>
<el-table
v-loading=
"loading"
:data=
"refList"
>
...
@@ -62,13 +62,13 @@
...
@@ -62,13 +62,13 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
<!--
<pagination
v-show="total>0"
v-show="total>0"
:total="total"
:total="total"
:page.sync="queryParams.pageNum"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
:limit.sync="queryParams.pageSize"
@pagination="getList"
@pagination="getList"
/>
/>
-->
<!-- 隐患新增 -->
<!-- 隐患新增 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"900px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"900px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
...
@@ -351,8 +351,6 @@
...
@@ -351,8 +351,6 @@
loading
:
false
,
loading
:
false
,
// 查询参数
// 查询参数
queryParams
:
{
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
fCheckCode
:
null
fCheckCode
:
null
},
},
refList
:[],
refList
:[],
...
...
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