* Add project model icon in program::browse.

This commit is contained in:
liumengyi
2023-11-13 08:48:11 +08:00
parent dd5a62a3bf
commit fff9bf1920
+1 -1
View File
@@ -204,7 +204,7 @@ $config->program->browse->dtable->fieldList['name']['flex'] = 1;
$config->program->browse->dtable->fieldList['name']['nestedToggle'] = true;
$config->program->browse->dtable->fieldList['name']['checkbox'] = true;
$config->program->browse->dtable->fieldList['name']['sortType'] = true;
$config->program->browse->dtable->fieldList['name']['iconRender'] = 'RAWJS<function(val,row){ if(row.data.type === \'program\') return \'icon-cards-view text-gray\'; if(row.data.type === \'productLine\') return \'icon-scrum text-gray\'; return \'\';}>RAWJS';
$config->program->browse->dtable->fieldList['name']['iconRender'] = 'RAWJS<function(val,row){ if(row.data.type === \'program\') return \'icon-cards-view text-gray\'; if(row.data.type === \'productLine\') return \'icon-scrum text-gray\'; if(row.data.type == \'project\') return \'icon-\' + (row.data.model == \'scrum\' ? \'sprint\' : row.data.model) + \' text-gray\'; return \'\';}>RAWJS';
$config->program->browse->dtable->fieldList['name']['required'] = true;
$config->program->browse->dtable->fieldList['name']['show'] = true;
$config->program->browse->dtable->fieldList['name']['group'] = 1;