Model_bhsq.php 591 B

123456789101112131415161718192021222324252627282930313233
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. class Model_bhsq extends Lin_Model
  3. {
  4. function __construct(){
  5. parent::__construct();
  6. $this->load->database();
  7. $this->table = 'bhsq';
  8. $this->load_table('bhsq');
  9. }
  10. public function getSqStatus(){
  11. return [
  12. '0'=>'已取消',
  13. '1'=>"待发布",
  14. '2'=>"待审核",
  15. '3'=>"驳回重申",
  16. '4'=>"已审核",
  17. ];
  18. }
  19. public function getBjStatus(){
  20. return [
  21. -1=>'全部',
  22. 0=>'正常生产',
  23. 1=>'3天倒计时',
  24. 2=>'当天警示',
  25. 3=>'超时警示',
  26. 4=>'已完工',
  27. ];
  28. }
  29. }