MaintainConstant.php 558 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace app\common\constant;
  3. /**
  4. * 维修常量类
  5. */
  6. class MaintainConstant
  7. {
  8. // 维修类型:1=物业维修,2=电教网络维修
  9. const TYPE_1 = '1';
  10. const TYPE_2 = '2';
  11. public static function get_type_list()
  12. {
  13. return [
  14. self::TYPE_1 => '物业维修',
  15. self::TYPE_2 => '电教网络维修',
  16. ];
  17. }
  18. public static function get_type_title_list()
  19. {
  20. return [
  21. self::TYPE_1 => '物业主管',
  22. self::TYPE_2 => '信息负责人',
  23. ];
  24. }
  25. }