detail.html 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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')}">
  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. <div>共{:count($info['content']['addrForms'])}个</div>
  54. <table class="table table-bordered">
  55. {volist name="info['content']['addrForms']" id="v"}
  56. <tr>
  57. <td>{$v.addrTitle}</td>
  58. <td>{$v.formTitle}</td>
  59. </tr>
  60. {/volist}
  61. </table>
  62. </div>
  63. </div>
  64. <div class="form-group">
  65. <label class="col-sm-2 control-label">设置人员</label>
  66. <div class="col-sm-8">
  67. {$info.unames}
  68. </div>
  69. </div>
  70. {eq name="info['content']['dateType']" value="2"}
  71. <div class="form-group">
  72. <label class="col-sm-2 control-label">周期</label>
  73. <div class="col-sm-8">
  74. {volist name="info['content']['dateWeeks']" id="v"}
  75. <el-tag
  76. style="margin-right: 5px;cursor: pointer"
  77. size="small"
  78. type="{$v.type}"
  79. effect="dark"
  80. >
  81. {$v['title']}
  82. </el-tag>
  83. {/volist}
  84. </div>
  85. </div>
  86. {/eq}
  87. {eq name="info['content']['dateType']" value="3"}
  88. <div class="form-group">
  89. <label class="col-sm-2 control-label">自定义</label>
  90. <div class="col-sm-8">
  91. 自{$info['content']['dateFrom']}开始,工作{$info['content']['datePlay']}天,暂停{$info['content']['datePause']}天,每天在规定时间段内进行任务。
  92. </div>
  93. </div>
  94. {/eq}
  95. <div class="form-group">
  96. <label class="col-sm-2 control-label">时间段</label>
  97. <div class="col-sm-8">
  98. {volist name="info['content']['dateTimes']" id="v"}
  99. <el-tag style="margin-right: 5px;margin-bottom: 5px" size="small">
  100. {$v.stime} ~ {eq name="v['stype']" value="1"}<span>{$v.sday}日后</span>{/eq}{$v.etime}
  101. </el-tag>
  102. {/volist}
  103. </div>
  104. </div>
  105. <div class="form-group">
  106. <div class="text-center">任务表</div>
  107. <div class="table-responsive">
  108. <table class="table table-bordered ctable text-center">
  109. <tr>
  110. <td></td>
  111. {volist name="info['content']['tasks']['days']" id="v"}
  112. <td>{$v}</td>
  113. {/volist}
  114. </tr>
  115. {volist name="info['content']['tasks']['list']" id="v"}
  116. <tr>
  117. <td>{$v['time']['stime']} ~ {eq name="v['time']['stype']" value="1"}<span>{$v['time']['sday']}日后</span>{/eq}{$v['time']['etime']}</td>
  118. {volist name="info['content']['tasks']['days']" id="vo"}
  119. <td>
  120. {volist name="v['list']" id="voo"}
  121. {if condition="$voo['day'] eq $vo"}
  122. <span>{$voo.userNames}</span>
  123. {/if}
  124. {/volist}
  125. </td>
  126. {/volist}
  127. </tr>
  128. {/volist}
  129. </table>
  130. </div>
  131. </div>
  132. </div>
  133. </form>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. {/block}
  139. {block name="script"}
  140. <script>
  141. </script>
  142. {/block}