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

cost

@@ -29,25 +29,25 @@ @@ -29,25 +29,25 @@
29 <body> 29 <body>
30 <div class="wrap js-check-wrap"> 30 <div class="wrap js-check-wrap">
31 <ul class="nav nav-tabs"> 31 <ul class="nav nav-tabs">
32 - <li><a href="{:url('AdminTestInfo/index')}">检测报告</a></li>  
33 - <li class="active"><a href="{:url('AdminTestInfo/add')}">添加报告</a></li> 32 + <li class="active"><a>批量添加设备信息</a></li>
34 </ul> 33 </ul>
35 <!--js-ajax-form margin-top-20--> 34 <!--js-ajax-form margin-top-20-->
36 - <form action="{:url('AdminTestInfo/addPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20"> 35 + <form action="{:url('AdminEquipment/batch_addPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
37 <div class="row"> 36 <div class="row">
38 <div class="col-md-2"></div> 37 <div class="col-md-2"></div>
39 <div class="col-md-8"> 38 <div class="col-md-8">
40 <table class="table table-bordered"> 39 <table class="table table-bordered">
41 40
42 <tr> 41 <tr>
43 - <th width="80">设备锁编号<span class="form-required">*</span></th> 42 + <th width="80">上传文件<span class="form-required">*</span></th>
44 <td> 43 <td>
45 - <input class="form-control" type="text" name="serial_number"  
46 - id="serial_number" required value="" placeholder="请输入设备锁编号"/> 44 + <input class="form-control" type="file" name="myfile"
  45 + id="myfile"/>
47 </td> 46 </td>
48 </tr> 47 </tr>
49 48
50 </table> 49 </table>
  50 + <button type="submit" class="btn btn-primary js-ajax-submit">上传</button>
51 </div> 51 </div>
52 </div> 52 </div>
53 </form> 53 </form>