examing.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <style>
  2. .profile-avatar-container {
  3. position: relative;
  4. width: 100px;
  5. margin: 0 auto;
  6. }
  7. .profile-avatar-container .profile-user-img {
  8. width: 100px;
  9. height: 100px;
  10. }
  11. .profile-avatar-container .profile-avatar-text {
  12. display: none;
  13. }
  14. .profile-avatar-container:hover .profile-avatar-text {
  15. display: block;
  16. position: absolute;
  17. height: 100px;
  18. width: 100px;
  19. background: #444;
  20. opacity: .6;
  21. color: #fff;
  22. top: 0;
  23. left: 0;
  24. line-height: 100px;
  25. text-align: center;
  26. }
  27. .profile-avatar-container button {
  28. position: absolute;
  29. top: 0;
  30. left: 0;
  31. width: 100px;
  32. height: 100px;
  33. opacity: 0;
  34. }
  35. .readme {
  36. margin-top:2%;
  37. text-align: center;
  38. line-height:8px;
  39. font-size:22px;
  40. }
  41. .djs {
  42. margin-top:2%;
  43. text-align: center;
  44. line-height:8px;
  45. font-size:22px;
  46. color:red;
  47. margin-bottom: 3%;
  48. }
  49. </style>
  50. <style type="text/css">
  51. .new_table {
  52. border-collapse: collapse;
  53. margin: 0 auto;
  54. text-align: center;
  55. width: 100%;
  56. font-size: 12px;
  57. }
  58. .new_table td,
  59. table th {
  60. border: 1px solid #cad9ea;
  61. color: #666;
  62. height: 2.5em;
  63. }
  64. .new_table thead th {
  65. background-color: #CCE8EB;
  66. width: 100px;
  67. }
  68. .span_show {
  69. float: left;
  70. margin-left: 15px;
  71. font-size: 11px;
  72. color: #0a84ff;
  73. cursor: pointer;
  74. }
  75. .span_hide {
  76. float: left;
  77. margin-left: 15px;
  78. font-size: 11px;
  79. color: #0a84ff;
  80. cursor: pointer;
  81. }
  82. .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  83. background-color: #17223f;
  84. color: #ffffff;
  85. border-color: #17223f;
  86. outline: none
  87. }
  88. .nav-tabs {
  89. border-bottom: 1.5px solid #17223f;
  90. margin-bottom: 10px;
  91. }
  92. .panel-heading{font-size: 18px}
  93. </style>
  94. <div class="row animated fadeInRight">
  95. <div class="col-md-12">
  96. <div class="box box-primary">
  97. <div class="panel-body">
  98. <div class="panel-heading">
  99. {:__('基本信息')}
  100. </div>
  101. <div class="box-body box-profile">
  102. <div class="row">
  103. <div class="form-group col-sm-6">
  104. <label class="control-label">{:__('考试名称')}:</label>
  105. <input type="text" class="form-control" value="{$row.exam_collection_name|htmlentities}" readonly/>
  106. </div>
  107. <div class="form-group col-sm-6">
  108. <label class="control-label">{:__('考试时长')}:</label>
  109. <input type="text" class="form-control" value="{$row.limit_duration|htmlentities}" readonly/>
  110. </div>
  111. <div class="form-group col-sm-6">
  112. <label class="control-label">{:__('模拟器类型')}:</label>
  113. <input type="text" class="form-control" value="{$row.sim_type_text|htmlentities}" readonly/>
  114. </div>
  115. <div class="form-group col-sm-6">
  116. <label class="control-label">{:__('学员座号')}:</label>
  117. <input type="text" class="form-control" value="{$row.seat_id|htmlentities}" readonly/>
  118. </div>
  119. </div>
  120. </div>
  121. <div class="panel-heading">
  122. <div class="readme">正在考试中,考试时间 {$row.limit_duration} 分钟</div>
  123. <div class="djs">距离考试结束还有 <span id="timer"></span> </div>
  124. </div>
  125. <div class="box-body box-profile">
  126. <form id="update-form" role="form" data-toggle="validator" method="POST" action="">
  127. <div class="col-xs-12 col-sm-12">
  128. <div class="form-group">
  129. <label style=" width: 10%;" class="control-label col-xs-3 col-sm-3">{:__('更换件列表')}:</label>
  130. <div class="col-xs-9 col-sm-9">
  131. <dl class="fieldlist" data-name="row[other_replace]" data-template="other_suppliertpl">
  132. <dd>
  133. <ins style="width: 550px;">更换件类型</ins>
  134. <ins style="width: 430px;">状态</ins>
  135. </dd>
  136. <dd>
  137. <a href="javascript:;" class="btn btn-sm btn-info btn-append"><i class="fa fa-plus"></i> 追加</a>
  138. </dd>
  139. <textarea name="row[other_replace]" class="form-control hide other_replace" cols="30" rows="5">{$row.other_replace}</textarea>
  140. </dl>
  141. <!--定义模板,模板语法使用Art-Template模板语法-->
  142. <script type="text/html" id="other_suppliertpl">
  143. <dd class="form-inline">
  144. <select class="form-control" name="unwin[<%=index%>][fault_id]" style="width: 550px;">
  145. {foreach name="departmentdata" item="vo"}
  146. <option value="{$vo.fault_id}" <%if(row.fault_id =='{$vo.fault_id}'){%> selected <% }%> >{$vo.replace_name}</option>
  147. {/foreach}
  148. </select>
  149. <select class="form-control" name="unwin[<%=index%>][request_status]" style="width: 430px;">
  150. <option value="0" <%if(row["request_status"]==0){%> selected <%}%>>未申请</option>
  151. <option value="1" <%if(row["request_status"]==1){%> selected <%}%>>已申请</option>
  152. <option value="2" <%if(row["request_status"]==2){%> selected <%}%>>已处理</option>
  153. <option value="3" <%if(row["request_status"]==3){%> selected <%}%>>已驳回</option>
  154. </select>
  155. <span class="btn btn-sm btn-danger btn-remove" title="移除"><i class="fa fa-times"></i></span>
  156. <span class="btn btn-sm btn-success btn-replace" title="保存"><i class="fa fa-check"></i></span>
  157. </dd>
  158. </script>
  159. </div>
  160. </div>
  161. </div>
  162. <div class="col-xs-12 col-sm-12">
  163. <div class="form-group">
  164. <label style=" width: 10%;" class="control-label col-xs-3 col-sm-3">{:__('维修报告列表')}:</label>
  165. <div class="col-xs-9 col-sm-9">
  166. <dl class="fieldlist" data-name="row[other_report]" data-template="other_suppliertpl1">
  167. <dd>
  168. <ins style="width: 250px;">故障现象</ins>
  169. <ins style="width: 250px;">可能原因</ins>
  170. <ins style="width: 250px;">故障部位</ins>
  171. <ins style="width: 250px;">排除方法</ins>
  172. </dd>
  173. <dd>
  174. <a href="javascript:;" class="btn btn-sm btn-info btn-append"><i class="fa fa-plus"></i> 追加</a>
  175. </dd>
  176. <textarea name="row[other_report]" class="form-control hide" cols="30" rows="5">{$row.other_report}</textarea>
  177. </dl>
  178. <!--定义模板,模板语法使用Art-Template模板语法-->
  179. <script type="text/html" id="other_suppliertpl1">
  180. <dd class="form-inline">
  181. <select class="form-control" name="unwin[<%=index%>][xx_id]" style="width: 250px;">
  182. {foreach name="xianxiang" item="vo"}
  183. <option value="{$vo.fault_id}" <%if(row.xx_id =='{$vo.fault_id}'){%> selected <% }%> >{$vo.name}</option>
  184. {/foreach}
  185. </select>
  186. <select class="form-control" name="unwin[<%=index%>][yy_id]" style="width: 250px;">
  187. {foreach name="yuanyin" item="vo"}
  188. <option value="{$vo.fault_id}" <%if(row.yy_id =='{$vo.fault_id}'){%> selected <% }%> >{$vo.name}</option>
  189. {/foreach}
  190. </select>
  191. <select class="form-control" name="unwin[<%=index%>][bw_id]" style="width: 250px;">
  192. {foreach name="buwei" item="vo"}
  193. <option value="{$vo.fault_id}" <%if(row.bw_id =='{$vo.fault_id}'){%> selected <% }%> >{$vo.name}</option>
  194. {/foreach}
  195. </select>
  196. <select class="form-control" name="unwin[<%=index%>][pc_id]" style="width: 250px;">
  197. {foreach name="paichu" item="vo"}
  198. <option value="{$vo.fault_id}" <%if(row.pc_id =='{$vo.fault_id}'){%> selected <% }%> >{$vo.name}</option>
  199. {/foreach}
  200. </select>
  201. <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
  202. </dd>
  203. </script>
  204. </div>
  205. </div>
  206. </div>
  207. <!-- <div class="col-xs-12 col-sm-12">-->
  208. <!-- <div class="form-group">-->
  209. <!-- <label style=" width: 10%;" class="control-label col-xs-3 col-sm-3 addRedStar">{:__('修复结论')}:</label>-->
  210. <!-- <div class="col-xs-9 col-sm-9">-->
  211. <!-- <textarea class="form-control" data-rule="required" name="row[other_jielun]" style="width: 91%"></textarea>-->
  212. <!-- </div>-->
  213. <!-- </div>-->
  214. <!-- </div>-->
  215. <div class="form-group" style="text-align: center">
  216. <button type="submit" class="btn btn-info" style="text-align: center;width: 10%;margin-top: 5%">{:__('交卷')}</button>
  217. </div>
  218. </form>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. </div>