|
|
@@ -6,6 +6,7 @@ use common\helpers\http\BackendToFrontendApi;
|
|
|
use common\helpers\user\Info;
|
|
|
use common\libs\dataList\DataListInterface;
|
|
|
use common\models\DecRole;
|
|
|
+use common\models\EmployLevel;
|
|
|
use common\models\OpenBank;
|
|
|
use common\models\Region;
|
|
|
use common\models\User;
|
|
|
@@ -170,7 +171,19 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
'width' => '130',
|
|
|
],
|
|
|
'value' => function($row) use($empLevelConfig) {
|
|
|
- return isset($empLevelConfig[$row['EMP_LV']])?$empLevelConfig[$row['EMP_LV']]['LEVEL_NAME']:'';
|
|
|
+ return isset($empLevelConfig[$row['EMP_LV']])?$empLevelConfig[$row['EMP_LV']]['LEVEL_NAME']:$empLevelConfig[EmployLevel::getDefaultLevelId()]['LEVEL_NAME'];
|
|
|
+ },
|
|
|
+ 'valueOther' => [
|
|
|
+ 'tag'=>['type'=>'warning', 'size' => 'small', 'class'=>'no-border']
|
|
|
+ ],
|
|
|
+ ],
|
|
|
+ 'LAST_EMP_LV_NAME' => [
|
|
|
+ 'header' => '最新聘级',
|
|
|
+ 'headerOther' => [
|
|
|
+ 'width' => '130',
|
|
|
+ ],
|
|
|
+ 'value' => function($row) use($empLevelConfig) {
|
|
|
+ return isset($empLevelConfig[$row['LAST_EMP_LV']])?$empLevelConfig[$row['LAST_EMP_LV']]['LEVEL_NAME']:$empLevelConfig[EmployLevel::getDefaultLevelId()]['LEVEL_NAME'];
|
|
|
},
|
|
|
'valueOther' => [
|
|
|
'tag'=>['type'=>'warning', 'size' => 'small', 'class'=>'no-border']
|
|
|
@@ -587,6 +600,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
// 'DEC_LV_UPDATED_AT'=> ['name'=> '实时调整日期', 'other'=> 'date'],
|
|
|
// 'LAST_DEC_LV_NAME'=> ['name'=> '结算时会员级别', 'other'=> 'decLevel'],
|
|
|
'EMP_LV_NAME'=> ['name'=> '最高聘级', 'other'=> 'empLevel'],
|
|
|
+ 'LAST_EMP_LV_NAME'=> ['name'=> '最新聘级', 'other'=> 'empLevel'],
|
|
|
// 'HIGHEST_EMP_LV_NAME'=> ['name'=> '历史最高聘级', 'other'=> 'empLevel'],
|
|
|
// 'HIGHEST_EMP_LV_PERIOD'=> ['name'=> '首次达到历史最高聘级的期数'],
|
|
|
'REC_USER_NAME'=> ['name'=> '推荐编号'],
|