|
|
@@ -32,7 +32,7 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
* @return string
|
|
|
*/
|
|
|
public function getListName() {
|
|
|
- return '历史奖金余额';
|
|
|
+ return 'Historical bonus balance';//历史奖金余额
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -69,29 +69,29 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
$this->columns = [
|
|
|
'ID' => null, // 这种传输方式主要是用于索引,因为过滤后的字段可能没有这种ID,但是一些功能的操作还需要用这种ID去关联,例如前台会员列表中的勾选批量状态管理,这里需要的就是USER_ID
|
|
|
'USER_NAME' => [
|
|
|
- 'header' => '会员编号',
|
|
|
+ 'header' => 'Member code',//会员编号
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'REAL_NAME' => [
|
|
|
- 'header' => '会员姓名',
|
|
|
+ 'header' => 'Member name',//会员姓名
|
|
|
'headerOther' => [
|
|
|
'width' => '120',
|
|
|
],
|
|
|
],
|
|
|
'DEC_LV_NAME' => [
|
|
|
- 'header' => '会员级别',
|
|
|
+ 'header' => 'Member level',//会员级别
|
|
|
'headerOther' => [
|
|
|
'width' => '150',
|
|
|
],
|
|
|
],
|
|
|
'EMP_LV_NAME' => [
|
|
|
- 'header' => '聘级',
|
|
|
+ 'header' => 'Rank',//聘级
|
|
|
'headerOther' => [
|
|
|
'width' => '150',
|
|
|
],
|
|
|
],
|
|
|
'IS_DEC' => [
|
|
|
- 'header' => '是否报单中心',
|
|
|
+ 'header' => 'Whether distributor',//是否报单中心
|
|
|
'value' => function ($row) {
|
|
|
return (new YesNo([
|
|
|
'value' => $row['IS_DEC'],
|
|
|
@@ -169,7 +169,7 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
// },
|
|
|
// ],
|
|
|
'WITHDRAW' => [
|
|
|
- 'header' => '提现金额',
|
|
|
+ 'header' => 'Withdrawal amount',//提现金额
|
|
|
'value' => function ($row) {
|
|
|
return Tool::formatPrice($row['WITHDRAW']);
|
|
|
},
|
|
|
@@ -217,7 +217,7 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
// },
|
|
|
// ],
|
|
|
'WITHDRAW_REAL' => [
|
|
|
- 'header' => '实付金额',
|
|
|
+ 'header' => 'Real amount',//实付金额
|
|
|
'value' => function ($row) {
|
|
|
return Tool::formatPrice($row['WITHDRAW_REAL']);
|
|
|
},
|
|
|
@@ -233,7 +233,7 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
},
|
|
|
],
|
|
|
'WITHDRAW_FAIL' => [
|
|
|
- 'header' => '实付失败金额',
|
|
|
+ 'header' => 'Actual payment of failed amount',//实付失败金额
|
|
|
'value' => function ($row) {
|
|
|
return Tool::formatPrice($row['WITHDRAW_FAIL']);
|
|
|
},
|
|
|
@@ -249,11 +249,11 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
},
|
|
|
],
|
|
|
'USER_STATUS_NAME' => [
|
|
|
- 'header' => '会员状态',
|
|
|
+ 'header' => 'Member status',//会员状态
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'USER_STATUS_AT' => [
|
|
|
- 'header' => '会员状态变更时间',
|
|
|
+ 'header' => 'Member status change time',//会员状态变更时间
|
|
|
'value' => function ($row) {
|
|
|
return (new DateTime([
|
|
|
'value' => $row['USER_STATUS_AT'],
|
|
|
@@ -266,7 +266,7 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
// 'headerOther' => ['width' => '150'],
|
|
|
// ],
|
|
|
'PERIOD_AT' => [
|
|
|
- 'header' => '加入期数',
|
|
|
+ 'header' => 'Join periods',//加入期数
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
// 'DEC_DEC_ROLE_NAME' => [
|
|
|
@@ -274,29 +274,29 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
// 'headerOther' => ['width' => '150'],
|
|
|
// ],
|
|
|
'DEC_USER_NAME' => [
|
|
|
- 'header' => '所属报单中心编号',
|
|
|
+ 'header' => 'Code of distributor',//所属报单中心编号
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'DEC_REAL_NAME' => [
|
|
|
- 'header' => '所属报单中心姓名',
|
|
|
+ 'header' => 'Name of distributor',//所属报单中心姓名
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'MOBILE' => [
|
|
|
- 'header' => '手机号码',
|
|
|
+ 'header' => 'Phone number',//手机号码
|
|
|
'value' => function($row) {
|
|
|
return "\t".$row['MOBILE'];
|
|
|
},
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'TEL' => [
|
|
|
- 'header' => '备用手机号码',
|
|
|
+ 'header' => 'Alternate phone number',//备用手机号码
|
|
|
'value' => function($row) {
|
|
|
return "\t".$row['TEL'];
|
|
|
},
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'AREA' => [
|
|
|
- 'header' => '常用地址',
|
|
|
+ 'header' => 'Commonly used address',//常用地址
|
|
|
'value' => function ($row) {
|
|
|
return $row['PROVINCE_NAME'] . $row['CITY_NAME'] . $row['COUNTY_NAME'];
|
|
|
},
|
|
|
@@ -330,7 +330,7 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
// },
|
|
|
// ],
|
|
|
'BACKUP_AT' => [
|
|
|
- 'header' => '备份时间',
|
|
|
+ 'header' => 'Backup time',//备份时间
|
|
|
'value' => function ($row) {
|
|
|
return (new DateTime([
|
|
|
'value' => $row['BACKUP_AT'],
|
|
|
@@ -350,34 +350,34 @@ class HistoryBonusList extends \common\libs\dataList\DataList implements DataLis
|
|
|
public function getFilterTypes() {
|
|
|
if (!$this->filterTypes) {
|
|
|
$this->filterTypes = [
|
|
|
- 'USER_NAME' => ['isUserTable' => false, 'name' => '会员编号'],
|
|
|
- 'REAL_NAME' => ['isUserTable' => false, 'name' => '会员姓名'],
|
|
|
- 'DEC_LV_NAME' => ['isUserTable' => false, 'name' => '会员级别', 'other' => 'decLevel'],
|
|
|
- 'EMP_LV_NAME' => ['isUserTable' => false, 'name' => '聘级', 'other' => 'empLevel'],
|
|
|
- 'IS_DEC' => ['isUserTable' => false, 'name' => '是否报单中心', 'other' => 'yesOrNo'],
|
|
|
+ 'USER_NAME' => ['isUserTable' => false, 'name' => 'Member code'],//会员编号
|
|
|
+ 'REAL_NAME' => ['isUserTable' => false, 'name' => 'Member name'],//会员姓名
|
|
|
+ 'DEC_LV_NAME' => ['isUserTable' => false, 'name' => 'Member level', 'other' => 'decLevel'],//会员级别
|
|
|
+ 'EMP_LV_NAME' => ['isUserTable' => false, 'name' => 'Rank', 'other' => 'empLevel'],//聘级
|
|
|
+ 'IS_DEC' => ['isUserTable' => false, 'name' => 'Whether distributor', 'other' => 'yesOrNo'],//是否报单中心
|
|
|
// 'DEC_ROLE_NAME' => ['isUserTable' => false, 'name' => '报单中心级别', 'other' => 'decRole'],
|
|
|
// 'SYSTEM_NAME' => ['isUserTable' => false, 'name' => '体系名称'],
|
|
|
'BONUS' => ['isUserTable' => false, 'name' => 'Member Bonus'],// 会员账户余额
|
|
|
// 'CF' => ['isUserTable' => false, 'name' => '车房养老余额'],
|
|
|
// 'LX' => ['isUserTable' => false, 'name' => '领袖分红余额'],
|
|
|
- 'WITHDRAW' => ['isUserTable' => false, 'name' => '提现金额'],
|
|
|
+ 'WITHDRAW' => ['isUserTable' => false, 'name' => 'Withdrawal amount'],//提现金额
|
|
|
// 'WITHDRAW_TAX' => ['isUserTable' => false, 'name' => '个税'],
|
|
|
// 'WITHDRAW_DEDUCT' => ['isUserTable' => false, 'name' => '扣款'],
|
|
|
- 'WITHDRAW_REAL' => ['isUserTable' => false, 'name' => '实付金额'],
|
|
|
- 'WITHDRAW_FAIL' => ['isUserTable' => false, 'name' => '实付失败金额'],
|
|
|
- 'USER_STATUS_NAME' => ['isUserTable' => false, 'name' => '会员状态', 'other' => 'status'],
|
|
|
- 'USER_STATUS_AT' => ['isUserTable' => false, 'name' => '会员状态变更时间', 'other' => 'date'],
|
|
|
+ 'WITHDRAW_REAL' => ['isUserTable' => false, 'name' => 'Real amount'],//实付金额
|
|
|
+ 'WITHDRAW_FAIL' => ['isUserTable' => false, 'name' => 'Actual payment of failed amount'],//实付失败金额
|
|
|
+ 'USER_STATUS_NAME' => ['isUserTable' => false, 'name' => 'Member status', 'other' => 'status'],//会员状态
|
|
|
+ 'USER_STATUS_AT' => ['isUserTable' => false, 'name' => 'Member status change time', 'other' => 'date'],//会员状态变更时间
|
|
|
// 'HIGHEST_EMP_LV_NAME' => ['isUserTable' => false, 'name' => '历史最高聘级', 'other' => 'empLevel'],
|
|
|
- 'PERIOD_AT' => ['isUserTable' => false, 'name' => '加入期数'],
|
|
|
+ 'PERIOD_AT' => ['isUserTable' => false, 'name' => 'Join periods'],//加入期数
|
|
|
// 'DEC_DEC_ROLE_NAME' => ['isUserTable' => false, 'name' => '所属报单中心级别', 'other' => 'decRole'],
|
|
|
- 'DEC_USER_NAME' => ['isUserTable' => false, 'name' => '所属报单中心编号'],
|
|
|
- 'DEC_REAL_NAME' => ['isUserTable' => false, 'name' => '所属报单中心姓名'],
|
|
|
- 'MOBILE' => ['isUserTable' => false, 'name' => '手机号码'],
|
|
|
- 'TEL' => ['isUserTable' => false, 'name' => '备用手机号码'],
|
|
|
- 'AREA' => ['isUserTable' => false, 'name' => '常用地址', 'other' => 'area'],
|
|
|
+ 'DEC_USER_NAME' => ['isUserTable' => false, 'name' => 'Code of distributor'],//所属报单中心编号
|
|
|
+ 'DEC_REAL_NAME' => ['isUserTable' => false, 'name' => 'Name of distributor'],//所属报单中心姓名
|
|
|
+ 'MOBILE' => ['isUserTable' => false, 'name' => 'Phone number'],//手机号码
|
|
|
+ 'TEL' => ['isUserTable' => false, 'name' => 'Alternate phone number'],//备用手机号码
|
|
|
+ 'AREA' => ['isUserTable' => false, 'name' => 'Commonly used address', 'other' => 'area'],//常用地址
|
|
|
// 'SUB_COM_NAME' => ['isUserTable' => false, 'name' => '所属分公司', 'other' => 'subCompany'],
|
|
|
// 'IS_DIRECT_SELLER' => ['isUserTable' => false, 'name' => '是否直销员', 'other' => 'yesOrNo'],
|
|
|
- 'BACKUP_AT' => ['isUserTable' => false, 'name' => '备份时间', 'other' => 'date'],
|
|
|
+ 'BACKUP_AT' => ['isUserTable' => false, 'name' => 'Backup time', 'other' => 'date'],//备份时间
|
|
|
];
|
|
|
}
|
|
|
return $this->filterTypes;
|