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
df16262d
Commit
df16262d
authored
Dec 11, 2020
by
lizehua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改指标页面
parent
8ce14d89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
EquipmentAlarmView.js
...ew/bizview/situation/equipmentAlarm/EquipmentAlarmView.js
+1
-10
No files found.
src/view/bizview/situation/equipmentAlarm/EquipmentAlarmView.js
View file @
df16262d
...
@@ -44,10 +44,6 @@ const getColumns = () => {
...
@@ -44,10 +44,6 @@ const getColumns = () => {
dataIndex
:
'type'
,
dataIndex
:
'type'
,
key
:
'type'
,
key
:
'type'
,
width
:
'10%'
,
width
:
'10%'
,
render
:
text
=>
{
if
(
text
===
'alarm_type_trouble'
)
{
return
'故障告警'
;
}
if
(
text
===
'alarm_type_fire'
)
{
return
'火灾报警'
;
}
},
className
:
'uant-table-thead'
className
:
'uant-table-thead'
},
},
{
{
...
@@ -76,13 +72,8 @@ const getColumns = () => {
...
@@ -76,13 +72,8 @@ const getColumns = () => {
{
{
title
:
'恢复时间'
,
title
:
'恢复时间'
,
dataIndex
:
'recoveryDate'
,
dataIndex
:
'recoveryDate'
,
key
:
'recoveryDate'
+
'fireEquipmentCode'
,
key
:
'recoveryDate'
,
width
:
'10%'
,
width
:
'10%'
,
render
:
text
=>
{
if
(
text
)
{
moment
(
text
).
format
(
'YYYY-MM-DD HH:mm:ss'
);
}
},
className
:
'uant-table-thead'
className
:
'uant-table-thead'
}
}
];
];
...
...
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