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
8e7d458f
Commit
8e7d458f
authored
Jun 02, 2020
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
f3a801ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
index.js
src/view/bizview/preControl/riskModel/index.js
+2
-2
RiskFactorModel.js
...iew/bizview/preControl/riskModel/model/RiskFactorModel.js
+2
-2
No files found.
src/view/bizview/preControl/riskModel/index.js
View file @
8e7d458f
...
...
@@ -856,8 +856,8 @@ class RiskModel extends Component {
<
div
className
=
'risk-level-img'
>
<
span
className
=
'risk-level-img-span'
>
风险层级图
<
/span
>
<
div
className
=
'risk-level-img-button'
>
<
Button
icon
=
{
<
BizIcon
icon
=
"xiazai"
/>
}
transparent
onClick
=
{
e
=>
this
.
onClick
(
e
,
'1'
)}
/
>
<
Button
icon
=
{
<
BizIcon
icon
=
"daoru"
/>
}
transparent
onClick
=
{
e
=>
this
.
onClick
(
e
,
'2'
)}
/
>
{
/*
<Button icon={<BizIcon icon="xiazai" />} transparent onClick={e => this.onClick(e,'1')} />
<Button icon={<BizIcon icon="daoru" />} transparent onClick={e => this.onClick(e,'2')} />
*/
}
<
/div
>
<
/div
>
<
div
className
=
'risk-model-level'
>
...
...
src/view/bizview/preControl/riskModel/model/RiskFactorModel.js
View file @
8e7d458f
...
...
@@ -24,7 +24,7 @@ class RiskFactorModel extends Component {
riskFactorData
:
[],
userData
:
[],
rules
:
{
riskFactor
sId
:
[{
required
:
true
,
message
:
'危险因素不能为空'
}]
riskFactor
Ids
:
[{
required
:
true
,
message
:
'危险因素不能为空'
}]
}
};
}
...
...
@@ -118,7 +118,7 @@ class RiskFactorModel extends Component {
<
div
>
<
span
className
=
"fmea-item-span"
>
危险有害因素:
<
/span
>
<
Divider
/>
<
FormItem
label
=
{
<
span
>
危险因素
<
/span>} className="fmea-item-risk-factor" field="riskFactor
sId
" {...formItemLayout}
>
<
FormItem
label
=
{
<
span
>
危险因素
<
/span>} className="fmea-item-risk-factor" field="riskFactor
Ids
" {...formItemLayout}
>
{
/* <div className="risk-factor-select" style={{ height: '200px' }} > */
}
<
div
className
=
"risk-factor-select"
>
<
MultiSelect
...
...
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