21 lines
722 B
JavaScript
21 lines
722 B
JavaScript
function changeBrowseDate()
|
|
{
|
|
const begin = $('[name="begin"]').val().replaceAll('-', '');
|
|
const end = $('[name="end"]').val().replaceAll('-', '');
|
|
const params = condition + '&beginTime=' + begin + '&endTime=' + end;
|
|
loadPage($.createLink('testtask', 'browse', params), '#mainContent');
|
|
};
|
|
|
|
window.onRenderCell = function(result, {row, col})
|
|
{
|
|
if(result && col.name == 'buildName' && multipleSprints[row.data.execution] == undefined)
|
|
{
|
|
if(result[0].props) result[0].props['data-app'] = 'project';
|
|
}
|
|
else if(col.name == 'status' && result)
|
|
{
|
|
result[0] = {html: `<span class='status-${row.data.rawStatus}'>` + row.data.status + "</span>"};
|
|
}
|
|
return result;
|
|
}
|