Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AmosBankView
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
bank
AmosBankView
Commits
acb45bed
Commit
acb45bed
authored
May 18, 2020
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改不合格为异常
parent
31eccad7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
RiskContent.js
src/view/3dview/points/RiskContent.js
+10
-1
No files found.
src/view/3dview/points/RiskContent.js
View file @
acb45bed
...
...
@@ -20,6 +20,15 @@ class RiskContent extends Component {
render
()
{
const
{
markerData
}
=
this
.
props
;
// const { info = [] } = markerData || {};
let
text
=
markerData
.
realTimeStatus
;
if
(
text
===
'合格'
){
text
=
'正常'
;
}
else
if
(
text
===
'不合格'
){
text
=
'异常'
;
}
return
(
<
Row
className
=
"point-detail-table "
>
<
Row
className
=
"point-detail-table-row1"
>
...
...
@@ -28,7 +37,7 @@ class RiskContent extends Component {
<
Col
className
=
"colTitle"
>
名称
<
/Col
>
<
Col
className
=
"colValue"
>
{
markerData
.
name
}
<
/Col
>
<
Col
className
=
"colTitle"
>
状态
<
/Col
>
<
Col
className
=
"colValue"
>
{
markerData
.
realTimeStatus
}
<
/Col
>
<
Col
className
=
"colValue"
>
{
text
}
<
/Col
>
<
/Row
>
<
Row
className
=
"point-detail-table-row2"
>
<
Col
className
=
"colTitle"
>
责任部门
<
/Col
>
...
...
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