|
|
@@ -54,7 +54,7 @@ class ServiceOrderLists extends BaseApiDataLists
|
|
|
$lists = RechargeOrder::with(['order_goods'=>function ($query) {
|
|
|
$query->visible(['goods_name','goods_image','goods_number','good_unit']);
|
|
|
},'service_work'=>function ($query) {
|
|
|
- $query->visible(['service_status']);
|
|
|
+ $query->visible(['service_status'])->append(['service_status_text']);
|
|
|
}])
|
|
|
->where($this->queryWhere())
|
|
|
->visible(['id','sn','order_total','order_amount','pay_status','create_time'])
|