0
0

detail.html 6.8 KB

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