修复coding问题,增加机床类型返回
This commit is contained in:
@@ -163,6 +163,7 @@ class Sf_Dashboard_Connect(http.Controller):
|
||||
# 停机时间:关机时间 - 运行时间
|
||||
# 停机时长:关机时间 - 初次上线时间
|
||||
'img': f'data:image/png;base64,{machine_data.machine_tool_picture.decode("utf-8")}',
|
||||
'equipment_type': machine_data.category_id.name,
|
||||
})
|
||||
|
||||
return json.dumps(res)
|
||||
|
||||
Reference in New Issue
Block a user