|
@@ -21,7 +21,7 @@
|
|
<div class="page-container">
|
|
<div class="page-container">
|
|
<div class="text-c">
|
|
<div class="text-c">
|
|
<form name="form1" action="${path}/admin/equipment/select_device_list" method="post">
|
|
<form name="form1" action="${path}/admin/equipment/select_device_list" method="post">
|
|
- <button type="button" style="cursor:pointer;" class="my-btn-search" onclick="add_device();">添加设备</button>
|
|
|
|
|
|
+ <button type="button" style="cursor:pointer;float: left;" class="my-btn-search" onclick="add_device();">添加设备</button>
|
|
<input class="my-input" type="text" name="deviceNumber" value="${deviceNumber!}" placeholder="请输入设备编号"/>
|
|
<input class="my-input" type="text" name="deviceNumber" value="${deviceNumber!}" placeholder="请输入设备编号"/>
|
|
<select class="select" name="deviceStatus" style="height: 30px;width: 150px">
|
|
<select class="select" name="deviceStatus" style="height: 30px;width: 150px">
|
|
<option value ="">全部</option>
|
|
<option value ="">全部</option>
|
|
@@ -47,7 +47,9 @@
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody id="listid">
|
|
<tbody id="listid">
|
|
|
|
+ <#if (page.dataList?size > 0)>
|
|
<#list page.dataList as device>
|
|
<#list page.dataList as device>
|
|
|
|
+
|
|
<tr>
|
|
<tr>
|
|
<td class="text-c" width="100">${device.deviceNumber!}</td>
|
|
<td class="text-c" width="100">${device.deviceNumber!}</td>
|
|
<td class="text-c" width="100">${device.deviceName!}</td>
|
|
<td class="text-c" width="100">${device.deviceName!}</td>
|
|
@@ -89,6 +91,9 @@
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</#list>
|
|
</#list>
|
|
|
|
+ <#else >
|
|
|
|
+ <tr><td class="td-manage text-c" colspan = "7">暂时没有设备,请添加</td></tr>
|
|
|
|
+ </#if>
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|