|
@@ -32,7 +32,8 @@ class Offer extends Controller
|
|
|
|
|
|
$this->title = '列表管理';
|
|
|
$all_type = \app\common\model\OfferType::getAllType();
|
|
|
- $this->all_type = array_merge(['0'=>['id'=>0,'title'=>'全部']],array_column($all_type,null,'id'));
|
|
|
+ $all_type = array_merge([['id'=>0,'title'=>'全部']],$all_type);
|
|
|
+ $this->all_type = array_column($all_type,null,'id');
|
|
|
$this->status_arr = [0=>'全部','1'=>'审批中',2=>'审批通过',3=>'审批拒绝',9=>'已取消'];
|
|
|
$sel_where = [];
|
|
|
$time = explode(' - ',input('create_at'));
|