feat: ag-grid에서 iActionInfo를 툴팁으로 띄움

This commit is contained in:
2022-04-07 03:03:38 +09:00
parent 20bd638af7
commit 4b8a8d722a
4 changed files with 125 additions and 24 deletions
-11
View File
@@ -113,8 +113,6 @@ class GeneralList extends \sammo\BaseAPI
$customViewColumns = [
'officerLevel' => 0,
'officerLevelText' => 0,
'specialDomesticTest' => 0,
'specialWarText' => 0,
'lbonus' => 0,
'ownerName' => 0,
'honorText' => 0,
@@ -131,15 +129,6 @@ class GeneralList extends \sammo\BaseAPI
$level = $this->getOfficerLevel($rawGeneral);
return getOfficerLevelText($level, $nationArr['level']);
},
'specialDomesticTest' => function ($rawGeneral) {
return getGeneralSpecialDomesticName($rawGeneral['special']);
},
'specialWarText' => function ($rawGeneral) {
return getGeneralSpecialWarName($rawGeneral['special2']);
},
'personal' => function ($rawGeneral) {
return getGenChar($rawGeneral['personal']);
},
'lbonus' => function ($rawGeneral) use ($nationArr) {
return calcLeadershipBonus($rawGeneral['officer_level'], $nationArr['level']);
},