|
@@ -766,8 +766,6 @@ class ServiceDataView(View):
|
|
'orders': order_list,
|
|
'orders': order_list,
|
|
'regions': CommonService.list_sort(region_list),
|
|
'regions': CommonService.list_sort(region_list),
|
|
'deviceType': CommonService.list_sort(device_type_list),
|
|
'deviceType': CommonService.list_sort(device_type_list),
|
|
- 'newDeviceCount': new_device_count,
|
|
|
|
- 'allOrderCount': all_order_count,
|
|
|
|
'inversionRate': inversion_rate
|
|
'inversionRate': inversion_rate
|
|
}
|
|
}
|
|
return response.json(0, res)
|
|
return response.json(0, res)
|
|
@@ -965,8 +963,6 @@ class ServiceDataView(View):
|
|
'regions': CommonService.list_sort(region_list),
|
|
'regions': CommonService.list_sort(region_list),
|
|
'deviceType': CommonService.list_sort(device_type_list),
|
|
'deviceType': CommonService.list_sort(device_type_list),
|
|
'repeatRate': repeat_rate,
|
|
'repeatRate': repeat_rate,
|
|
- 'repeatOrderCount': repeat_order_count,
|
|
|
|
- 'allOrderCount': all_order_count
|
|
|
|
}
|
|
}
|
|
return response.json(0, res)
|
|
return response.json(0, res)
|
|
except Exception as e:
|
|
except Exception as e:
|