* [bug#62430,done,1h,0h] Fix project execution name col title error.

This commit is contained in:
wangyuting
2025-05-13 09:52:36 +08:00
committed by 刘刚
parent c3287118df
commit efedafce98
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -163,7 +163,6 @@ $config->project->execution->dtable->fieldList['rawID']['show'] = true;
$config->project->execution->dtable->fieldList['name']['title'] = $lang->nameAB;
$config->project->execution->dtable->fieldList['name']['name'] = 'nameCol';
$config->project->execution->dtable->fieldList['name']['type'] = 'title';
$config->project->execution->dtable->fieldList['name']['fixed'] = 'left';
$config->project->execution->dtable->fieldList['name']['flex'] = 1;
$config->project->execution->dtable->fieldList['name']['type'] = 'nestedTitle';
+1 -1
View File
@@ -56,7 +56,6 @@ window.onRenderCell = function(result, {col, row})
result[0].props.children = data.type == 'point' ? '' : data.name;
if(data.id.indexOf('tid') > -1 && data.type != 'point')
{
result[0].props.title = data.rawName;
result[0].props.children = data.rawName;
result[0].props.href = $.createLink('task', 'view', 'taskID=' + data.rawID);
html += data.prefixLabel;
@@ -84,6 +83,7 @@ window.onRenderCell = function(result, {col, row})
}
}
result[1].attrs.title = typeof data.rawName != 'undefined' && data.rawName ? data.rawName : data.name;
if(html) result.unshift({className: 'flex items-center', html: html});
if(typeof data.delay != 'undefined' && data.delay && !['done', 'cancel', 'close'].includes(data.status) && data.type != 'point' && data.end != '' && data.end != '0000-00-00' && today > data.end)