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

interface

... ... @@ -41,7 +41,7 @@
<th width="80">设备锁编号<span class="form-required">*</span></th>
<td>
<input class="form-control" type="text" name="serial_number"
id="serial_number" required value="{$data.serial_number}" placeholder="请输入设备锁编号"/>
id="serial_number" required value="{$data.serial_number}" placeholder="请输入设备锁编号" readonly/>
</td>
<th width="80">设备MAC地址<span class="form-required">*</span></th>
<td><input class="form-control" type="text" name="mac_address" id="mac_address" value="{$data.mac_address}"
... ... @@ -78,14 +78,14 @@
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
function confirm() {
var serial_number = $('#serial_number').val();
// var serial_number = $('#serial_number').val();
// var mac_address = $('#mac_address').val();
// var name = $('#name').val();
var hospital = $('#hospital').val();
var note = $('#note').val();
return {
serial_number:serial_number,
// serial_number:serial_number,
// mac_address :mac_address,
// name :name,
hospital :hospital,
... ...
... ... @@ -168,7 +168,7 @@
}
function doEdit(id) {
openIframeLayer("{:url('AdminEquipment/edit')}?id="+id, '请选择分类', {
openIframeLayer("{:url('AdminEquipment/edit')}?id="+id, '编辑设备信息', {
area: ['1000px', '800px'],
btn: ['确定', '取消'],
yes: function (index, layero) {
... ... @@ -180,7 +180,7 @@
type:"POST",
data:{
id:id,
serial_number:data.serial_number,
// serial_number:data.serial_number,
// mac_address:data.mac_address,
// name:data.name,
hospital:data.hospital,
... ...