|
@@ -136,7 +136,7 @@ class ApiService{
|
|
|
}
|
|
|
|
|
|
//网格化巡检记录查询条件
|
|
|
- public function getResultConition()
|
|
|
+ public static function getResultConition()
|
|
|
{
|
|
|
$result['status'] = true;
|
|
|
$result['msg'] = ApiEnum::RETURN_SUCCESS;
|
|
@@ -150,10 +150,7 @@ class ApiService{
|
|
|
$depart_arr = [];
|
|
|
foreach ($depart as $key => $val) {
|
|
|
$depart_name = str_replace('洗选中心', '', $val->DEPARTMENTNAME);
|
|
|
- $depart_arr[$key] = [
|
|
|
- 'name' => $depart_name,
|
|
|
-
|
|
|
- ];
|
|
|
+ $depart_arr[$key] = $depart_name;
|
|
|
}
|
|
|
|
|
|
$result['data'] = $depart_arr;
|