detail.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. <th>操作</th>
  71. <td>
  72. {if $info.status==0}
  73. <a url="{:url('edit',[],'')}/id/{$info.id}" href="javascript:;" data-title="直接处理" onclick="layer_open(this,1)"><span class="label label-primary" title="直接处理">直接处理</span></a>
  74. <a url="{:url('send',[],'')}/id/{$info.id}" href="javascript:;" data-title="转任务" onclick="layer_open(this,1)"><span class="label label-primary" title="转任务">转任务</span></a>
  75. <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>
  76. {/if}
  77. {if $info.order_id > 0 && $info.status==1}
  78. {if $info.to_from==0}
  79. <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>
  80. {else}
  81. <a url="{:url('Complain/tsDetail',['id'=>$info['order_id']])}" href="javascript:;" data-title="投诉详情" onclick="layer_open(this,1)"><span class="label label-primary" title="投诉详情">投诉详情</span></a>
  82. {/if}
  83. {/if}
  84. </td>
  85. </tbody>
  86. </table>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. {/block}
  92. {block name="script"}
  93. {/block}