info.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <!--<div class="ibox-title">-->
  7. <!--<h5>品控任务详情</h5>-->
  8. <!--<div class="ibox-tools">-->
  9. <!--<a class="toback" href="{:url('index')}">-->
  10. <!--返回上一页-->
  11. <!--</a>-->
  12. <!--</div>-->
  13. <!--</div>-->
  14. <div class="ibox-content">
  15. <h5>任务信息</h5>
  16. <table class="table">
  17. <tbody>
  18. <tr>
  19. <th style="width:130px ">任务名称</th><td>{$info['title']}</td>
  20. </tr>
  21. <tr>
  22. <th>开始时间</th><td>{$info['start_time']}</td>
  23. </tr>
  24. <tr>
  25. <th>结束时间</th><td>{$info['end_time']}</td>
  26. </tr>
  27. <tr>
  28. <th>执行人员</th><td>{$info['task_user']}</td>
  29. </tr>
  30. <tr>
  31. <th>任务状态</th>
  32. {if condition="$info['status'] eq 0"}
  33. <td>未执行</td>
  34. {elseif condition="$info['status'] eq 1"}
  35. <td>执行中</td>
  36. {elseif condition="$info['status'] eq 2"}
  37. <td>已完成</td>
  38. {elseif condition="$info['status'] eq 3"}
  39. <td>未完成</td>
  40. {elseif condition="$info['status'] eq 6"}
  41. <td>已关闭</td>
  42. {/if}
  43. </tr>
  44. </tbody>
  45. </table>
  46. <div id="vue-plan">
  47. <p><br></p>
  48. <h5>品控路线</h5>
  49. <hr>
  50. <el-steps direction="vertical">
  51. {volist name="info['addrForms']" id="v"}
  52. <el-step title="{$v.addrTitle}">
  53. <div slot="description">
  54. {empty name="v['record']"}
  55. 暂无记录
  56. <p><br></p>
  57. {else /}
  58. <p><br></p>
  59. <table class="table">
  60. <tr>
  61. <td style="width: 100px;">关联地点</td>
  62. <td>{$v['ts']}</td>
  63. </tr>
  64. <tr>
  65. <td style="width: 100px;">时间</td>
  66. <td>{$v['record']['create_time']}</td>
  67. </tr>
  68. <tr>
  69. <td>执行人员</td>
  70. <td>{$v['record']['uname']}</td>
  71. </tr>
  72. <tr>
  73. <td>检查项</td>
  74. <td>
  75. <table class="table table-bordered">
  76. <thead>
  77. <tr>
  78. <th>序号</th>
  79. <th>内容</th>
  80. <th>完成</th>
  81. </tr>
  82. </thead>
  83. {volist name="v['record']['check_json']" id="voo" key="kkk"}
  84. <tr>
  85. <td width="10%">{$kkk+1}</td>
  86. <td width="45%">{$voo['title']}</td>
  87. <td width="45%">
  88. {eq name="voo['type']" value="1"}
  89. {$voo.result}
  90. {else /}
  91. {eq name="voo['result']" value="1"}
  92. <input type="checkbox" checked disabled>
  93. {else /}
  94. <input type="checkbox" disabled>
  95. {/eq}
  96. {/eq}
  97. </td>
  98. </tr>
  99. {/volist}
  100. </table>
  101. </td>
  102. </tr>
  103. </table>
  104. {/empty}
  105. </div>
  106. </el-step>
  107. {/volist}
  108. </el-steps>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. {/block}
  114. {block name="script"}
  115. <script>
  116. new Vue({
  117. el: '#vue-plan',
  118. data: function() {
  119. return {
  120. }
  121. },
  122. watch: {
  123. },
  124. computed: {
  125. },
  126. created(){
  127. },
  128. methods: {
  129. }
  130. })
  131. </script>
  132. {/block}