Files
goldmountain/WebRoot/html/reportDetail.html

65 lines
2.0 KiB
HTML
Raw Normal View History

2015-12-08 17:41:33 +08:00
<div>
<center>
<form action="/report/update" method="post"
2015-12-09 14:33:07 +08:00
enctype="multipart/form-data" target="rfFrame">
<input type="hidden" name="report_id" value="{{report_id}}">
2015-12-08 17:41:33 +08:00
<lable for="creator">创建者:</lable>
2015-12-09 14:33:07 +08:00
<input id="creator" type="text" value="{{report.report_creator}}"
name="report_creator" placeholder="创建者"><br> <br>
<lable for="time">创建时间:</lable>
<input id="time" type="text" value="{{report.report_create_time}}"
name="report_time" placeholder="创建时间" readonly> <a
href="#/reports/" ng-click="remove()">删除</a><br> <br>
2015-12-08 17:41:33 +08:00
<table width="80%" border="1">
<caption>
<input id="name" type="text" value="{{report.report_name}}"
2015-12-09 14:33:07 +08:00
style="width: 30%; text-align: center" name="report_name"
placeholder="请填写安全检查信息表名">
2015-12-08 17:41:33 +08:00
</caption>
<thead>
<tr>
<th width="20%">检查内容</th>
<th width="50%">检查项</th>
<th width="5%">是否通过</th>
<th width="10%">图片</th>
<th width="15%">备注</th>
</tr>
</thead>
<tbody ng-repeat="content in contents">
<tr ng-repeat="item in content.items">
<td rowspan="{{content.items.length}}" ng-show="$index==0">{{content.No
+ "." + content.content}}</td>
<td>{{item.item}}</td>
<td><input type="checkbox" ng-checked="{{item.passed}}==1"
name="passed_{{content.No}}_{{$index+1}}"></td>
<td class="img"><a ng-show="{{item.pic_url}}"
href="{{item.pic_url}}"><img src="{{item.pic_url}}"></a> <input
type="file" accept="image/*"
name="pic_url_{{content.No}}_{{$index+1}}"></td>
<td><input type="text" value="{{item.note}}"
style="word-break: break-all" placeholder="请填写备注"
name="note_{{content.No}}_{{$index+1}}"></td>
</tr>
</tbody>
</table>
<input type="submit"></input>
</form>
2015-12-09 14:33:07 +08:00
<iframe hidden id="rfFrame" name="rfFrame" src="about:blank"$amp;>amp;$lt;</iframe>
2015-12-08 17:41:33 +08:00
</center>
</div>