|
@@ -347,6 +347,8 @@ class ConstructionService extends Service
|
|
|
}
|
|
|
if(empty($construction)) return [false,'施工订单不存在或已被删除'];
|
|
|
$construction = $construction->toArray();
|
|
|
+ $construction['state_title'] = Construction::$name[$construction['state']] ?? '';
|
|
|
+ $construction['pq_state_title'] = Construction::$pq_name[$construction['pq_state']] ?? '';
|
|
|
$address = '';
|
|
|
if(! empty($construction['address1'])) {
|
|
|
$tmp = json_decode($construction['address1'],true);
|