diff --git a/admin/index_m.html b/admin/index_m.html index 48e772d..fbf3e00 100644 --- a/admin/index_m.html +++ b/admin/index_m.html @@ -95,7 +95,7 @@ var fields = [ {name: 'deviceId' , title: _('deviceId'), type: 'text', width: '60px', sorter: 'number'}, {name: 'ip' , title: _('ip'), type: 'text', width: '110px', sorter: 'number'}, - {name: 'port' , title: _('port'), type: 'text', width: '30px', sorter: 'number'}, + {name: 'port' , title: _('port'), type: 'text', width: '60px', sorter: 'number'}, {name: 'name' , title: _('Name'), type: 'text', width: '*'}, {name: 'description', title: _('Description'), type: 'text', width: '*'}, { type: 'control', width: '80px'} @@ -216,7 +216,7 @@ } if (!obj.item.role && obj.item.type !== 'string' && obj.item.type !== 'stringle') { - if (id === 'modbus_disInputs') { + if (id === 'modbus_door') { obj.item.role = 'status'; } else if (id === 'modbus_coils') { obj.item.role = 'button'; @@ -347,19 +347,11 @@ } var data = { - disInputs: settings.disInputs || [], - coils: settings.coils || [] + door: settings.door || [] } - - initTabs(onChange, data); - - - - - //end zhongjin @@ -492,7 +484,7 @@
-
+