作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

... ... @@ -55,7 +55,7 @@
<th>设备锁编号</th>
<th>设备锁名称</th>
<th>初始医院设置</th>
<th>设备电量状态</th>
<th>设备状态(电量/使用/设备)</th>
<th>导入时间</th>
<th>二维码</th>
<th>备注</th>
... ... @@ -87,6 +87,14 @@
<case value="0"><span class="label label-warning">低电</span></case>
<case value="1"><span class="label label-success">正常</span></case>
</switch>
<switch name="vo.use">
<case value="0"><span class="label label-success">空闲</span></case>
<case value="1"><span class="label label-warning">占用</span></case>
</switch>
<switch name="vo.state">
<case value="1"><span class="label label-success">正常</span></case>
<case value="2"><span class="label label-warning">检修</span></case>
</switch>
</td>
<td>
{:date('Y-m-d H:i:s',$vo.create_time)}
... ... @@ -98,12 +106,6 @@
{$vo.note}
</td>
<td>
<switch name="vo.use">
<case value="0"><span class="label label-success">空闲</span></case>
<case value="1"><span class="label label-warning">占用</span></case>
</switch>
</td>
<td>
<a onclick="doEdit(Number('{$vo.id}'))">{:lang('EDIT')}</a>
<a href="{:url('AdminEquipment/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:lang('DELETE')}</a>
</td>
... ...