detail.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <style>
  4. .custom-table th,td{
  5. padding: 10px;
  6. }
  7. .custom-table th{
  8. width: 120px;
  9. text-align: left;
  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">
  24. <table class="table custom-table table-bordered">
  25. <tbody>
  26. <tr>
  27. <th>投诉人</th><td>{$info['realName']}</td>
  28. </tr>
  29. <tr>
  30. <th>时间</th><td>{$info['create_time']}</td>
  31. </tr>
  32. <tr>
  33. <th>部门</th><td>{$info['depName']}</td>
  34. </tr>
  35. <tr>
  36. <th>内容</th><td>{$info['content']}</td>
  37. </tr>
  38. <tr>
  39. <th>处理意见</th><td>{$info['note']}</td>
  40. </tr>
  41. {if !empty($info['voices'])}
  42. <tr>
  43. <th>语音</th><td><audio src="{$info['voices']}" controls></audio></td>
  44. </tr>
  45. {/if}
  46. {if !empty($info['images'])}
  47. <tr>
  48. <th>图片</th>
  49. <td>
  50. <p>
  51. {foreach $info['images'] as $key=>$val}
  52. <img onclick="open_img(this)" src="{$val}" width="60" height="60">
  53. {/foreach}
  54. </p>
  55. </td>
  56. </tr>
  57. {/if}
  58. {if !empty($info['videos'])}
  59. <tr>
  60. <th>视频</th>
  61. <td style="width: 200px!important;height: 200px;!important;">
  62. <video style="width: 200px!important;height: 200px;!important;" src="{$info['videos']}" controls="controls">
  63. </video>
  64. </td>
  65. </tr>
  66. {/if}
  67. <tr>
  68. <th>状态</th><td>{$info['statusTxt']}</td>
  69. </tr>
  70. {if $info['name']}
  71. <tr>
  72. <th>联系人</th><td>{$info['name']}</td>
  73. </tr>
  74. {/if}
  75. {if $info['phone']}
  76. <tr>
  77. <th>电话</th><td>{$info['phone']}</td>
  78. </tr>
  79. {/if}
  80. {if $info['status']==2}
  81. <tr>
  82. <th>评价</th>
  83. <td>
  84. <link rel="stylesheet" href="/static/bootstrap-star-rating/css/star-rating.css">
  85. <script src="/static/bootstrap-star-rating/js/star-rating.js"></script>
  86. <div class="atar_show">
  87. <input id="input-id" type="hidden" class="rating" value="{$info['comment']['score']}" disabled data-size="xs" >
  88. </div>
  89. <script>
  90. $("#input-id").rating({
  91. showclear:false,
  92. showcaption: false,
  93. });
  94. </script>
  95. <div>
  96. {$info['comment']['content']}
  97. </div>
  98. </td>
  99. </tr>
  100. {/if}
  101. <th>操作</th>
  102. <td>
  103. {if $info.status==0}
  104. <a url="{:url('edit',[],'')}/id/{$info.id}" href="javascript:;" data-title="直接处理" onclick="layer_open(this,1)"><span class="label label-primary" title="直接处理">直接处理</span></a>
  105. <a url="{:url('send',[],'')}/id/{$info.id}" href="javascript:;" data-title="转任务" onclick="layer_open(this,1)"><span class="label label-primary" title="转任务">转任务</span></a>
  106. <a url="{:url('ts_send',[],'')}/id/{$info.id}" href="javascript:;" data-title="转单" onclick="layer_open(this,1)"><span class="label label-primary" title="转单">转单</span></a>
  107. {/if}
  108. {if $info.order_id > 0 && $info.status==1}
  109. {if $info.to_from==0}
  110. <a url="{:url('Orders/zg_detail',['id'=>$info['order_id']])}" href="javascript:;" data-title="订单详情" onclick="layer_open(this,1)"><span class="label label-primary" title="订单详情">订单详情</span></a>
  111. {else}
  112. <a url="{:url('Hiddendanger/yhDetail',['id'=>$info['order_id']])}" href="javascript:;" data-title="隐患详情" onclick="layer_open(this,1)"><span class="label label-primary" title="隐患详情">隐患详情</span></a>
  113. {/if}
  114. {/if}
  115. {if ($info['status'] == 1 && $info['order_id'] == 0) || ($info.status == 1 && $info.order_mode == 3 || $info.order_mode == 5 || $info.order_mode == 6)}
  116. <a url="{:url('summary',[],'')}/id/{$info.id}" href="javascript:;" data-title="总结" onclick="layer_open(this,1)"><span class="label label-primary" title="总结">总结</span></a>
  117. {/if}
  118. </td>
  119. </tbody>
  120. </table>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. {/block}
  126. {block name="script"}
  127. {/block}