detail.html 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <style>
  4. .ctable td{
  5. min-width: 150px!important;
  6. max-width: 300px!important;
  7. }
  8. .col-sm-8{
  9. padding-top: 7px;
  10. }
  11. </style>
  12. <div class="row">
  13. <div class="col-sm-12">
  14. <div class="ibox float-e-margins">
  15. <!--<div class="ibox-title">-->
  16. <!--<h5>计划详情</h5>-->
  17. <!--<div class="ibox-tools">-->
  18. <!--<a class="toback" href="{:url('index',['mode'=>$info['patrol_mode']])}">-->
  19. <!--返回上一页-->
  20. <!--</a>-->
  21. <!--</div>-->
  22. <!--</div>-->
  23. <div class="ibox-content" id="vue-plan">
  24. <form method="post" class="form-horizontal">
  25. <div>
  26. <div class="form-group">
  27. <label class="col-sm-2 control-label">任务名称</label>
  28. <div class="col-sm-8">
  29. {$info.title}
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="col-sm-2 control-label">计划时间</label>
  34. <div class="col-sm-8">
  35. {$info.start_time} ~ {$info.end_time}
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="col-sm-2 control-label">创建人</label>
  40. <div class="col-sm-8">
  41. {$info.uname}
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="col-sm-2 control-label">创建日期</label>
  46. <div class="col-sm-8">
  47. {$info.create_time}
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label class="col-sm-2 control-label">所属分类</label>
  52. <div class="col-sm-8">
  53. {$info.cateName}
  54. </div>
  55. </div>
  56. <div class="form-group">
  57. <label class="col-sm-2 control-label">地点</label>
  58. <div class="col-sm-8">
  59. <div>共{:count($info['content']['addrForms'])}个</div>
  60. <table class="table table-bordered">
  61. {volist name="info['content']['addrForms']" id="v"}
  62. <tr>
  63. <td>{$v.addrTitle}</td>
  64. <td>
  65. {volist name="v['forms']" id="vo"}
  66. <span>{$vo['title']};</span>
  67. {/volist}
  68. </td>
  69. </tr>
  70. {/volist}
  71. </table>
  72. </div>
  73. </div>
  74. <div class="form-group">
  75. <label class="col-sm-2 control-label">是否按顺序执行</label>
  76. <div class="col-sm-8">
  77. {eq name="info['in_order']" value="0"}否{/eq}
  78. {eq name="info['in_order']" value="1"}是{/eq}
  79. </div>
  80. </div>
  81. {if condition="$info['lines']"}
  82. <div class="form-group">
  83. <label class="col-sm-2 control-label">路线时间设置</label>
  84. <div class="col-sm-8">
  85. <table class="table table-bordered">
  86. <tr>
  87. <th class="">路线</th>
  88. <th class="">时间跨度(分钟)</th>
  89. <th class="">浮动时间(分钟)</th>
  90. </tr>
  91. {volist name="info['lines']" id="v"}
  92. <tr>
  93. <td>{$v.st} ~ {$v.et}</td>
  94. <td>{$v.kd}</td>
  95. <td>{$v.fd}</td>
  96. </tr>
  97. {/volist}
  98. </table>
  99. </div>
  100. </div>
  101. {/if}
  102. <div class="form-group">
  103. <label class="col-sm-2 control-label">设置人员</label>
  104. <div class="col-sm-8">
  105. {$info.unames}
  106. </div>
  107. </div>
  108. {eq name="info['content']['dateType']" value="2"}
  109. <div class="form-group">
  110. <label class="col-sm-2 control-label">周期</label>
  111. <div class="col-sm-8">
  112. {volist name="info['content']['dateWeeks']" id="v"}
  113. <el-tag
  114. style="margin-right: 5px;cursor: pointer"
  115. size="small"
  116. type="{$v.type}"
  117. effect="dark"
  118. >
  119. {$v['title']}
  120. </el-tag>
  121. {/volist}
  122. </div>
  123. </div>
  124. {/eq}
  125. {eq name="info['content']['dateType']" value="3"}
  126. <div class="form-group">
  127. <label class="col-sm-2 control-label">自定义</label>
  128. <div class="col-sm-8">
  129. 自{$info['content']['dateFrom']}开始,工作{$info['content']['datePlay']}天,暂停{$info['content']['datePause']}天,每天在规定时间段内进行任务。
  130. </div>
  131. </div>
  132. {/eq}
  133. <div class="form-group">
  134. <label class="col-sm-2 control-label">时间段</label>
  135. <div class="col-sm-8">
  136. {volist name="info['content']['dateTimes']" id="v"}
  137. <el-tag style="margin-right: 5px;margin-bottom: 5px" size="small">
  138. {$v.stime} ~ {eq name="v['stype']" value="1"}<span>{$v.sday}日后</span>{/eq}{$v.etime}
  139. </el-tag>
  140. {/volist}
  141. </div>
  142. </div>
  143. <div class="form-group">
  144. <div class="text-center">任务表</div>
  145. <div class="table-responsive">
  146. <table class="table table-bordered ctable text-center">
  147. <tr>
  148. <td></td>
  149. {volist name="info['content']['tasks']['days']" id="v"}
  150. <td>{$v}</td>
  151. {/volist}
  152. </tr>
  153. {volist name="info['content']['tasks']['list']" id="v"}
  154. <tr>
  155. <td>{$v['time']['stime']} ~ {eq name="v['time']['stype']" value="1"}<span>{$v['time']['sday']}日后</span>{/eq}{$v['time']['etime']}</td>
  156. {volist name="info['content']['tasks']['days']" id="vo"}
  157. <td>
  158. {volist name="v['list']" id="voo"}
  159. {if condition="$voo['day'] eq $vo"}
  160. <span>{$voo.userNames}</span>
  161. {/if}
  162. {/volist}
  163. </td>
  164. {/volist}
  165. </tr>
  166. {/volist}
  167. </table>
  168. </div>
  169. </div>
  170. </div>
  171. </form>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. {/block}
  177. {block name="script"}
  178. <script>
  179. </script>
  180. {/block}