Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
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
station
amos-convertor-view
Commits
deb27ef9
Commit
deb27ef9
authored
Aug 21, 2020
by
zhengjiawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消防整改
parent
9112e815
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
fireRectification.scss
src/styles/view/biz/fireRectification/fireRectification.scss
+1
-1
index.js
src/view/bizview/fireRectification/index.js
+13
-2
No files found.
src/styles/view/biz/fireRectification/fireRectification.scss
View file @
deb27ef9
...
...
@@ -30,7 +30,7 @@
.conten-modal
{
.bill-card
{
max-height
:
60
0px
;
max-height
:
59
0px
;
overflow
:
auto
;
}
}
...
...
src/view/bizview/fireRectification/index.js
View file @
deb27ef9
...
...
@@ -274,12 +274,23 @@ class FireRectification extends Component {
*/
regularUpdateData
=
()
=>
{
let
result
=
true
;
let
fileResult
=
true
;
const
{
warmningFileList
,
hiddenFileList
,
updateFrom
}
=
this
.
state
;
console
.
log
(
updateFrom
.
dangerData
);
Object
.
keys
(
warmningFileList
).
map
((
item
,
i
)
=>
{
if
(
warmningFileList
[
item
]
!==
undefined
||
warmningFileList
[
item
].
length
!==
0
){
fileResult
=
false
;
}
});
Object
.
keys
(
hiddenFileList
).
map
((
item
,
i
)
=>
{
if
(
hiddenFileList
[
item
]
!==
undefined
||
hiddenFileList
[
item
].
length
!==
0
){
fileResult
=
false
;
}
});
if
((
warmningFileList
===
undefined
||
warmningFileList
.
length
===
0
)
&&
(
hiddenFileList
===
undefined
||
hiddenFileList
.
length
===
0
)
&&
(
updateFrom
.
dangerData
===
undefined
||
updateFrom
.
dangerData
.
length
===
0
)
&&
!
updateFrom
.
backResult
&&
!
updateFrom
.
refResult
)
{
!
updateFrom
.
backResult
&&
!
updateFrom
.
refResult
&&
fileResult
)
{
result
=
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