|
@@ -11088,7 +11088,7 @@ def getDevicePort(request): # type: (WSGIRequest)->JsonResponse
|
|
if _info['status'] == Const.DEV_WORK_STATUS_WORKING:
|
|
if _info['status'] == Const.DEV_WORK_STATUS_WORKING:
|
|
_info.update({'status': statsMap[str(_info['status'])]})
|
|
_info.update({'status': statsMap[str(_info['status'])]})
|
|
if 'needTime' in _info and str(_info['needTime']).isdigit():
|
|
if 'needTime' in _info and str(_info['needTime']).isdigit():
|
|
- info.update({'needTime': u'%s分钟' % _info['needTime']})
|
|
|
|
|
|
+ _info.update({'needTime': u'%s分钟' % _info['needTime']})
|
|
else:
|
|
else:
|
|
_info = {'status': 'idle', 'index': str(_info['index'])}
|
|
_info = {'status': 'idle', 'index': str(_info['index'])}
|
|
portList.append(_info)
|
|
portList.append(_info)
|