edit.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <style type="text/css">
  2. .new_table {
  3. border-collapse: collapse;
  4. margin: 0 auto;
  5. text-align: center;
  6. width: 100%;
  7. font-size: 12px;
  8. }
  9. .new_table td,
  10. table th {
  11. border: 1px solid #cad9ea;
  12. color: #666;
  13. height: 2.5em;
  14. }
  15. .new_table thead th {
  16. background-color: #CCE8EB;
  17. width: 100px;
  18. }
  19. .new_table1 {
  20. border-collapse: collapse;
  21. margin: 0 auto;
  22. text-align: center;
  23. width: 100%;
  24. font-size: 12px;
  25. }
  26. .new_table1 td{
  27. border: 1px solid #cad9ea;
  28. color: #666;
  29. height: 3.5em;
  30. /* padding-left: 1% !important;*/
  31. }
  32. .span_show {
  33. float: left;
  34. margin-left: 15px;
  35. font-size: 11px;
  36. color: #0a84ff;
  37. cursor: pointer;
  38. }
  39. .span_hide {
  40. float: left;
  41. margin-left: 15px;
  42. font-size: 11px;
  43. color: #0a84ff;
  44. cursor: pointer;
  45. }
  46. .task_list input{border: 0px;text-align: center}
  47. </style>
  48. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  49. <div class="form-group">
  50. <label class="control-label col-xs-12 col-sm-2">{:__('Seat_id')}:</label>
  51. <div class="col-xs-12 col-sm-8">
  52. <input class="form-control" type="text" value="{$row.seat_id|htmlentities}" readonly>
  53. </div>
  54. </div>
  55. <div class="form-group">
  56. <label class="control-label col-xs-12 col-sm-2">{:__('姓名')}:</label>
  57. <div class="col-xs-12 col-sm-8">
  58. <input class="form-control"type="text" value="{$row.user_nickname|htmlentities}" readonly>
  59. </div>
  60. </div>
  61. <div class="form-group">
  62. <label class="control-label col-xs-12 col-sm-2">{:__('学号')}:</label>
  63. <div class="col-xs-12 col-sm-8">
  64. <input class="form-control" type="text" value="{$row.user_username|htmlentities}" readonly>
  65. </div>
  66. </div>
  67. <div class="col-lg-12" style="margin: 20px 10px 0 10px">
  68. <div class="tab-content">
  69. <div class="tab-pane tab_log1" style="display: block">
  70. <table class="new_table">
  71. <thead>
  72. <tr style="height: 3.5rem">
  73. <td style="width: 40%">评分标准</td>
  74. <td style="width: 10%">扣分</td>
  75. <td style="width: 50%">题目</td>
  76. </tr>
  77. </thead>
  78. <tbody class="task_list">
  79. <tr>
  80. <td colspan="3">一.排除故障(75分)</td>
  81. </tr>
  82. <tr>
  83. <td>故障一未排除扣25分</td>
  84. <td><input type="text" name="row[fault_one_score]" value="{$row.fault_one_score|htmlentities}"></td>
  85. <td>{$row.fault_name_one|htmlentities}</td>
  86. </tr>
  87. <tr>
  88. <td>故障二未排除扣25分</td>
  89. <td><input type="text" name="row[fault_two_score]" value="{$row.fault_two_score|htmlentities}"></td>
  90. <td>{$row.fault_name_two|htmlentities}</td>
  91. </tr>
  92. <tr>
  93. <td>故障三未排除扣25分</td>
  94. <td><input type="text" name="row[fault_three_score]" value="{$row.fault_three_score|htmlentities}"></td>
  95. <td>{$row.fault_name_three|htmlentities}</td>
  96. </tr>
  97. <tr>
  98. <td colspan="3">二.维修报告表(15分)</td>
  99. </tr>
  100. </tbody>
  101. </table>
  102. <table class="new_table1">
  103. <tr>
  104. <td>序号</td>
  105. <td>故障现象</td>
  106. <td style="width:25%">可能原因</td>
  107. <td>故障部位</td>
  108. <td>排除方法</td>
  109. <td style="width:20%">扣分原因</td>
  110. <td>扣分情况</td>
  111. </tr>
  112. {volist name="partent_fault_id" id="vo2"}
  113. <tr style="height: 60px">
  114. <td>{++$key}</td>
  115. <td>
  116. {volist name="vo2.other_report" id="vo21"}
  117. {if $vo2.gzxz_id eq $vo21.xx_id}
  118. {$vo21.xx_name|htmlentities}
  119. {/if}
  120. {/volist}
  121. </td>
  122. <td>
  123. {volist name="vo2.other_report" id="vo21"}
  124. {if $vo2.gzxz_id eq $vo21.xx_id}
  125. {$vo21.yy_name|htmlentities}
  126. {/if}
  127. {/volist}
  128. </td>
  129. <td>
  130. {volist name="vo2.other_report" id="vo21"}
  131. {if $vo2.gzxz_id eq $vo21.xx_id}
  132. {$vo21.bw_name|htmlentities}
  133. {/if}
  134. {/volist}
  135. </td>
  136. <td>
  137. {volist name="vo2.other_report" id="vo21"}
  138. {if $vo2.gzxz_id eq $vo21.xx_id}
  139. {$vo21.pc_name|htmlentities}
  140. {/if}
  141. {/volist}
  142. </td>
  143. <td>
  144. {volist name="vo2.xianxian_content" id="vo22"}
  145. {if $vo2.gzxz_id eq $vo22.gzxz_id}
  146. <span class="text-danger">{$vo22.cx_type}:{$vo22.cx_name}</span><br/>
  147. {/if}
  148. {/volist}
  149. </td>
  150. <td>
  151. {volist name="vo2.other_jielun" id="vo23"}
  152. {if $vo2.gzxz_id eq $vo23.gzxz_id}
  153. {$vo23.cx_score??''}<br/>
  154. {/if}
  155. {/volist}
  156. </td>
  157. </tr>
  158. {/volist}
  159. <tr>
  160. <td colspan="6" style="text-align:left;padding-left:1%;font-weight:600;">故障现象少写或错写1条扣5分;可能原因少写或错写1条扣1分;故障部位少写或错写1条扣1分;排除方法少写或错写1条扣1分。</td>
  161. </tr>
  162. </table>
  163. <table class="new_table">
  164. <tbody class="task_list">
  165. {if false}
  166. <tr>
  167. <td>故障现象少写或错写1条扣1分</td>
  168. <td><input type="text" name="row[xianxian_score]" value="{$row.xianxian_score|htmlentities}"></td>
  169. <td>
  170. {if $row.xianxian_content_name}
  171. {volist name="row.xianxian_content_name" id="vo" }
  172. <span class="text-danger">{$vo.cx_type}:{$vo.cx_name}</span><br/>
  173. {/volist}
  174. {/if}
  175. </td>
  176. </tr>
  177. <tr>
  178. <td>可能原因少写或错写1条扣1分</td>
  179. <td><input type="text" name="row[yuanyin_socre]" value="{$row.yuanyin_socre|htmlentities}"></td>
  180. <td>
  181. {if $row.yuanyin_content_name}
  182. {volist name="row.yuanyin_content_name" id="vo" }
  183. <span class="text-danger">{$vo.cx_type}:{$vo.cx_name}</span><br/>
  184. {/volist}
  185. {/if}
  186. </td>
  187. </tr>
  188. <tr>
  189. <td>故障部位少写或错写1条扣1分</td>
  190. <td><input type="text" name="row[buwei_score]" value="{$row.buwei_score|htmlentities}"></td>
  191. <td>
  192. {if $row.buwei_content_name}
  193. {volist name="row.buwei_content_name" id="vo" }
  194. <span class="text-danger">{$vo.cx_type}:{$vo.cx_name}</span><br/>
  195. {/volist}
  196. {/if}
  197. </td>
  198. </tr>
  199. <tr>
  200. <td>排除方法少写或错写1条扣1分</td>
  201. <td><input type="text" name="row[fangfa_score]" value="{$row.fangfa_score|htmlentities}"></td>
  202. <td>
  203. {if $row.fangfa_content_name}
  204. {volist name="row.fangfa_content_name" id="vo" }
  205. <span class="text-danger">{$vo.cx_type}:{$vo.cx_name}</span><br/>
  206. {/volist}
  207. {/if}
  208. </td>
  209. </tr>
  210. {/if}
  211. <tr>
  212. <td colspan="3">三.维修时间(10分)</td>
  213. </tr>
  214. <tr>
  215. <td>按每超过1分钟扣1分的比例扣分</td>
  216. <td colspan="2"><input type="text" name="row[overtime_score]" value="{$row.overtime_score|htmlentities}"></td>
  217. </tr>
  218. <tr>
  219. <td colspan="3" style="height: 3.5rem">总得分:{$row.total|htmlentities}</td>
  220. </tr>
  221. </tbody>
  222. </table>
  223. </div>
  224. </div>
  225. </div>
  226. {if $row.is_sure eq 0}
  227. <div class="form-group layer-footer">
  228. <label class="control-label col-xs-12 col-sm-2"></label>
  229. <div class="col-xs-12 col-sm-8">
  230. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  231. </div>
  232. </div>
  233. {/if}
  234. </form>