refactor(web): 调整部分图表的显示
This commit is contained in:
@@ -1118,6 +1118,11 @@ let hudiTimelineTypeMapping = [
|
||||
mappingItem('归档', 'archive', 'bg-gray-300'),
|
||||
]
|
||||
|
||||
let tableRunningStateMapping = [
|
||||
mappingItem('运行中', 'true', 'label-success'),
|
||||
mappingItem('未运行', 'false'),
|
||||
]
|
||||
|
||||
function mappingField(field, mapping) {
|
||||
let mapData = {
|
||||
'*': `<span class='label bg-gray-300'>\${${field}}</span>`,
|
||||
|
||||
Reference in New Issue
Block a user