IndexList.php 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. <?php
  2. namespace backendApi\modules\v1\models\lists\user;
  3. use common\helpers\Cache;
  4. use common\helpers\http\BackendToFrontendApi;
  5. use common\helpers\user\Info;
  6. use common\libs\dataList\DataListInterface;
  7. use common\models\DecRole;
  8. use common\models\EmployLevel;
  9. use common\models\OpenBank;
  10. use common\models\Region;
  11. use common\models\StarCrownLevel;
  12. use common\models\User;
  13. use common\models\UserInfo;
  14. use common\libs\dataList\column\DateTime;
  15. use common\libs\dataList\column\YesNo;
  16. use common\models\UserNetwork;
  17. use common\models\UserSystem;
  18. use Yii;
  19. class IndexList extends \common\libs\dataList\DataList implements DataListInterface
  20. {
  21. /**
  22. * 列表名称
  23. * @return string
  24. */
  25. public function getListName(){
  26. return '会员列表';
  27. }
  28. /**
  29. * 列表筛选到的数据
  30. */
  31. public function dataHandle()
  32. {
  33. $this->condition .= ' AND UN.USER_ID=UI.USER_ID AND UN.PARENT_UID=UI.CON_UID';
  34. $this->listData = User::lists($this->condition, $this->params, [
  35. 'select' => 'U.*,
  36. UI.USER_ID, UI.ZC_PV, UI.CON_UID, UI.REC_UID, UI.CON_NUM, UI.REC_NUM, UI.NETWORK_DEEP,
  37. UI.RELATION_DEEP, UI.SYSTEM_ID, UI.IS_GROUP_LEADER, UI.IS_SYSTEM_LEADER, UI.IS_TEAM, UI.IS_BIND,
  38. UI.IS_TEAM_MAIN, UI.IS_BIND_MAIN, UI.IS_AUTO_WITHDRAW, UI.CLOSE_LOGIN, UI.REG_TYPE, UI.SHOULD_REG_TYPE,
  39. UI.REG_NAME, UI.CREDIT_CODE, UI.PREMISES, UI.LEGAL_PERSON, UI.REG_EXPIRES, UI.STORE_TYPE, UI.INVOICE_BALANCE,
  40. UI.HIGHEST_EMP_LV, UI.CLOSE_LOGIN_AT, UI.PULLED_AT,
  41. UI.GROUP_LEADER_AT, UI.ALLOW_TRANSFER, UI.ALLOW_RECONSUME_SMS, UI.ALLOW_RECONSUME_SMS_TO,
  42. UI.HIGHEST_EMP_LV_PERIOD, UI.TRANSFER_PROP, UI.LOGIN_NUMS, UI.FAIL_NUMS, UI.LAST_LOGIN_IP,
  43. UI.LAST_LOGIN_AT, UI.SHOW_EMP_LV,UN.RELATIVE_LOCATION,
  44. CU.USER_NAME CON_USER_NAME,CU.REAL_NAME CON_REAL_NAME,
  45. RU.USER_NAME REC_USER_NAME,RU.REAL_NAME REC_REAL_NAME,
  46. DU.USER_NAME DEC_USER_NAME
  47. ',
  48. 'orderBy' => 'UI.CREATED_AT DESC, UI.ID DESC',
  49. 'from' => User::tableName() . ' AS U',
  50. 'join' => [
  51. ['LEFT JOIN', UserInfo::tableName() . ' AS UI', 'UI.USER_ID=U.ID'],
  52. ['LEFT JOIN', UserNetwork::tableName() . ' AS UN', 'UI.USER_ID=UN.USER_ID'],
  53. ['LEFT JOIN', User::tableName() . ' AS CU', 'UI.CON_UID=CU.ID'],
  54. ['LEFT JOIN', User::tableName() . ' AS RU', 'UI.REC_UID=RU.ID'],
  55. ['LEFT JOIN', User::tableName() . ' AS DU', 'U.DEC_ID=DU.ID'],
  56. ],
  57. 'page' => $this->page,
  58. 'pageSize' => $this->pageSize,
  59. ]);
  60. foreach ($this->listData['list'] as $key => $value) {
  61. // 后台访问前台的请求参数
  62. if (!$this->isExport && Yii::$app->user->validateAdminAction('user', 'login-to-frontend')) {
  63. $urlParams = BackendToFrontendApi::paramsFormat(['id' => $value['USER_ID']]);
  64. $urlParamStr = '';
  65. foreach ($urlParams as $pKey => $pValue) {
  66. $urlParamStr .= $pKey . '=' . $pValue . '&';
  67. }
  68. $urlParamStr = substr($urlParamStr, 0, -1);
  69. $this->listData['list'][$key]['BTF_URL'] = $urlParamStr;
  70. } else {
  71. $this->listData['list'][$key]['BTF_URL'] = null;
  72. }
  73. }
  74. }
  75. /**
  76. * 要展示和导出的所有字段
  77. * @return array
  78. */
  79. public function getColumn(){
  80. $decLevelConfig = Cache::getDecLevelConfig();
  81. $empLevelConfig = Cache::getEmpLevelConfig();
  82. $crownLevelConfig = Cache::getStarCrownLevelConfig();
  83. $decRoleConfig = DecRole::getAllData();
  84. $systemConfig = UserSystem::getAllSystems();
  85. $openBankConfig = OpenBank::getAllOpenBank();
  86. $regionConfig = Cache::getRegionConfig();
  87. if(!$this->columns){
  88. $this->columns = [
  89. 'USER_ID' => null, // 这种传输方式主要是用于索引,因为过滤后的字段可能没有这种ID,但是一些功能的操作还需要用这种ID去关联,例如前台会员列表中的勾选批量状态管理,这里需要的就是USER_ID
  90. 'BTF_URL' => null,
  91. 'USER_NAME' => [
  92. 'header' => Yii::t('ctx', 'memberCode'),
  93. 'headerOther' => ['width' => '150'],
  94. ],
  95. 'REAL_NAME' => [
  96. 'header' => Yii::t('ctx', 'memberName'),
  97. 'headerOther' => [
  98. 'width' => '120',
  99. ],
  100. 'valueOther' => [
  101. 'tag'=>['type'=>'success', 'size' => 'small', 'class'=>'no-border']
  102. ],
  103. ],
  104. 'LOGIN_STATUS_NAME' => [
  105. 'header' => Yii::t('ctx', 'loginStatus'),
  106. 'value' => function($row) {
  107. return $row['ALLOW_LOGIN'] == 1 ? Yii::t('ctx', 'allowLogin') : Yii::t('ctx', 'prohibitLogin');
  108. },
  109. 'headerOther' => ['width' => '110'],
  110. ],
  111. 'STATUS' => [
  112. 'header' => Yii::t('ctx', 'status'),
  113. 'value' => function($row) {
  114. return $row['STATUS'] == 1 ? Yii::t('ctx', 'activate') : Yii::t('ctx', 'lock');
  115. },
  116. 'headerOther' => ['width' => '110'],
  117. ],
  118. 'ALLOW_LOGIN' => [
  119. 'header' => Yii::t('ctx', 'filterAllowLogin'),
  120. 'value' => function($row) {
  121. return $row['ALLOW_LOGIN'] == 1 ? Yii::t('ctx', 'allowLogin') : Yii::t('ctx', 'prohibitLogin');
  122. },
  123. ],
  124. 'CREATED_AT' => [
  125. 'header' => Yii::t('ctx', 'joiningDate'),
  126. 'value' => function($row) {
  127. return (new DateTime([
  128. 'value' => $row['CREATED_AT'],
  129. ]))->result();
  130. },
  131. 'headerOther' => ['width' => '170'],
  132. ],
  133. 'PERIOD_AT' => [
  134. 'header' => Yii::t('ctx', 'joiningPeriod'),
  135. 'headerOther' => ['width' => '180'],
  136. ],
  137. 'DEC_LV_NAME' => [
  138. 'header' => Yii::t('ctx', 'currentMemberLevel'),
  139. 'headerOther' => ['width' => '160'],
  140. 'value' => function($row) use($decLevelConfig) {
  141. return $decLevelConfig[$row['DEC_LV']]['LEVEL_NAME'];
  142. },
  143. 'valueOther' => [
  144. 'tag'=>['type'=>'warning', 'size' => 'small', 'class'=>'no-border']
  145. ],
  146. ],
  147. 'DEC_LV_UPDATED_AT' => [
  148. 'header' => Yii::t('ctx', 'currentAdjustmentDate'),
  149. 'value' => function($row) {
  150. return (new DateTime([
  151. 'value' => $row['DEC_LV_UPDATED_AT'],
  152. ]))->result();
  153. },
  154. 'headerOther' => ['width' => '180'],
  155. ],
  156. 'LAST_DEC_LV_NAME' => [
  157. 'header' => Yii::t('ctx', 'PCMemberLevel'),
  158. 'headerOther' => [
  159. 'width' => '140',
  160. ],
  161. 'value' => function($row) use($decLevelConfig) {
  162. if (!$row['LAST_DEC_LV']) {
  163. return $decLevelConfig[$row['DEC_LV']]['LEVEL_NAME'];
  164. } else {
  165. return $decLevelConfig[$row['LAST_DEC_LV']]['LEVEL_NAME'];
  166. }
  167. },
  168. 'valueOther' => [
  169. 'tag'=>['type'=>'warning', 'size' => 'small', 'class'=>'no-border']
  170. ],
  171. ],
  172. 'EMP_LV_NAME' => [
  173. 'header' => Yii::t('ctx', 'highestDirector'),
  174. 'headerOther' => [
  175. 'width' => '190',
  176. ],
  177. 'value' => function($row) use($empLevelConfig) {
  178. return isset($empLevelConfig[$row['EMP_LV']]) ? $empLevelConfig[$row['EMP_LV']]['LEVEL_NAME'] : $empLevelConfig[EmployLevel::getDefaultLevelId()]['LEVEL_NAME'];
  179. },
  180. 'valueOther' => [
  181. 'tag'=>['type'=>'warning', 'size' => 'small', 'class'=>'no-border']
  182. ],
  183. ],
  184. 'LAST_EMP_LV_NAME' => [
  185. 'header' => Yii::t('ctx', 'latestDirector'),
  186. 'headerOther' => [
  187. 'width' => '190',
  188. ],
  189. 'value' => function($row) use($empLevelConfig) {
  190. return isset($empLevelConfig[$row['LAST_EMP_LV']]) ? $empLevelConfig[$row['LAST_EMP_LV']]['LEVEL_NAME'] : $empLevelConfig[EmployLevel::getDefaultLevelId()]['LEVEL_NAME'];
  191. },
  192. 'valueOther' => [
  193. 'tag'=>['type'=>'warning', 'size' => 'small', 'class'=>'no-border']
  194. ],
  195. ],
  196. 'CROWN_LV_NAME' => [
  197. 'header' => Yii::t('ctx', 'highestCrown'),
  198. 'headerOther' => [
  199. 'width' => '180',
  200. ],
  201. 'value' => function($row) use($crownLevelConfig) {
  202. return isset($crownLevelConfig[$row['CROWN_LV']]) ? $crownLevelConfig[$row['CROWN_LV']]['LEVEL_NAME'] : $crownLevelConfig[StarCrownLevel::getDefaultLevelId()]['LEVEL_NAME'];
  203. },
  204. 'valueOther' => [
  205. 'tag'=>['type'=>'warning', 'size' => 'small', 'class'=>'no-border']
  206. ],
  207. ],
  208. 'LAST_CROWN_LV_NAME' => [
  209. 'header' => Yii::t('ctx', 'latestCrown'),
  210. 'headerOther' => [
  211. 'width' => '180',
  212. ],
  213. 'value' => function($row) use($crownLevelConfig) {
  214. return isset($crownLevelConfig[$row['LAST_CROWN_LV']]) ? $crownLevelConfig[$row['LAST_CROWN_LV']]['LEVEL_NAME'] : $crownLevelConfig[StarCrownLevel::getDefaultLevelId()]['LEVEL_NAME'];
  215. },
  216. 'valueOther' => [
  217. 'tag'=>['type'=>'warning', 'size' => 'small', 'class'=>'no-border']
  218. ],
  219. ],
  220. 'REC_USER_NAME' => [
  221. 'header' => Yii::t('ctx', 'recommendationNo'),
  222. 'headerOther' => ['width' => '160'],
  223. ],
  224. 'REC_REAL_NAME' => [
  225. 'header' => Yii::t('ctx', 'recommendedName'),
  226. 'headerOther' => ['width' => '160'],
  227. ],
  228. 'CON_USER_NAME' => [
  229. 'header' => Yii::t('ctx', 'placementNo'),
  230. 'headerOther' => ['width' => '140'],
  231. ],
  232. 'CON_REAL_NAME' => [
  233. 'header' => Yii::t('ctx', 'placementName'),
  234. 'headerOther' => ['width' => '140'],
  235. ],
  236. 'RELATIVE_LOCATION' => [
  237. 'header' => Yii::t('ctx', 'resettlementArea'),
  238. 'headerOther' => ['width' => '140'],
  239. ],
  240. 'MOBILE' => [
  241. 'header' => Yii::t('ctx', 'phoneNumber'),
  242. 'value' => function($row) {
  243. return "\t".$row['MOBILE'];
  244. },
  245. 'headerOther' => ['width' => '120'],
  246. ],
  247. 'TEL' => [
  248. 'header' => Yii::t('ctx', 'alternatePhoneNumber'),
  249. 'value' => function($row) {
  250. return "\t".$row['TEL'];
  251. },
  252. 'headerOther' => ['width' => '180'],
  253. ],
  254. 'DEC_USER_NAME' => [
  255. 'header' => Yii::t('ctx', 'stockistCode'),
  256. 'headerOther' => ['width' => '150'],
  257. ],
  258. 'IS_DEC' => [
  259. 'header' => Yii::t('ctx', 'whetherStockist'),
  260. 'value' => function($row) {
  261. return (new YesNo([
  262. 'value' => $row['IS_DEC'],
  263. ]))->result();
  264. },
  265. 'headerOther' => function($row) {
  266. return ['width' => '200'];
  267. },
  268. 'valueOther' => function($row) {
  269. return [
  270. 'tag'=>['type'=>(isset($row['IS_DEC']) && $row['IS_DEC'] )? 'success' : 'info', 'size' => 'small']
  271. ];
  272. },
  273. ],
  274. 'IS_ATLAS' => [
  275. 'header' => Yii::t('ctx', 'whetherChartDisplay'),
  276. 'value' => function($row) {
  277. return (new YesNo([
  278. 'value' => $row['IS_ATLAS'],
  279. ]))->result();
  280. },
  281. 'headerOther' => function($row) {
  282. return [
  283. 'width' => '160',
  284. ];
  285. },
  286. 'valueOther' => function($row) {
  287. return [
  288. 'tag'=>['type'=>(isset($row['IS_ATLAS']) && $row['IS_ATLAS'] )? 'success' : 'info', 'size' => 'small']
  289. ];
  290. },
  291. ],
  292. 'IS_RECHARGE' => [
  293. 'header' => Yii::t('ctx', 'whetherRechargeDisplay'),
  294. 'value' => function($row) {
  295. return (new YesNo([
  296. 'value' => $row['IS_RECHARGE'],
  297. ]))->result();
  298. },
  299. 'headerOther' => function($row) {
  300. return [
  301. 'width' => '180',
  302. ];
  303. },
  304. 'valueOther' => function($row) {
  305. return [
  306. 'tag'=>['type'=>(isset($row['IS_RECHARGE']) && $row['IS_RECHARGE'] )? 'success' : 'info', 'size' => 'small']
  307. ];
  308. },
  309. ],
  310. 'DEC_ROLE_NAME' => [
  311. 'header' => Yii::t('ctx', 'stockistLevel'),
  312. 'headerOther' => ['width' => '110'],
  313. 'value' => function($row) use($decRoleConfig) {
  314. return $decRoleConfig[$row['DEC_ROLE_ID']]['ROLE_NAME'] ?? '';
  315. },
  316. ],
  317. 'OPEN_BANK_NAME' => [
  318. 'header' => Yii::t('ctx', 'bankName'),
  319. 'headerOther' => ['width' => '110'],
  320. 'value' => function($row) use($openBankConfig) {
  321. return $openBankConfig[$row['OPEN_BANK']]['BANK_NAME'] ?? '';
  322. },
  323. ],
  324. 'BANK_NO' => [
  325. 'header' => Yii::t('ctx', 'bankAccountNumber'),
  326. 'headerOther' => ['width' => '220'],
  327. 'value' => function($row) {
  328. return "\t".$row['BANK_NO'];
  329. },
  330. ],
  331. 'AREA' => [
  332. 'header' => Yii::t('ctx', 'commonAddress'),
  333. 'value' => function($row) use($regionConfig) {
  334. $province = $regionConfig[$row['PROVINCE']]['REGION_NAME'] ?? '';
  335. $city = $regionConfig[$row['CITY']]['REGION_NAME'] ?? '';
  336. $county = $regionConfig[$row['COUNTY']]['REGION_NAME'] ?? '';
  337. return $province.$city.$county;
  338. },
  339. 'showValue' => function($row) {
  340. $province = $regionConfig[$row['PROVINCE']]['REGION_NAME'] ?? '';
  341. $city = $regionConfig[$row['CITY']]['REGION_NAME'] ?? '';
  342. $county = $regionConfig[$row['COUNTY']]['REGION_NAME'] ?? '';
  343. return '<div class="addr" title='.$province.$city.$county.'>'.$province.$city.$county.'</div>';
  344. },
  345. 'headerOther' => [
  346. 'width' => '200'
  347. ],
  348. ],
  349. 'ALLOW_TRANSFER' => [
  350. 'header' => Yii::t('ctx', 'enableTransfer'),
  351. 'value' => function($row) {
  352. return $row['ALLOW_TRANSFER'] == 1 ? Yii::t('ctx', 'on') : Yii::t('ctx', 'off');
  353. },
  354. 'headerOther' => function($row) {
  355. return [
  356. 'width' => '130',
  357. ];
  358. },
  359. 'valueOther' => function($row) {
  360. return [
  361. 'tag'=>['type'=>(isset($row['ALLOW_TRANSFER']) && $row['ALLOW_TRANSFER']) ? 'Success' : 'Info', 'size' => 'small']
  362. ];
  363. },
  364. ],
  365. ];
  366. }
  367. return $this->columns;
  368. }
  369. /**
  370. * 前台用于筛选的类型集合
  371. * @return mixed
  372. */
  373. public function getFilterTypes()
  374. {
  375. if(!$this->filterTypes){
  376. $this->filterTypes = [
  377. 'USER_NAME'=> ['name'=> Yii::t('ctx', 'memberCode')],
  378. 'REAL_NAME'=> ['name'=> Yii::t('ctx', 'memberName')],
  379. // 'ALLOW_LOGIN'=> ['name'=> '允许登录', 'other'=> 'yesOrNo'],
  380. 'CREATED_AT'=> ['name'=> Yii::t('ctx', 'joiningDate'), 'other'=> 'date'],
  381. 'PERIOD_AT'=> ['name'=> Yii::t('ctx', 'joiningPeriod')],
  382. 'DEC_LV_NAME'=> ['name'=> Yii::t('ctx', 'currentMemberLevel'), 'other'=> 'decLevel'],
  383. // 'DEC_LV_UPDATED_AT'=> ['name'=> '实时调整日期', 'other'=> 'date'],
  384. // 'LAST_DEC_LV_NAME'=> ['name'=> '结算时会员级别', 'other'=> 'decLevel'],
  385. 'EMP_LV_NAME'=> ['name'=> Yii::t('ctx', 'highestDirector'), 'other'=> 'empLevel'],
  386. 'LAST_EMP_LV_NAME'=> ['name'=> Yii::t('ctx', 'latestDirector'), 'other'=> 'empLevel'],
  387. 'CROWN_LV_NAME'=> ['name'=> Yii::t('ctx', 'highestCrown'), 'other'=> 'crownLevel'],
  388. 'LAST_CROWN_LV_NAME'=> ['name'=> Yii::t('ctx', 'latestCrown'), 'other'=> 'crownLevel'],
  389. // 'HIGHEST_EMP_LV_NAME'=> ['name'=> '历史最高聘级', 'other'=> 'empLevel'],
  390. // 'HIGHEST_EMP_LV_PERIOD'=> ['name'=> '首次达到历史最高聘级的期数'],
  391. 'REC_USER_NAME'=> ['name'=> Yii::t('ctx', 'recommendationNo')],
  392. 'CON_USER_NAME'=> ['name'=> Yii::t('ctx', 'placementNo')],
  393. //'ID_TYPE'=> ['name'=> '证件类型', 'other'=> 'select', 'selectData'=> [['id'=> 0, 'name'=> '身份证']]],
  394. // 'ID_CARD'=> ['name'=> 'Identification Number'],
  395. // 'SPOUSE_NAME'=> ['name'=> '配偶姓名'],
  396. // 'SPOUSE_IDCARD'=> ['name'=> '配偶身份证号'],
  397. // 'SYSTEM_NAME'=> ['name'=> '体系名称', 'other'=> 'systems'],
  398. // 'SUB_COM_NAME'=> ['name'=> '所属分公司', 'other'=> 'subCompany'],
  399. 'MOBILE'=> ['name'=> Yii::t('ctx', 'phoneNumber')],
  400. // 'TEL'=> ['name'=> '备用手机号码'],
  401. 'DEC_USER_NAME'=> ['name'=> Yii::t('ctx', 'stockistCode')],
  402. 'IS_DEC'=> ['name'=> Yii::t('ctx', 'stockistOrNot'), 'other'=> 'yesOrNo'],
  403. // 'IS_STUDIO'=> ['name'=> 'Studio or not', 'other'=> 'yesOrNo'],//是否工作室
  404. 'DEC_ROLE_NAME'=> ['name'=> Yii::t('ctx', 'stockistLevel'), 'other'=> 'decRole'],
  405. // 'OPEN_BANK_NAME'=> ['name'=> '开户银行', 'other'=> 'banks'],
  406. // 'BANK_AREA'=> ['name'=> '银行地区', 'other'=> 'area'],
  407. // 'BANK_ADDRESS'=> ['name'=> '开户地址'],
  408. // 'BANK_NO'=> ['name'=> '银行账号'],
  409. // 'SEX'=> ['name'=> '性别', 'other'=> 'sex'],
  410. // 'NATION_NAME'=> ['name'=> '民族', 'other'=> 'nations'],
  411. 'AREA'=> ['name'=> Yii::t('ctx', 'commonAddress'), 'other'=> 'area'],
  412. 'STATUS'=> ['name'=> Yii::t('ctx', 'activeStatus'), 'other'=> 'select', 'selectData'=> [['id'=> 0, 'name'=> Yii::t('ctx', 'locking')],['id'=> 1, 'name'=> Yii::t('ctx', 'activation')]]],
  413. // 'STATUS'=> ['name'=> '激活状态', 'other'=> 'select', 'selectData'=> [['id'=> 0, 'name'=> '锁定'],['id'=> 1, 'name'=> '激活']]],
  414. // 'ADDRESS'=> ['name'=> '身份证地址'],
  415. // 'IS_AUTO_WITHDRAW'=> [
  416. // 'isUserTable'=> false,
  417. // 'name'=> '提现方式',
  418. // 'other'=> 'select',
  419. // 'selectData'=> [['id'=> 0, 'name'=> '手动'], ['id'=> 1, 'name'=> '自动']]
  420. // ],
  421. // 'VERIFIED'=> ['name'=> '实名认证', 'other'=> 'yesOrNo'],
  422. // 'VERIFIED_AT'=> ['name'=> '实名认证日期', 'other'=> 'date'],
  423. // 'IS_DIRECT_SELLER'=> ['name'=> '是否直销员', 'other'=> 'yesOrNo'],
  424. // 'IS_SYSTEM_LEADER'=> ['name'=> '是否体系领导人', 'other'=> 'yesOrNo'],
  425. // 'IS_GROUP_LEADER'=> ['name'=> '是否团队领导人', 'other'=> 'yesOrNo'],
  426. // 'ALLOW_TRANSFER'=> ['name'=> '转账功能开启', 'other'=> 'select', 'selectData'=> [['id'=> 0, 'name'=> '关闭'],['id'=> 1, 'name'=> '开启']]],
  427. // 'DEC_CLOSED'=> ['name'=> '是否关闭报单', 'other'=> 'yesOrNo'],
  428. ];
  429. }
  430. return $this->filterTypes;
  431. }
  432. }