| 123456789101112131415161718192021222324252627282930313233 |
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Model_bhsq extends Lin_Model
- {
- function __construct(){
- parent::__construct();
- $this->load->database();
- $this->table = 'bhsq';
- $this->load_table('bhsq');
- }
- public function getSqStatus(){
- return [
- '0'=>'已取消',
- '1'=>"待发布",
- '2'=>"待审核",
- '3'=>"驳回重申",
- '4'=>"已审核",
- ];
- }
- public function getBjStatus(){
- return [
- -1=>'全部',
- 0=>'正常生产',
- 1=>'3天倒计时',
- 2=>'当天警示',
- 3=>'超时警示',
- 4=>'已完工',
- ];
- }
-
- }
|