Procházet zdrojové kódy

1705 隐藏会员无用属性

kevin_zhangl před 3 roky
rodič
revize
1a13103000
1 změnil soubory, kde provedl 31 přidání a 31 odebrání
  1. 31 31
      backendApi/modules/v1/models/lists/user/IndexList.php

+ 31 - 31
backendApi/modules/v1/models/lists/user/IndexList.php

@@ -346,31 +346,31 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
                         return $openBankConfig[$row['OPEN_BANK']]['BANK_NAME'] ?? '';
                     },
                 ],
-                'BANK_AREA' => [
-                    'header' => 'Banking region',//银行地区
-                    'value' => function($row) use($regionConfig) {
-                        $province = $regionConfig[$row['BANK_PROVINCE']]['REGION_NAME'] ?? '';
-                        $city = $regionConfig[$row['BANK_CITY']]['REGION_NAME'] ?? '';
-                        $county = $regionConfig[$row['BANK_COUNTY']]['REGION_NAME'] ?? '';
-                        return $province.$city.$county;
-                    },
-                    'showValue' => function($row) use($regionConfig) {
-                        $province = $regionConfig[$row['BANK_PROVINCE']]['REGION_NAME'] ?? '';
-                        $city = $regionConfig[$row['BANK_CITY']]['REGION_NAME'] ?? '';
-                        $county = $regionConfig[$row['BANK_COUNTY']]['REGION_NAME'] ?? '';
-                        return '<div class="addr" title='.$province.$city.$county.'>'.$province.$city.$county.'</div>';
-                    },
-                    'headerOther' => [
-                        'width' => '200'
-                    ],
-                ],
-                'BANK_ADDRESS' => [
-                    'header' => 'Account opening address',//开户地址
-                    'headerOther' => ['width' => '250'],
-                    'showValue' => function($row) {
-                        return '<div class="addr" title='.$row['BANK_ADDRESS'].'>'.$row['BANK_ADDRESS'].'</div>';
-                    },
-                ],
+//                'BANK_AREA' => [
+//                    'header' => 'Banking region',//银行地区
+//                    'value' => function($row) use($regionConfig) {
+//                        $province = $regionConfig[$row['BANK_PROVINCE']]['REGION_NAME'] ?? '';
+//                        $city = $regionConfig[$row['BANK_CITY']]['REGION_NAME'] ?? '';
+//                        $county = $regionConfig[$row['BANK_COUNTY']]['REGION_NAME'] ?? '';
+//                        return $province.$city.$county;
+//                    },
+//                    'showValue' => function($row) use($regionConfig) {
+//                        $province = $regionConfig[$row['BANK_PROVINCE']]['REGION_NAME'] ?? '';
+//                        $city = $regionConfig[$row['BANK_CITY']]['REGION_NAME'] ?? '';
+//                        $county = $regionConfig[$row['BANK_COUNTY']]['REGION_NAME'] ?? '';
+//                        return '<div class="addr" title='.$province.$city.$county.'>'.$province.$city.$county.'</div>';
+//                    },
+//                    'headerOther' => [
+//                        'width' => '200'
+//                    ],
+//                ],
+//                'BANK_ADDRESS' => [
+//                    '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' => 'Bank account number',//银行帐号
                     'headerOther' => ['width' => '220'],
@@ -379,12 +379,12 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
                     },
                 ],
                 'SEX' => 'Gender',//性别
-                'NATION_NAME' => [
-                    'header' => 'nation',//民族
-                    'value' => function($row) {
-                        return \Yii::$app->params['nation'][$row['NATION']]['name'] ?? '';
-                    },
-                ],
+//                'NATION_NAME' => [
+//                    'header' => 'nation',//民族
+//                    'value' => function($row) {
+//                        return \Yii::$app->params['nation'][$row['NATION']]['name'] ?? '';
+//                    },
+//                ],
                 'AREA' => [
                     'header' => 'Common address',//常用地址
                     'value' => function($row) use($regionConfig) {