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
9066c7fd
Commit
9066c7fd
authored
Jul 15, 2024
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查记录隐患校验
parent
08c46d56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
Rectification.vue
...src/views/supervision/record/components/Rectification.vue
+14
-10
No files found.
zh-baseversion-web/src/views/supervision/record/components/Rectification.vue
View file @
9066c7fd
...
@@ -441,16 +441,20 @@
...
@@ -441,16 +441,20 @@
this
.
resetForm
(
"form"
);
this
.
resetForm
(
"form"
);
},
},
submitForm
(){
submitForm
(){
if
(
this
.
editIndex
>
-
1
){
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
refList
[
this
.
editIndex
]
=
this
.
form
;
if
(
valid
)
{
}
else
{
if
(
this
.
editIndex
>
-
1
){
this
.
form
.
fObjType
=
this
.
$parent
.
$parent
.
$parent
.
form
.
fObjectType
;
this
.
refList
[
this
.
editIndex
]
=
this
.
form
;
this
.
form
.
fObjCode
=
this
.
$parent
.
$parent
.
$parent
.
form
.
fObjectCode
;
}
else
{
this
.
refList
.
push
(
this
.
form
);
this
.
form
.
fObjType
=
this
.
$parent
.
$parent
.
$parent
.
form
.
fObjectType
;
}
this
.
form
.
fObjCode
=
this
.
$parent
.
$parent
.
$parent
.
form
.
fObjectCode
;
this
.
$parent
.
$parent
.
$parent
.
form
.
rectificationList
=
this
.
refList
;
this
.
refList
.
push
(
this
.
form
);
this
.
$parent
.
$parent
.
$parent
.
form
.
fHazardsNum
=
this
.
refList
.
length
;
}
this
.
open
=
false
;
this
.
$parent
.
$parent
.
$parent
.
form
.
rectificationList
=
this
.
refList
;
this
.
$parent
.
$parent
.
$parent
.
form
.
fHazardsNum
=
this
.
refList
.
length
;
this
.
open
=
false
;
}
})
},
},
cancel
(){
cancel
(){
this
.
open
=
false
;
this
.
open
=
false
;
...
...
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