|
|
@@ -90,11 +90,11 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
'USER_ID' => null, // 这种传输方式主要是用于索引,因为过滤后的字段可能没有这种ID,但是一些功能的操作还需要用这种ID去关联,例如前台会员列表中的勾选批量状态管理,这里需要的就是USER_ID
|
|
|
'BTF_URL' => null,
|
|
|
'USER_NAME' => [
|
|
|
- 'header' => '会员编号',
|
|
|
+ 'header' => 'Member code',//会员编号
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'REAL_NAME' => [
|
|
|
- 'header' => '会员姓名',
|
|
|
+ 'header' => 'Member name',//会员姓名
|
|
|
'headerOther' => [
|
|
|
'width' => '120',
|
|
|
],
|
|
|
@@ -103,22 +103,22 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
],
|
|
|
],
|
|
|
'LOGIN_STATUS_NAME' => [
|
|
|
- 'header' => '登录状态',
|
|
|
+ 'header' => 'Login status',//登录状态
|
|
|
'value' => function($row) {
|
|
|
- return $row['ALLOW_LOGIN'] == 1 ? '允许登录' : '禁止登录';
|
|
|
+ return $row['ALLOW_LOGIN'] == 1 ? 'allow Login': 'prohibit Login';//'允许登录' : '禁止登录'
|
|
|
},
|
|
|
'headerOther' => ['width' => '110'],
|
|
|
],
|
|
|
'STATUS' => [
|
|
|
- 'header' => '状态',
|
|
|
+ 'header' => 'status',//状态
|
|
|
'value' => function($row) {
|
|
|
- return $row['STATUS'] == 1 ? '激活' : '锁定';
|
|
|
+ return $row['STATUS'] == 1 ? 'activate': 'lock';//'激活' : '锁定'
|
|
|
},
|
|
|
'headerOther' => ['width' => '110'],
|
|
|
],
|
|
|
- 'ALLOW_LOGIN' => ['header' => '筛选允许登录','hidden'=>true],
|
|
|
+ 'ALLOW_LOGIN' => ['header' => 'Filter allow login','hidden'=>true],//筛选允许登录
|
|
|
'CREATED_AT' => [
|
|
|
- 'header' => '加入日期',
|
|
|
+ 'header' => 'Date of accession',//加入日期
|
|
|
'value' => function($row) {
|
|
|
return (new DateTime([
|
|
|
'value' => $row['CREATED_AT'],
|
|
|
@@ -126,9 +126,9 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
},
|
|
|
'headerOther' => ['width' => '170'],
|
|
|
],
|
|
|
- 'PERIOD_AT' => '加入期数',
|
|
|
+ 'PERIOD_AT' => 'Number of joining periods',//加入期数
|
|
|
'DEC_LV_NAME' => [
|
|
|
- 'header' => '实时会员级别',
|
|
|
+ 'header' => 'Real time membership level',//实时会员级别
|
|
|
'headerOther' => [
|
|
|
'width' => '110',
|
|
|
],
|
|
|
@@ -140,7 +140,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
],
|
|
|
],
|
|
|
'DEC_LV_UPDATED_AT' => [
|
|
|
- 'header' => '实时调整日期',
|
|
|
+ 'header' => 'Real time adjustment date',//实时调整日期
|
|
|
'value' => function($row) {
|
|
|
return (new DateTime([
|
|
|
'value' => $row['DEC_LV_UPDATED_AT'],
|
|
|
@@ -149,7 +149,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
'headerOther' => ['width' => '170'],
|
|
|
],
|
|
|
'LAST_DEC_LV_NAME' => [
|
|
|
- 'header' => '结算时会员级别',
|
|
|
+ 'header' => 'Member level at settlement',//结算时会员级别
|
|
|
'headerOther' => [
|
|
|
'width' => '120',
|
|
|
],
|
|
|
@@ -165,7 +165,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
],
|
|
|
],
|
|
|
'EMP_LV_NAME' => [
|
|
|
- 'header' => '实时聘级',
|
|
|
+ 'header' => 'Real time employment',//实时聘级
|
|
|
'headerOther' => [
|
|
|
'width' => '130',
|
|
|
],
|
|
|
@@ -192,33 +192,33 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
// 'headerOther' => ['width' => '210'],
|
|
|
// ],
|
|
|
'REC_USER_NAME' => [
|
|
|
- 'header' => '推荐编号',
|
|
|
+ 'header' => 'Recommendation No',//推荐编号
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'REC_REAL_NAME' => [
|
|
|
- 'header' => '推荐姓名',
|
|
|
+ 'header' => 'Recommended name',//推荐姓名
|
|
|
'headerOther' => ['width' => '100'],
|
|
|
],
|
|
|
'CON_USER_NAME' => [
|
|
|
- 'header' => '安置编号',
|
|
|
+ 'header' => 'Placement No',//安置编号
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'CON_REAL_NAME' => [
|
|
|
- 'header' => '安置姓名',
|
|
|
+ 'header' => 'Placement name',//安置姓名
|
|
|
'headerOther' => ['width' => '100'],
|
|
|
],
|
|
|
'RELATIVE_LOCATION' => [
|
|
|
- 'header' => '安置区域',
|
|
|
+ 'header' => 'Resettlement area',//安置区域
|
|
|
'headerOther' => ['width' => '100'],
|
|
|
],
|
|
|
'ID_TYPE' => [
|
|
|
- 'header' => '证件类型',
|
|
|
+ 'header' => 'Document type',//证件类型
|
|
|
'value' => function($row) {
|
|
|
- return $row['ID_TYPE'] == 0 ? '身份证' : '';
|
|
|
+ return $row['ID_TYPE'] == 0 ? 'ID' : '';//'身份证' : ''
|
|
|
},
|
|
|
],
|
|
|
'ID_CARD' => [
|
|
|
- 'header' => '证件号码',
|
|
|
+ 'header' => 'Identification Number',//证件号码
|
|
|
'value' => function($row) {
|
|
|
return "\t".$row['ID_CARD'];
|
|
|
},
|
|
|
@@ -243,25 +243,25 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
// },
|
|
|
// ],
|
|
|
'MOBILE' => [
|
|
|
- 'header' => '手机号码',
|
|
|
+ 'header' => 'phone number',//手机号码
|
|
|
'value' => function($row) {
|
|
|
return "\t".$row['MOBILE'];
|
|
|
},
|
|
|
'headerOther' => ['width' => '120'],
|
|
|
],
|
|
|
'TEL' => [
|
|
|
- 'header' => '备用手机号码',
|
|
|
+ 'header' => 'Alternate mobile number',//备用手机号码
|
|
|
'value' => function($row) {
|
|
|
return "\t".$row['TEL'];
|
|
|
},
|
|
|
'headerOther' => ['width' => '120'],
|
|
|
],
|
|
|
'DEC_USER_NAME' => [
|
|
|
- 'header' => '所属报单中心编号',
|
|
|
+ 'header' => 'No. of reporting center',//所属报单中心编号
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
],
|
|
|
'IS_DEC' => [
|
|
|
- 'header' => '是否报单中心',
|
|
|
+ 'header' => 'Declaration center or not',//是否报单中心
|
|
|
'value' => function($row) {
|
|
|
return (new YesNo([
|
|
|
'value' => $row['IS_DEC'],
|
|
|
@@ -279,7 +279,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
},
|
|
|
],
|
|
|
'IS_STUDIO' => [
|
|
|
- 'header' => '是否工作室',
|
|
|
+ 'header' => 'Studio or not',//是否工作室
|
|
|
'value' => function($row) {
|
|
|
return (new YesNo([
|
|
|
'value' => $row['IS_STUDIO'],
|
|
|
@@ -297,7 +297,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
},
|
|
|
],
|
|
|
'IS_ATLAS' => [
|
|
|
- 'header' => '是否显示图谱',
|
|
|
+ 'header' => 'Whether the atlas is displayed',//是否显示图谱
|
|
|
'value' => function($row) {
|
|
|
return (new YesNo([
|
|
|
'value' => $row['IS_ATLAS'],
|
|
|
@@ -315,7 +315,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
},
|
|
|
],
|
|
|
'IS_RECHARGE' => [
|
|
|
- 'header' => '是否显示充值',
|
|
|
+ 'header' => 'Whether to display recharge',//是否显示充值
|
|
|
'value' => function($row) {
|
|
|
return (new YesNo([
|
|
|
'value' => $row['IS_RECHARGE'],
|
|
|
@@ -333,21 +333,21 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
},
|
|
|
],
|
|
|
'DEC_ROLE_NAME' => [
|
|
|
- 'header' => '报单中心级别',
|
|
|
+ 'header' => 'Entry center level',//报单中心级别
|
|
|
'headerOther' => ['width' => '110'],
|
|
|
'value' => function($row) use($decRoleConfig) {
|
|
|
return $decRoleConfig[$row['DEC_ROLE_ID']]['ROLE_NAME'] ?? '';
|
|
|
},
|
|
|
],
|
|
|
'OPEN_BANK_NAME' => [
|
|
|
- 'header' => '开户银行',
|
|
|
+ 'header' => 'Deposit bank',//开户银行
|
|
|
'headerOther' => ['width' => '110'],
|
|
|
'value' => function($row) use($openBankConfig) {
|
|
|
return $openBankConfig[$row['OPEN_BANK']]['BANK_NAME'] ?? '';
|
|
|
},
|
|
|
],
|
|
|
'BANK_AREA' => [
|
|
|
- 'header' => '银行地区',
|
|
|
+ 'header' => 'Banking region',//银行地区
|
|
|
'value' => function($row) use($regionConfig) {
|
|
|
$province = $regionConfig[$row['BANK_PROVINCE']]['REGION_NAME'] ?? '';
|
|
|
$city = $regionConfig[$row['BANK_CITY']]['REGION_NAME'] ?? '';
|
|
|
@@ -365,28 +365,28 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
],
|
|
|
],
|
|
|
'BANK_ADDRESS' => [
|
|
|
- 'header' => '开户地址',
|
|
|
+ 'header' => 'Account opening address',//开户地址
|
|
|
'headerOther' => ['width' => '250'],
|
|
|
'showValue' => function($row) {
|
|
|
return '<div class="addr" title='.$row['BANK_ADDRESS'].'>'.$row['BANK_ADDRESS'].'</div>';
|
|
|
},
|
|
|
],
|
|
|
'BANK_NO' => [
|
|
|
- 'header' => '银行帐号',
|
|
|
+ 'header' => 'Bank account number',//银行帐号
|
|
|
'headerOther' => ['width' => '220'],
|
|
|
'value' => function($row) {
|
|
|
return "\t".$row['BANK_NO'];
|
|
|
},
|
|
|
],
|
|
|
- 'SEX' => '性别',
|
|
|
+ 'SEX' => 'Gender',//性别
|
|
|
'NATION_NAME' => [
|
|
|
- 'header' => '民族',
|
|
|
+ 'header' => 'nation',//民族
|
|
|
'value' => function($row) {
|
|
|
return \Yii::$app->params['nation'][$row['NATION']]['name'] ?? '';
|
|
|
},
|
|
|
],
|
|
|
'AREA' => [
|
|
|
- 'header' => '常用地址',
|
|
|
+ 'header' => 'Common address',//常用地址
|
|
|
'value' => function($row) use($regionConfig) {
|
|
|
$province = $regionConfig[$row['PROVINCE']]['REGION_NAME'] ?? '';
|
|
|
$city = $regionConfig[$row['CITY']]['REGION_NAME'] ?? '';
|
|
|
@@ -404,7 +404,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
],
|
|
|
],
|
|
|
'ADDRESS' => [
|
|
|
- 'header' => '身份证地址',
|
|
|
+ 'header' => 'ID card address',//身份证地址
|
|
|
'value' => function($row) {
|
|
|
return $row['ADDRESS'];
|
|
|
},
|
|
|
@@ -420,7 +420,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
// },
|
|
|
// ],
|
|
|
'VERIFIED' => [
|
|
|
- 'header' => '实名认证',
|
|
|
+ 'header' => 'Real name authentication',//实名认证
|
|
|
'value' => function($row) {
|
|
|
return (new YesNo([
|
|
|
'value' => $row['VERIFIED'],
|
|
|
@@ -438,7 +438,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
},
|
|
|
],
|
|
|
'VERIFIED_AT' => [
|
|
|
- 'header' => '实名认证日期',
|
|
|
+ 'header' => 'Real name certification date',//实名认证日期
|
|
|
'value' => function($row) {
|
|
|
return (new DateTime([
|
|
|
'value' => $row['VERIFIED_AT'],
|
|
|
@@ -501,16 +501,16 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
// },
|
|
|
// ],
|
|
|
'BIRTHDAY' => [
|
|
|
- 'header' => '生日',
|
|
|
+ 'header' => 'birthday',//生日
|
|
|
'value' => function($row) {
|
|
|
return date('Y-m-d', strtotime($row['BIRTHDAY']));
|
|
|
},
|
|
|
'headerOther' => ['width' => '110'],
|
|
|
],
|
|
|
'ALLOW_TRANSFER' => [
|
|
|
- 'header' => '转账功能开启',
|
|
|
+ 'header' => 'Transfer function enabled',//转账功能开启
|
|
|
'value' => function($row) {
|
|
|
- return $row['ALLOW_TRANSFER'] == 1 ? '开启' : '关闭';
|
|
|
+ return $row['ALLOW_TRANSFER'] == 1 ? 'on': 'off';//'开启' : '关闭'
|
|
|
},
|
|
|
'headerOther' => function($row) {
|
|
|
return [
|
|
|
@@ -524,7 +524,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
},
|
|
|
],
|
|
|
'DEC_CLOSED' => [
|
|
|
- 'header' => '是否关闭报单',
|
|
|
+ 'header' => 'Close entry',//是否关闭报单
|
|
|
'value' => function($row) {
|
|
|
return (new YesNo([
|
|
|
'value' => $row['DEC_CLOSED'],
|
|
|
@@ -542,9 +542,9 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
},
|
|
|
],
|
|
|
'IS_MODIFY_PASSWORD' => [
|
|
|
- 'header' => '密码修改状态',
|
|
|
+ 'header' => 'Password modification status',//密码修改状态
|
|
|
'value' => function($row) {
|
|
|
- return $row['IS_MODIFY_PASSWORD'] == 1 ? '开启' : '关闭';
|
|
|
+ return $row['IS_MODIFY_PASSWORD'] == 1 ? 'on': 'off';//'开启' : '关闭'
|
|
|
},
|
|
|
'headerOther' => function($row) {
|
|
|
return [
|
|
|
@@ -570,39 +570,40 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
{
|
|
|
if(!$this->filterTypes){
|
|
|
$this->filterTypes = [
|
|
|
- 'USER_NAME'=> ['name'=> '会员编号'],
|
|
|
- 'REAL_NAME'=> ['name'=> '会员姓名'],
|
|
|
+ 'USER_NAME'=> ['name'=> 'Member code'],//会员编号
|
|
|
+ 'REAL_NAME'=> ['name'=> 'Member name'],//会员姓名
|
|
|
// 'ALLOW_LOGIN'=> ['name'=> '允许登录', 'other'=> 'yesOrNo'],
|
|
|
- 'CREATED_AT'=> ['name'=> '加入日期', 'other'=> 'date'],
|
|
|
- 'PERIOD_AT'=> ['name'=> '加入期数'],
|
|
|
- 'DEC_LV_NAME'=> ['name'=> '实时会员级别', 'other'=> 'decLevel'],
|
|
|
+ 'CREATED_AT'=> ['name'=> 'Date of accession', 'other'=> 'date'],//加入日期
|
|
|
+ 'PERIOD_AT'=> ['name'=> 'Number of joining periods'],//加入期数
|
|
|
+ 'DEC_LV_NAME'=> ['name'=> 'Real time membership level', 'other'=> 'decLevel'],//实时会员级别
|
|
|
// 'DEC_LV_UPDATED_AT'=> ['name'=> '实时调整日期', 'other'=> 'date'],
|
|
|
// 'LAST_DEC_LV_NAME'=> ['name'=> '结算时会员级别', 'other'=> 'decLevel'],
|
|
|
- 'EMP_LV_NAME'=> ['name'=> '实时聘级', 'other'=> 'empLevel'],
|
|
|
+ 'EMP_LV_NAME'=> ['name'=> 'Real time employment', 'other'=> 'empLevel'],//实时聘级
|
|
|
// 'HIGHEST_EMP_LV_NAME'=> ['name'=> '历史最高聘级', 'other'=> 'empLevel'],
|
|
|
// 'HIGHEST_EMP_LV_PERIOD'=> ['name'=> '首次达到历史最高聘级的期数'],
|
|
|
- 'REC_USER_NAME'=> ['name'=> '推荐编号'],
|
|
|
- 'CON_USER_NAME'=> ['name'=> '安置编号'],
|
|
|
+ 'REC_USER_NAME'=> ['name'=> 'Recommendation No'],//推荐编号
|
|
|
+ 'CON_USER_NAME'=> ['name'=> 'Placement No'],//安置编号
|
|
|
//'ID_TYPE'=> ['name'=> '证件类型', 'other'=> 'select', 'selectData'=> [['id'=> 0, 'name'=> '身份证']]],
|
|
|
- 'ID_CARD'=> ['name'=> '证件号码'],
|
|
|
+ 'ID_CARD'=> ['name'=> 'Identification Number'],//证件号码
|
|
|
// 'SPOUSE_NAME'=> ['name'=> '配偶姓名'],
|
|
|
// 'SPOUSE_IDCARD'=> ['name'=> '配偶身份证号'],
|
|
|
// 'SYSTEM_NAME'=> ['name'=> '体系名称', 'other'=> 'systems'],
|
|
|
// 'SUB_COM_NAME'=> ['name'=> '所属分公司', 'other'=> 'subCompany'],
|
|
|
- 'MOBILE'=> ['name'=> '手机号码'],
|
|
|
+ 'MOBILE'=> ['name'=> 'phone number'],//手机号码
|
|
|
// 'TEL'=> ['name'=> '备用手机号码'],
|
|
|
- 'DEC_USER_NAME'=> ['name'=> '所属报单中心编号'],
|
|
|
- 'IS_DEC'=> ['name'=> '是否报单中心', 'other'=> 'yesOrNo'],
|
|
|
- 'IS_STUDIO'=> ['name'=> '是否工作室', 'other'=> 'yesOrNo'],
|
|
|
- 'DEC_ROLE_NAME'=> ['name'=> '报单中心级别', 'other'=> 'decRole'],
|
|
|
+ 'DEC_USER_NAME'=> ['name'=> 'No. of reporting center'],//所属报单中心编号
|
|
|
+ 'IS_DEC'=> ['name'=> 'Declaration center or not', 'other'=> 'yesOrNo'],//是否报单中心
|
|
|
+ 'IS_STUDIO'=> ['name'=> 'Studio or not', 'other'=> 'yesOrNo'],//是否工作室
|
|
|
+ 'DEC_ROLE_NAME'=> ['name'=> 'Entry center level', 'other'=> 'decRole'],//报单中心级别
|
|
|
// 'OPEN_BANK_NAME'=> ['name'=> '开户银行', 'other'=> 'banks'],
|
|
|
// 'BANK_AREA'=> ['name'=> '银行地区', 'other'=> 'area'],
|
|
|
// 'BANK_ADDRESS'=> ['name'=> '开户地址'],
|
|
|
// 'BANK_NO'=> ['name'=> '银行账号'],
|
|
|
// 'SEX'=> ['name'=> '性别', 'other'=> 'sex'],
|
|
|
// 'NATION_NAME'=> ['name'=> '民族', 'other'=> 'nations'],
|
|
|
- 'AREA'=> ['name'=> '常用地址', 'other'=> 'area'],
|
|
|
- 'STATUS'=> ['name'=> '激活状态', 'other'=> 'select', 'selectData'=> [['id'=> 0, 'name'=> '锁定'],['id'=> 1, 'name'=> '激活']]],
|
|
|
+ 'AREA'=> ['name'=> 'Common address', 'other'=> 'area'],//常用地址
|
|
|
+ 'STATUS'=> ['name'=> 'Active status', 'other'=> 'select', 'selectData'=> [['id'=> 0, 'name'=> 'locking'],['id'=> 1, 'name'=> 'activation']]],
|
|
|
+// 'STATUS'=> ['name'=> '激活状态', 'other'=> 'select', 'selectData'=> [['id'=> 0, 'name'=> '锁定'],['id'=> 1, 'name'=> '激活']]],
|
|
|
// 'ADDRESS'=> ['name'=> '身份证地址'],
|
|
|
// 'IS_AUTO_WITHDRAW'=> [
|
|
|
// 'isUserTable'=> false,
|