|
@@ -215,8 +215,8 @@ class info_update_path(Load):
|
|
|
elif self.data['info']['hardware_type'] == 6:
|
|
|
self.common(
|
|
|
path = 'camera_pic'
|
|
|
- ,label = (u'摄像头名称', u'摄像头id', u'所属农场', u'选择网关', u'摄像头地址', u'排序')
|
|
|
- ,update = ('name-input-required','hardware_id-show-','farm_id-select-required-gateway_id','gateway_id-select-required--farm_id','value-text-required','inorder-text-')
|
|
|
+ ,label = (u'摄像头名称', u'摄像头id', u'所属农场', u'摄像头地址', u'排序')
|
|
|
+ ,update = ('name-input-required','hardware_id-show-','farm_id-select-required-gateway_id','value-text-required','inorder-text-')
|
|
|
,update_farm_id = Demeter.config['setting']['farmList']
|
|
|
,update_gateway_id = self.service('common').list('device_gateway')
|
|
|
)
|