examing.html 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. <div class="readme">正在考试中,考试时间 {$row.limit_duration} 分钟</div>
  100. <div class="djs">距离考试结束还有 <span id="timer"></span> </div>
  101. </div>
  102. <div class="box-body box-profile">
  103. <form id="update-form" role="form" data-toggle="validator" method="POST" action="">
  104. <div class="col-xs-12 col-sm-12">
  105. <div class="form-group">
  106. <label style=" width: 10%;" class="control-label col-xs-3 col-sm-3 addRedStar">{:__('更换件列表')}:</label>
  107. <div class="col-xs-9 col-sm-9">
  108. <dl class="fieldlist" data-name="row[other_replace]" data-template="other_suppliertpl">
  109. <dd>
  110. <ins style="width: 550px;">更换件类型</ins>
  111. <ins style="width: 430px;">状态</ins>
  112. </dd>
  113. <dd>
  114. <a href="javascript:;" class="btn btn-sm btn-info btn-append"><i class="fa fa-plus"></i> 追加</a>
  115. </dd>
  116. <textarea name="row[other_replace]" class="form-control other_replace" cols="30" rows="5" data-rule="required">{$row.other_replace}</textarea>
  117. </dl>
  118. <!--定义模板,模板语法使用Art-Template模板语法-->
  119. <script type="text/html" id="other_suppliertpl">
  120. <dd class="form-inline">
  121. <select class="form-control" name="unwin[<%=index%>][fault_id]" style="width: 550px;">
  122. {foreach name="departmentdata" item="vo"}
  123. <option value="{$vo.fault_id}" <%if(row.fault_id =='{$vo.fault_id}'){%> selected <% }%> >{$vo.replace_name}</option>
  124. {/foreach}
  125. </select>
  126. <select class="form-control" name="unwin[<%=index%>][request_status]" style="width: 430px;">
  127. <option value="0" <%if(row["request_status"]==0){%> selected <%}%>>未申请</option>
  128. <option value="1" <%if(row["request_status"]==1){%> selected <%}%>>已申请</option>
  129. <option value="2" <%if(row["request_status"]==2){%> selected <%}%>>已处理</option>
  130. <option value="3" <%if(row["request_status"]==3){%> selected <%}%>>已驳回</option>
  131. </select>
  132. <span class="btn btn-sm btn-danger btn-remove" title="移除"><i class="fa fa-times"></i></span>
  133. <span class="btn btn-sm btn-success btn-replace" title="保存"><i class="fa fa-check"></i></span>
  134. </dd>
  135. </script>
  136. </div>
  137. </div>
  138. </div>
  139. <div class="col-xs-12 col-sm-12">
  140. <div class="form-group">
  141. <label style=" width: 10%;" class="control-label col-xs-3 col-sm-3 addRedStar">{:__('维修报告列表')}:</label>
  142. <div class="col-xs-9 col-sm-9">
  143. <dl class="fieldlist" data-name="row[other_report]" data-template="other_suppliertpl1">
  144. <dd>
  145. <ins style="width: 250px;">故障现象</ins>
  146. <ins style="width: 250px;">可能原因</ins>
  147. <ins style="width: 250px;">故障部位</ins>
  148. <ins style="width: 250px;">排除方法</ins>
  149. </dd>
  150. <dd>
  151. <a href="javascript:;" class="btn btn-sm btn-info btn-append"><i class="fa fa-plus"></i> 追加</a>
  152. </dd>
  153. <textarea name="row[other_report]" class="form-control" cols="30" rows="5" data-rule="required"></textarea>
  154. </dl>
  155. <!--定义模板,模板语法使用Art-Template模板语法-->
  156. <script type="text/html" id="other_suppliertpl1">
  157. <dd class="form-inline">
  158. <input type="text" name="unwin[<%=index%>][xx_id]"
  159. class="form-control" value="<%=row['xx_id']%>" style="width: 250px;" >
  160. <input type="text" name="unwin[<%=index%>][yy_id]"
  161. style="width: 250px;"
  162. class="form-control" value="<%=row['yy_id']%>" >
  163. <input type="text" name="unwin[<%=index%>][bw_id]"
  164. style="width: 250px;"
  165. class="form-control" value="<%=row['bw_id']%>" >
  166. <input type="text" name="unwin[<%=index%>][pc_id]"
  167. style="width: 250px;"
  168. class="form-control" value="<%=row['pc_id']%>" >
  169. <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
  170. </dd>
  171. </script>
  172. </div>
  173. </div>
  174. </div>
  175. <div class="col-xs-12 col-sm-12">
  176. <div class="form-group">
  177. <label style=" width: 10%;" class="control-label col-xs-3 col-sm-3 addRedStar">{:__('修复结论')}:</label>
  178. <div class="col-xs-9 col-sm-9">
  179. <textarea class="form-control" data-rule="required" name="row[other_jielun]" style="width: 91%"></textarea>
  180. </div>
  181. </div>
  182. </div>
  183. <div class="form-group" style="text-align: center">
  184. <button type="submit" class="btn btn-info" style="text-align: center;width: 10%;margin-top: 5%">{:__('交卷')}</button>
  185. </div>
  186. </form>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. </div>