Commit f809b15f by 杨树贤

添加修改颜色和枚举

parent 1e6380d8
...@@ -352,8 +352,8 @@ return [ ...@@ -352,8 +352,8 @@ return [
], ],
'AbilityLevel' => [ 'AbilityLevel' => [
2 => '', 2 => '强履约A',
1 => '', 1 => '强履约B',
0 => '', 0 => '弱履约',
] ]
]; ];
...@@ -161,7 +161,16 @@ ...@@ -161,7 +161,16 @@
} }
} }
}, },
{field: 'ability_level_name', title: '履约程度', align: 'center', width: 80}, {field: 'ability_level_name', title: '履约程度', align: 'center', width: 80,templet: function (data) {
switch (data.ability_level) {
case 2:
return '<span style="color:rgb(252, 2, 23)">强履约A</span>';
case 1:
return '<span style="color:#FE784D">强履约B</span>';
default:
return '弱履约';
}
}},
{ {
field: 'source_name', title: '接入方式', align: 'center', width: 150 field: 'source_name', title: '接入方式', align: 'center', width: 150
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment