* Add task status color in my-work.

This commit is contained in:
sunguangming
2024-11-22 17:07:20 +08:00
committed by 王怡栋
parent 605fe5b2db
commit b07b18bb13
+4
View File
@@ -96,6 +96,10 @@ window.renderCell = function(result, info)
result[0] = {html: '<span class="label danger-pale rounded-full size-sm">' + result[0] + '</span>'};
}
}
if(info.col.name == 'status' && result)
{
result[0] = {html: `<span class='status-${info.row.data.rawStatus}'>` + info.row.data.status + "</span>"};
}
return result;
}