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
058d9287
Commit
058d9287
authored
Nov 04, 2021
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加危险因素下拉滚动条
parent
2959f915
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
14 deletions
+7
-14
riskModel.scss
src/styles/view/biz/riskModel/riskModel.scss
+6
-13
RiskFactorModel.js
...iew/bizview/preControl/riskModel/model/RiskFactorModel.js
+1
-1
No files found.
src/styles/view/biz/riskModel/riskModel.scss
View file @
058d9287
...
...
@@ -418,6 +418,12 @@ $scrollInnerColor: rgba(black, 0.1);
}
}
.risk-model-select
{
min-width
:
25rem
;
overflow
:
auto
;
max-height
:
300px
;
}
.fmea-model
{
width
:
100%
;
height
:
100%
;
...
...
@@ -439,19 +445,6 @@ $scrollInnerColor: rgba(black, 0.1);
}
}
.fmea-model-select
{
min-width
:
25rem
;
}
.fmea-model-select
{
min-width
:
25rem
;
&
.short-select
{
width
:
15rem
;
min-width
:
10rem
;
}
}
.amos-popover-content
{
>
ul
{
height
:
205px
;
...
...
src/view/bizview/preControl/riskModel/model/RiskFactorModel.js
View file @
058d9287
...
...
@@ -122,7 +122,7 @@ class RiskFactorModel extends Component {
{
/* <div className="risk-factor-select" style={{ height: '200px' }} > */
}
<
div
className
=
"risk-factor-select"
>
<
MultiSelect
className
=
"fmea
-model-select"
popoverClassName
=
"risk
-model-select"
data
=
{
riskFactorData
}
renderOption
=
{
item
=>
<
multiSelectOption
value
=
{
parseInt
(
item
.
id
)}
>
{
item
.
name
}
<
/multiSelectOption>
}
values
=
{
form
.
riskFactorIds
}
...
...
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