|
|
@ -78,6 +78,7 @@ class DatabaseController extends BaseController |
|
|
|
$no_insurerdate = $request->post('no_insurerdate'); |
|
|
|
$no_insurerdate = $request->post('no_insurerdate'); |
|
|
|
$clean_right = $request->post('clean_right'); |
|
|
|
$clean_right = $request->post('clean_right'); |
|
|
|
$biaozhu = $request->post('biaozhu'); |
|
|
|
$biaozhu = $request->post('biaozhu'); |
|
|
|
|
|
|
|
$car_use_id = $request->post('car_use_id'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$car_man = $request->get('car_man'); |
|
|
|
$car_man = $request->get('car_man'); |
|
|
|
$phone = $request->get('phone'); |
|
|
|
$phone = $request->get('phone'); |
|
|
@ -104,6 +105,7 @@ class DatabaseController extends BaseController |
|
|
|
$no_insurerdate = $request->get('no_insurerdate'); |
|
|
|
$no_insurerdate = $request->get('no_insurerdate'); |
|
|
|
$clean_right = $request->get('clean_right'); |
|
|
|
$clean_right = $request->get('clean_right'); |
|
|
|
$biaozhu = $request->get('biaozhu'); |
|
|
|
$biaozhu = $request->get('biaozhu'); |
|
|
|
|
|
|
|
$car_use_id = $request->get('car_use_id'); |
|
|
|
} |
|
|
|
} |
|
|
|
$params = array(); |
|
|
|
$params = array(); |
|
|
|
$params['car_man'] = $car_man; |
|
|
|
$params['car_man'] = $car_man; |
|
|
@ -131,6 +133,7 @@ class DatabaseController extends BaseController |
|
|
|
$params['no_insurerdate'] = $no_insurerdate; |
|
|
|
$params['no_insurerdate'] = $no_insurerdate; |
|
|
|
$params['clean_right'] = $clean_right; |
|
|
|
$params['clean_right'] = $clean_right; |
|
|
|
$params['biaozhu'] = $biaozhu; |
|
|
|
$params['biaozhu'] = $biaozhu; |
|
|
|
|
|
|
|
$params['car_use_id'] = $car_use_id; |
|
|
|
|
|
|
|
|
|
|
|
$query = CarT::find(); |
|
|
|
$query = CarT::find(); |
|
|
|
|
|
|
|
|
|
|
@ -214,13 +217,18 @@ class DatabaseController extends BaseController |
|
|
|
if($user1 != '') { |
|
|
|
if($user1 != '') { |
|
|
|
$query->andWhere('op_user1 like "'.$user1.'%"'); |
|
|
|
$query->andWhere('op_user1 like "'.$user1.'%"'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if($car_use_id > 0) { |
|
|
|
|
|
|
|
$query->andWhere('car_use_id='.$car_use_id); |
|
|
|
|
|
|
|
} |
|
|
|
return ['query'=>$query,'params'=>$params]; |
|
|
|
return ['query'=>$query,'params'=>$params]; |
|
|
|
} |
|
|
|
} |
|
|
|
//A库列表页 |
|
|
|
//A库列表页 |
|
|
|
public function actionAIndex() { |
|
|
|
public function actionAIndex() { |
|
|
|
$invalid_items = InvalidT::getTree(); |
|
|
|
$invalid_items = InvalidT::getTree(); |
|
|
|
|
|
|
|
$car_use_items = CarUseT::find()->all(); |
|
|
|
return $this->render('a-index',[ |
|
|
|
return $this->render('a-index',[ |
|
|
|
'invalid_items' => $invalid_items |
|
|
|
'invalid_items' => $invalid_items, |
|
|
|
|
|
|
|
'car_use_items' => $car_use_items |
|
|
|
]); |
|
|
|
]); |
|
|
|
} |
|
|
|
} |
|
|
|
//A库列表数据 |
|
|
|
//A库列表数据 |
|
|
|