Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
robot-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
汪晓凯
robot-monitor
Commits
73607348
Commit
73607348
authored
Dec 16, 2019
by
王奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
=接口更改
parent
ec500278
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
currency.vue
src/views/currency.vue
+14
-0
No files found.
src/views/currency.vue
View file @
73607348
...
@@ -99,6 +99,7 @@
...
@@ -99,6 +99,7 @@
</el-date-picker>
</el-date-picker>
</div>
</div>
<el-table
<el-table
:cell-style=
"set_cell_style"
:header-cell-style=
"
{background:'#EFF1F3',color:'#808080'}"
:header-cell-style=
"
{background:'#EFF1F3',color:'#808080'}"
:data="tableData"
:data="tableData"
stripe
stripe
...
@@ -358,6 +359,19 @@
...
@@ -358,6 +359,19 @@
this
.
getRobotList
(
this
.
RobotListParams
);
this
.
getRobotList
(
this
.
RobotListParams
);
}
}
},
},
//动态单元格样式
set_cell_style
({
row
,
column
,
rowIndex
,
columnIndex
}){
console
.
log
(
"ss"
,
row
.
coin_wave_status
)
if
(
row
.
coin_wave_status
==
"abnormal"
&&
column
.
label
==
"目标币当日波动量(比例)"
){
// console("ddd")
return
'color:#D97878'
}
else
if
(
row
.
base_wave_status
==
"abnormal"
&&
column
.
label
==
"基础币当日波动量(比例)"
){
return
'color:#D97878'
}
else
{
}
},
// 筛选
// 筛选
clickFoldExchange
(
type
)
{
clickFoldExchange
(
type
)
{
switch
(
type
)
{
switch
(
type
)
{
...
...
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