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

interface

@@ -41,7 +41,7 @@ @@ -41,7 +41,7 @@
41 <th width="80">设备锁编号<span class="form-required">*</span></th> 41 <th width="80">设备锁编号<span class="form-required">*</span></th>
42 <td> 42 <td>
43 <input class="form-control" type="text" name="serial_number" 43 <input class="form-control" type="text" name="serial_number"
44 - id="serial_number" required value="{$data.serial_number}" placeholder="请输入设备锁编号"/> 44 + id="serial_number" required value="{$data.serial_number}" placeholder="请输入设备锁编号" readonly/>
45 </td> 45 </td>
46 <th width="80">设备MAC地址<span class="form-required">*</span></th> 46 <th width="80">设备MAC地址<span class="form-required">*</span></th>
47 <td><input class="form-control" type="text" name="mac_address" id="mac_address" value="{$data.mac_address}" 47 <td><input class="form-control" type="text" name="mac_address" id="mac_address" value="{$data.mac_address}"
@@ -78,14 +78,14 @@ @@ -78,14 +78,14 @@
78 <script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script> 78 <script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script>
79 <script type="text/javascript"> 79 <script type="text/javascript">
80 function confirm() { 80 function confirm() {
81 - var serial_number = $('#serial_number').val(); 81 +// var serial_number = $('#serial_number').val();
82 // var mac_address = $('#mac_address').val(); 82 // var mac_address = $('#mac_address').val();
83 // var name = $('#name').val(); 83 // var name = $('#name').val();
84 var hospital = $('#hospital').val(); 84 var hospital = $('#hospital').val();
85 var note = $('#note').val(); 85 var note = $('#note').val();
86 86
87 return { 87 return {
88 - serial_number:serial_number, 88 +// serial_number:serial_number,
89 // mac_address :mac_address, 89 // mac_address :mac_address,
90 // name :name, 90 // name :name,
91 hospital :hospital, 91 hospital :hospital,
@@ -168,7 +168,7 @@ @@ -168,7 +168,7 @@
168 } 168 }
169 169
170 function doEdit(id) { 170 function doEdit(id) {
171 - openIframeLayer("{:url('AdminEquipment/edit')}?id="+id, '请选择分类', { 171 + openIframeLayer("{:url('AdminEquipment/edit')}?id="+id, '编辑设备信息', {
172 area: ['1000px', '800px'], 172 area: ['1000px', '800px'],
173 btn: ['确定', '取消'], 173 btn: ['确定', '取消'],
174 yes: function (index, layero) { 174 yes: function (index, layero) {
@@ -180,7 +180,7 @@ @@ -180,7 +180,7 @@
180 type:"POST", 180 type:"POST",
181 data:{ 181 data:{
182 id:id, 182 id:id,
183 - serial_number:data.serial_number, 183 +// serial_number:data.serial_number,
184 // mac_address:data.mac_address, 184 // mac_address:data.mac_address,
185 // name:data.name, 185 // name:data.name,
186 hospital:data.hospital, 186 hospital:data.hospital,