Explorar el Código

feat: UN-71:奖金列表调整

kevin hace 1 año
padre
commit
fb719b913a
Se han modificado 1 ficheros con 50 adiciones y 5 borrados
  1. 50 5
      backendApi/modules/v1/models/lists/bonus/PeriodBonusList.php

+ 50 - 5
backendApi/modules/v1/models/lists/bonus/PeriodBonusList.php

@@ -4,12 +4,10 @@ namespace backendApi\modules\v1\models\lists\bonus;
 use common\helpers\Cache;
 use common\helpers\Tool;
 use common\helpers\user\Info;
-use common\libs\dataList\column\Price;
 use common\libs\dataList\DataListInterface;
 use common\models\CalcBonus;
 use common\models\Period;
 use common\models\UserInfo;
-use common\libs\dataList\column\DateTime;
 use Yii;
 
 class PeriodBonusList extends \common\libs\dataList\DataList implements DataListInterface
@@ -120,13 +118,60 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
                         'width' => '150',
                     ],
                 ],
-                'LAST_REC_REAL_NAME' => [
-                    'header' => Yii::t('ctx', 'sponsorName'), // 开拓者姓名
+                'BONUS_TOTAL' => [
+                    'header' => Yii::t('ctx', 'sponsorName'), // 总奖金
                     'headerOther' => [
                         'width' => '120',
                     ],
                 ],
-
+//                'BONUS_E' => [
+//                    'header' => Yii::t('ctx', 'sponsorName'), // Elite奖金
+//                    'headerOther' => [
+//                        'width' => '120',
+//                    ],
+//                ],
+//                'BONUS_PE' => [
+//                    'header' => Yii::t('ctx', 'sponsorName'), // Pro_Elite奖金
+//                    'headerOther' => [
+//                        'width' => '120',
+//                    ],
+//                ],
+//                'BONUS_SE' => [
+//                    'header' => Yii::t('ctx', 'sponsorName'), // Super_Elite奖金
+//                    'headerOther' => [
+//                        'width' => '120',
+//                    ],
+//                ],
+//                'BONUS_LB' => [
+//                    'header' => Yii::t('ctx', 'sponsorName'), // LeaderShip奖金
+//                    'headerOther' => [
+//                        'width' => '120',
+//                    ],
+//                ],
+//                'BONUS_ST' => [
+//                    'header' => Yii::t('ctx', 'sponsorName'), // 店铺奖
+//                    'headerOther' => [
+//                        'width' => '120',
+//                    ],
+//                ],
+//                'BONUS_PB' => [
+//                    'header' => Yii::t('ctx', 'sponsorName'), // Performance Bonus
+//                    'headerOther' => [
+//                        'width' => '120',
+//                    ],
+//                ],
+//                'BONUS_WB' => [
+//                    'header' => Yii::t('ctx', 'sponsorName'), // 迎新奖
+//                    'headerOther' => [
+//                        'width' => '120',
+//                    ],
+//                ],
+//                'BONUS_CAR' => [
+//                    'header' => Yii::t('ctx', 'sponsorName'), // 车奖
+//                    'headerOther' => [
+//                        'width' => '120',
+//                    ],
+//                ],
             ];
         }
         return $this->columns;