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
019b5da0
Commit
019b5da0
authored
Jul 22, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 检查记录修改-隐患数量 回显一直为0 问题修复。
parent
fc03ce85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
Rectification.vue
...src/views/supervision/record/components/Rectification.vue
+7
-5
No files found.
zh-baseversion-web/src/views/supervision/record/components/Rectification.vue
View file @
019b5da0
...
@@ -28,13 +28,14 @@
...
@@ -28,13 +28,14 @@
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"是否执行"
align=
"center"
prop=
"fIsEnforcement"
>
<!-- 不明确什么意思,先去掉 -->
<!-- <el-table-column label="是否执行" align="center" prop="fIsEnforcement">
<template slot-scope="scope">
<template slot-scope="scope">
<span v-if="scope.row.fIsEnforcement == '1'">是</span>
<span v-if="scope.row.fIsEnforcement == '1'">是</span>
<span v-else-if="scope.row.fIsEnforcement == '0'">否</span>
<span v-else-if="scope.row.fIsEnforcement == '0'">否</span>
<span v-else>-</span>
<span v-else>-</span>
</template>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"150"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -231,7 +232,8 @@
...
@@ -231,7 +232,8 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<!-- 不明确什么意思,先去掉 -->
<!-- <el-col :span="12">
<el-form-item label="是否执行" prop="fIsEnforcement">
<el-form-item label="是否执行" prop="fIsEnforcement">
<el-select
<el-select
v-model="form.fIsEnforcement"
v-model="form.fIsEnforcement"
...
@@ -242,7 +244,7 @@
...
@@ -242,7 +244,7 @@
<el-option label="否" value="0" />
<el-option label="否" value="0" />
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
<el-col
:span=
"12"
v-if=
"$parent.$parent.$parent.form.fDoscNeedExecute == '1'"
>
<el-col
:span=
"12"
v-if=
"$parent.$parent.$parent.form.fDoscNeedExecute == '1'"
>
<el-form-item
label=
"处罚措施"
prop=
"fEnforcementType"
>
<el-form-item
label=
"处罚措施"
prop=
"fEnforcementType"
>
...
@@ -362,7 +364,6 @@
...
@@ -362,7 +364,6 @@
}
}
},
},
created
(){
created
(){
this
.
$parent
.
$parent
.
$parent
.
form
.
fHazardsNum
=
this
.
refList
.
length
;
if
(
this
.
fCheckCode
){
if
(
this
.
fCheckCode
){
this
.
queryParams
.
fCheckCode
=
this
.
fCheckCode
;
this
.
queryParams
.
fCheckCode
=
this
.
fCheckCode
;
this
.
getList
();
this
.
getList
();
...
@@ -406,6 +407,7 @@
...
@@ -406,6 +407,7 @@
this
.
loading
=
true
;
this
.
loading
=
true
;
listRef
(
this
.
queryParams
).
then
(
response
=>
{
listRef
(
this
.
queryParams
).
then
(
response
=>
{
this
.
refList
=
response
.
rows
;
this
.
refList
=
response
.
rows
;
this
.
$parent
.
$parent
.
$parent
.
form
.
fHazardsNum
=
this
.
refList
.
length
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
this
.
loading
=
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