首页任务状态背景色样式调整

This commit is contained in:
hdm 2022-08-05 11:25:37 +08:00
parent ec2dff898f
commit 36ab591cdb

View File

@ -380,7 +380,7 @@
} }
}, },
{field: 'status', title: '状态', align: 'center', width: 80, templet: function (d) { {field: 'status', title: '状态', align: 'center', width: 80, templet: function (d) {
var html = '<span class="layui-btn layui-btn-xs bg-status-' + d.status + '">' + d.status_name + '</span>'; var html = '<span class="layui-btn layui-btn-xs layui-bg-' + d.status + '">' + d.status_name + '</span>';
return html; return html;
} }
}, },
@ -401,7 +401,7 @@
} }
}, },
{field: 'flow_status', title: '状态', align: 'center', width: 80, templet: function (d) { {field: 'flow_status', title: '状态', align: 'center', width: 80, templet: function (d) {
var html = '<span class="layui-btn layui-btn-xs bg-status-' + d.flow_status + '">' + d.flow_name + '</span>'; var html = '<span class="layui-btn layui-btn-xs layui-bg-' + d.flow_status + '">' + d.flow_name + '</span>';
return html; return html;
} }
}, },