瀏覽代碼

会员列表调整宽度

kevin_zhangl 3 年之前
父節點
當前提交
c5a8f6fef1
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      backendApi/modules/v1/models/lists/user/IndexList.php

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

@@ -127,11 +127,14 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
                     },
                     'headerOther' => ['width' => '170'],
                 ],
-                'PERIOD_AT' => 'Joining Period',//加入期数
+                'PERIOD_AT' => [
+                    'header' => 'Joining Period',//加入期数
+                    'headerOther' => ['width' => '180'],
+                ],
                 'DEC_LV_NAME' => [
                     'header' => 'Real time membership level',//实时会员级别
                     'headerOther' => [
-                        'width' => '180',
+                        'width' => '110',
                     ],
                     'value' => function($row) use($decLevelConfig) {
                         return $decLevelConfig[$row['DEC_LV']]['LEVEL_NAME'];
@@ -147,7 +150,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
                             'value' => $row['DEC_LV_UPDATED_AT'],
                         ]))->result();
                     },
-                    'headerOther' => ['width' => '180'],
+                    'headerOther' => ['width' => '170'],
                 ],
                 'LAST_DEC_LV_NAME' => [
                     'header' => 'Member level at settlement',//结算时会员级别