| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775 |
- <?php
- namespace backendApi\modules\v1\models\lists\bonus;
- use backendApi\modules\v1\models\Admin;
- use common\helpers\Cache;
- use common\helpers\user\Info;
- use common\libs\dataList\column\Price;
- use common\libs\dataList\column\YesNo;
- use common\libs\dataList\DataListInterface;
- use common\models\CalcBonus;
- use common\models\PerfOrder;
- use common\models\Period;
- use common\models\Region;
- use common\models\User as modelUser;
- use common\models\UserBind;
- use common\models\UserBonus;
- use common\models\UserInfo;
- use common\libs\dataList\column\DateTime;
- use common\models\UserPerf;
- use common\models\UserSystem;
- use common\models\Withdraw;
- use Yii;
- class PeriodBonusList extends \common\libs\dataList\DataList implements DataListInterface
- {
- /**
- * 列表名称
- * @return string
- */
- public function getListName(){
- return '奖金列表';
- }
- /**
- * 列表筛选到的数据
- * @throws \yii\base\Exception
- */
- public function dataHandle()
- {
- $yearMonth = $this->others['yearMonth'];
- $this->listData = CalcBonus::lists($this->condition, $this->params, [
- // 'select'=>'CB.*, UP.SURPLUS_1L AS UP_SURPLUS_1L, UP.SURPLUS_2L AS UP_SURPLUS_2L, UP.SURPLUS_3L AS UP_SURPLUS_3L,UI.CON_UID,UI.REC_UID',
- 'select'=>'CB.*,UI.CON_UID,UI.REC_UID',
- 'from' => CalcBonus::tableName().' AS CB',
- 'join' => [
- // ['LEFT JOIN', UserPerf::tableName() . ' AS UP', 'CB.USER_ID=UP.USER_ID'],
- ['LEFT JOIN', UserInfo::tableName() . ' AS UI', 'CB.USER_ID=UI.USER_ID'],
- ],
- 'yearMonth' => $yearMonth,
- 'orderBy' => 'CB.CREATED_AT DESC, CB.ID DESC',
- 'page' => $this->page,
- 'pageSize' => $this->pageSize,
- ]);
- unset($yearMonth);
- if ($this->listData['list']) {
- foreach ($this->listData['list'] as $key => $value) {
- $this->listData['list'][$key]['LAST_DEC_LV_NAME'] = Cache::getDecLevelConfig()[$value['LAST_DEC_LV']]['LEVEL_NAME'];
- $this->listData['list'][$key]['LAST_EMP_LV_NAME'] = Cache::getEmpLevelConfig()[$value['LAST_EMP_LV']]['LEVEL_NAME'];
- $this->listData['list'][$key]['LAST_STATUS_NAME'] = \Yii::$app->params['userStatus'][$value['LAST_STATUS']]['label'];
- $this->listData['list'][$key]['LAST_REC_USER_NAME'] = Info::getUserNameByUserId($value['REC_UID']);
- $this->listData['list'][$key]['LAST_REC_REAL_NAME'] = Info::getUserRealNameByUserId($value['REC_UID']);
- $this->listData['list'][$key]['LAST_CON_USER_NAME'] = Info::getUserNameByUserId($value['CON_UID']);
- $this->listData['list'][$key]['LAST_CON_REAL_NAME'] = Info::getUserRealNameByUserId($value['CON_UID']);
- }
- }
- }
- /**
- * 要展示和导出的所有字段
- * @return array
- */
- public function getColumn(){
- if(!$this->columns){
- $this->columns = [
- 'ID' => null,
- 'PERIOD_NUM' => [
- 'header' => 'Number of settlement periods',//结算期数
- 'headerOther' => [
- 'width' => '150',
- ],
- 'valueOther' => [
- 'tag'=>['type'=>'', 'size' => 'small', 'class'=>'no-border'],
- ],
- ],
- 'CALCULATED_AT' => [
- 'header' => 'Settlement time',//结算时间
- 'value' => function($row) {
- return (new DateTime([
- 'value' => $row['CALCULATED_AT'],
- ]))->result();
- },
- 'headerOther' => ['width' => '170'],
- ],
- 'LAST_USER_NAME' => [
- 'header' => 'Member code',//会员编号
- 'headerOther' => [
- 'width' => '150',
- ],
- 'valueOther' => [
- 'tag'=>['type'=>'info', 'size' => 'small', 'class'=>'no-border']
- ],
- ],
- 'LAST_REAL_NAME' => [
- 'header' => 'Member name',//会员姓名
- 'headerOther' => [
- 'width' => '120',
- ],
- 'valueOther' => [
- 'tag'=>['type'=>'success', 'size' => 'small', 'class'=>'no-border']
- ],
- ],
- 'LAST_DEC_LV_NAME' => [
- 'header' => 'Member level at settlement',//结算时会员级别
- 'headerOther' => [
- 'width' => '120',
- ],
- ],
- 'LAST_EMP_LV_NAME' => [
- 'header' => 'Member rank at settlement',//结算时会员聘级
- 'headerOther' => [
- 'width' => '140',
- ],
- ],
- 'LAST_MOBILE' => [
- 'header' => 'phone number',//手机号码
- 'headerOther' => [
- 'width' => '120',
- ],
- ],
- 'LAST_PERIOD_AT' => [
- 'header' => 'Number of joining periods',//加入期数
- 'headerOther' => [
- 'width' => '100',
- ],
- ],
- 'LAST_CREATED_AT' => [
- 'header' => 'Join time',//加入时间
- 'value' => function($row) {
- return (new DateTime([
- 'value' => $row['LAST_CREATED_AT'],
- ]))->result();
- },
- 'headerOther' => ['width' => '170'],
- ],
- 'LAST_REC_USER_NAME' => [
- 'header' => 'Pioneer No',//开拓者编号
- 'headerOther' => [
- 'width' => '150',
- ],
- ],
- 'LAST_REC_REAL_NAME' => [
- 'header' => 'Pioneer name',//开拓者姓名
- 'headerOther' => [
- 'width' => '100',
- ],
- ],
- 'LAST_CON_USER_NAME' => [
- 'header' => 'Superior code',//上级编号
- 'headerOther' => [
- 'width' => '150',
- ],
- ],
- 'LAST_CON_REAL_NAME' => [
- 'header' => 'Superior name',//上级姓名
- 'headerOther' => [
- 'width' => '100',
- ],
- ],
- // 'PV_1L' => [
- // 'header' => '一市场新增业绩',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['PV_1L'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'PV_1L',
- // ],
- // ],
- // 'SURPLUS_1L' => [
- // 'header' => '一市场结余业绩',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['SURPLUS_1L'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'SURPLUS_1L',
- // ],
- // ],
- // 'UP_SURPLUS_1L' => [
- // 'header' => '当前一市场结余业绩',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['UP_SURPLUS_1L'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'UP_SURPLUS_1L',
- // ],
- // ],
- // 'PV_2L' => [
- // 'header' => '二市场新增业绩',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['PV_2L'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'PV_2L',
- // ],
- // ],
- // 'SURPLUS_2L' => [
- // 'header' => '二市场结余业绩',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['SURPLUS_2L'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'SURPLUS_2L',
- // ],
- // ],
- // 'UP_SURPLUS_2L' => [
- // 'header' => '当前二市场结余业绩',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['UP_SURPLUS_2L'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'UP_SURPLUS_2L',
- // ],
- // ],
- // 'PV_3L' => [
- // 'header' => '三市场新增业绩',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['PV_3L'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'PV_3L',
- // ],
- // ],
- // 'SURPLUS_3L' => [
- // 'header' => '三市场结余业绩',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['SURPLUS_3L'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'SURPLUS_3L',
- // ],
- // ],
- // 'UP_SURPLUS_3L' => [
- // 'header' => '当前三市场结余业绩',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['UP_SURPLUS_3L'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'UP_SURPLUS_3L',
- // ],
- // ],
- 'BONUS_TG' => [
- 'header' => 'Sales bonus',//销售奖金
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['BONUS_TG'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'BONUS_TG',
- ],
- ],
- 'ORI_BONUS_TG' => [
- 'header' => 'Original amount of sales bonus',//销售奖金原金额
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['ORI_BONUS_TG'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'ORI_BONUS_TG',
- ],
- ],
- 'BONUS_QY' => [
- 'header' => 'achievement bonus',//绩效奖金
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['BONUS_QY'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'BONUS_QY',
- ],
- ],
- 'ORI_BONUS_QY' => [
- 'header' => 'Original amount of performance bonus',//绩效奖金原金额
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['ORI_BONUS_QY'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'ORI_BONUS_QY',
- ],
- ],
- 'ORI_CAPPED_BONUS_QY' => [
- 'header' => 'Uncapped amount of Performance Award',//绩效奖未封顶金额
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['ORI_CAPPED_BONUS_QY'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'ORI_CAPPED_BONUS_QY',
- ],
- ],
- 'ORI_BONUS_QY_BD' => [
- 'header' => 'Original amount of declaration Team Award',//报单团队奖原金额
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['ORI_BONUS_QY_BD'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'ORI_BONUS_QY_BD',
- ],
- ],
- // 'BONUS_BS' => [
- // 'header' => '蓝星管理奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['BONUS_BS'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'BONUS_BS',
- // ],
- // ],
- // 'ORI_BONUS_BS' => [
- // 'header' => '蓝星管理奖原金额',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_BS'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_BS',
- // ],
- // ],
- // 'REAL_BONUS_BS' => [
- // 'header' => '实发蓝星管理奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['REAL_BONUS_BS'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'REAL_BONUS_BS',
- // ],
- // ],
- 'BONUS_BS_MNT' => [
- 'header' => 'Bluestar Management Award',//蓝星管理奖
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['BONUS_BS_MNT'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop' => 'BONUS_BS_MNT',
- ],
- ],
- 'ORI_BONUS_BS_MNT' => [
- 'header' => 'Original amount of Bluestar Management Award',//蓝星管理奖原金额
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['ORI_BONUS_BS_MNT'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop' => 'ORI_BONUS_BS_MNT',
- ],
- ],
- 'BONUS_BS_ABBR' => [
- 'header' => 'Blue star performance award',//蓝星业绩奖
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['BONUS_BS_ABBR'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop' => 'BONUS_BS_ABBR',
- ],
- ],
- 'ORI_BONUS_BS_ABBR' => [
- 'header' => 'Original amount of blue star performance award',//蓝星业绩奖原金额
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['ORI_BONUS_BS_ABBR'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop' => 'ORI_BONUS_BS_ABBR',
- ],
- ],
- // 'BONUS_GX' => [
- // 'header' => '共享奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['BONUS_GX'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'BONUS_GX',
- // ],
- // ],
- // 'ORI_BONUS_GX' => [
- // 'header' => '共享奖原金额',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_GX'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_GX',
- // ],
- // ],
- // 'REAL_BONUS_GX' => [
- // 'header' => '实发共享奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['REAL_BONUS_GX'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'REAL_BONUS_GX',
- // ],
- // ],
- // 'BONUS_BD' => [
- // 'header' => '服务奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['BONUS_BD'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'BONUS_BD',
- // ],
- // ],
- // 'ORI_BONUS_BD' => [
- // 'header' => '服务奖原金额',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_BD'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_BD',
- // ],
- // ],
- 'BONUS_REAL' => [
- 'header' => 'Actual bonus',//实发奖金
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['BONUS_REAL'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'BONUS_REAL',
- ],
- ],
- 'BONUS_TOTAL' => [
- 'header' => 'Total bonus',//总奖金
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['BONUS_TOTAL'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'BONUS_TOTAL',
- ],
- ],
- 'MANAGE_TAX' => [
- 'header' => 'Management Expense',//管理费
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['MANAGE_TAX'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'MANAGE_TAX',
- ],
- ],
- // 'RECONSUME_POINTS' => [
- // 'header' => '复销积分',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['RECONSUME_POINTS'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'RECONSUME_POINTS',
- // ],
- // ],
- 'BONUS_INCOME' => [
- 'header' => 'Total revenue',//总收入
- 'value' => function($row) {
- return (new Price([
- 'value' => $row['BONUS_INCOME'],
- ]))->result();
- },
- 'headerOther' => [
- 'width' => '120',
- 'prop'=>'BONUS_INCOME',
- ],
- ],
- // 'ORI_BONUS_STANDARD' => [
- // 'header' => '团队成长奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_STANDARD'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_STANDARD',
- // ],
- // ],
- 'CALC_MONTH' => [
- 'header' => 'Settlement month',//结算月
- 'headerOther' => [
- 'width' => '100',
- ],
- ],
- // 'BONUS_XF' => [
- // 'header' => '消费奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['BONUS_XF'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'BONUS_XF',
- // ],
- // ],
- // 'ORI_BONUS_XF' => [
- // 'header' => '消费奖原金额',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_XF'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_XF',
- // ],
- // ],
- // 'BONUS_YJ' => [
- // 'header' => '业绩奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['BONUS_YJ'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'BONUS_YJ',
- // ],
- // ],
- // 'ORI_BONUS_YJ' => [
- // 'header' => '业绩奖原金额',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_YJ'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_YJ',
- // ],
- // ],
- // 'BONUS_YC' => [
- // 'header' => '荣衔奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['BONUS_YC'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'BONUS_YC',
- // ],
- // ],
- // 'ORI_BONUS_YC' => [
- // 'header' => '荣衔奖原金额',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_YC'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_YC',
- // ],
- // ],
- // 'BONUS_VIP' => [
- // 'header' => 'VIP奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['BONUS_VIP'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'BONUS_VIP',
- // ],
- // ],
- // 'ORI_BONUS_VIP' => [
- // 'header' => 'VIP奖原金额',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_VIP'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_VIP',
- // ],
- // ],
- // 'BONUS_GL' => [
- // 'header' => '管理奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['BONUS_GL'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'BONUS_GL',
- // ],
- // ],
- // 'ORI_BONUS_GL' => [
- // 'header' => '管理奖原金额',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_GL'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_GL',
- // ],
- // ],
- // 'REAL_BONUS_GL' => [
- // 'header' => '实发管理奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['REAL_BONUS_GL'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'REAL_BONUS_GL',
- // ],
- // ],
- // 'BONUS_FW' => [
- // 'header' => '服务奖',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['BONUS_FW'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'BONUS_FW',
- // ],
- // ],
- // 'ORI_BONUS_FW' => [
- // 'header' => '服务奖原金额',
- // 'value' => function($row) {
- // return (new Price([
- // 'value' => $row['ORI_BONUS_FW'],
- // ]))->result();
- // },
- // 'headerOther' => [
- // 'width' => '120',
- // 'prop'=>'ORI_BONUS_FW',
- // ],
- // ],
-
-
- ];
- }
- return $this->columns;
- }
- /**
- * 前台用于筛选的类型集合
- * @return mixed
- */
- public function getFilterTypes()
- {
- if(!$this->filterTypes){
- $this->filterTypes = [
- 'LAST_USER_NAME'=> ['isUserTable'=> false, 'name'=> 'Member code'],//会员编号
- 'LAST_REAL_NAME'=> ['isUserTable'=> false, 'name'=> 'Member name'],//会员姓名
- 'LAST_DEC_LV_NAME'=> ['isUserTable'=> false, 'name'=> 'Member level at settlement', 'other'=> 'decLevel'],//结算时会员级别
- 'LAST_EMP_LV_NAME'=> ['isUserTable'=> false, 'name'=> 'Member rank at settlement', 'other'=> 'empLevel'],//结算时会员聘级
- 'LAST_MOBILE'=> ['isUserTable'=> false, 'name'=> 'phone number'],//手机号
- 'LAST_PERIOD_AT'=> ['isUserTable'=> false, 'name'=> 'Number of joining periods'],//加入期数
- 'LAST_CREATED_AT'=> ['isUserTable'=> false, 'name'=> 'Join time', 'other'=> 'date'],//加入时间
- 'CALCULATED_AT'=> ['isUserTable'=> false, 'name'=> 'Settlement time', 'other'=> 'date'],//备份时间
- 'LAST_REC_USER_NAME'=> ['isUserTable'=> false, 'name'=> 'Pioneer No'],//开拓者编号
- 'LAST_REC_REAL_NAME'=> ['isUserTable'=> false, 'name'=> 'Pioneer name'],//开拓者姓名
- 'LAST_CON_USER_NAME'=> ['isUserTable'=> false, 'name'=> 'Superior number'],//上级编号
- 'LAST_CON_REAL_NAME'=> ['isUserTable'=> false, 'name'=> 'Name of superior'],//上级姓名
- 'PV_1L'=> ['isUserTable'=> false, 'name'=> 'I. new market performance'],//一市场新增业绩
- 'SURPLUS_1L'=> ['isUserTable'=> false, 'name'=> 'I. market balance performance'],//一市场结余业绩
- 'PV_2L'=> ['isUserTable'=> false, 'name'=> 'II. new market performance'],//二市场新增业绩
- 'SURPLUS_2L'=> ['isUserTable'=> false, 'name'=> 'II. market balance performance'],//二市场结余业绩
- 'PV_3L'=> ['isUserTable'=> false, 'name'=> 'III. new market performance'],//三市场新增业绩
- 'SURPLUS_3L'=> ['isUserTable'=> false, 'name'=> 'III. market balance performance'],//三市场结余业绩
- 'BONUS_BD'=> ['isUserTable'=> false, 'name'=> 'Service Award'],//服务奖
- 'BONUS_TG'=> ['isUserTable'=> false, 'name'=> 'Promotion Award'],//推广奖
- 'BONUS_XF'=> ['isUserTable'=> false, 'name'=> 'Consumption Award'],//消费奖
- 'BONUS_YJ'=> ['isUserTable'=> false, 'name'=> 'Performance Award'],//业绩奖
- 'BONUS_GX'=> ['isUserTable'=> false, 'name'=> 'Sharing Award'],//共享奖
- 'BONUS_GL'=> ['isUserTable'=> false, 'name'=> 'Management Award'],//管理奖
- 'BONUS_QY'=> ['isUserTable'=> false, 'name'=> 'Team award'],//团队奖
- 'BONUS_YC'=> ['isUserTable'=> false, 'name'=> 'Honor Award'],//荣衔奖
- 'ORI_BONUS_STANDARD'=> ['isUserTable'=> false, 'name'=> 'Team growth Award'],//团队成长奖
- 'CALC_MONTH'=> ['isUserTable'=> false, 'name'=> 'Settlement month'],//结算月
- ];
- }
- return $this->filterTypes;
- }
- }
|