<#form:form id="inputForm" model="${device}" action="${ctx}/sys/device/save" method="post" class="form-horizontal">
*

设备ID

<% if (isNewRecord) {%> <#form:input path="deviceId" maxlength="100" class="form-control required "/> <% } else {%> <#form:input path="deviceId" readonly="true" maxlength="100" class="form-control required "/> <% } %>
*

设备名称

<#form:input path="deviceName" maxlength="100" class="form-control required "/>
*

设备类型

${@ObjectUtils.anyNotNull(deviceType)?(@DictUtils.getDictLabel('sys_camera_type', deviceType, '未知')):'正常'}
*

设备位置

<#form:input path="address" maxlength="100" class="form-control required" />

设备密码

<% if(hasPermi('sys:password:edit')){ %> <#form:input path="password" id="device-password" type="numberLengthSix" maxlength="6" class="form-control" /> <% } else {%>
${device.password}
<% } %>
<% if (hasPermi('sys:device:officeEdit')){ %> <% } %>