e5a1eadac5e3cf0920c663ad181aa7eb.php 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <?php /*a:3:{s:70:"/data/web/mall.valimart.net/app/admin/view/complain/complain_list.html";i:1657785096;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;s:66:"/data/web/mall.valimart.net/app/admin/view/public/admin_items.html";i:1657785098;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
  10. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
  11. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  12. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  13. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  14. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  15. <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
  16. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  17. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  18. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  19. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  20. <script type="text/javascript">
  21. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  22. var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
  23. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  24. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  25. var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
  26. </script>
  27. </head>
  28. <body>
  29. <div id="append_parent"></div>
  30. <div id="ajaxwaitid"></div>
  31. <div class="page">
  32. <div class="fixed-bar">
  33. <div class="item-title">
  34. <div class="subject">
  35. <h3><?php echo htmlentities(lang('ds_complain')); ?></h3>
  36. <h5></h5>
  37. </div>
  38. <?php if($admin_item): ?>
  39. <ul class="tab-base ds-row">
  40. <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
  41. <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
  42. <?php endforeach; endif; else: echo "" ;endif; ?>
  43. </ul>
  44. <?php endif; ?>
  45. </div>
  46. </div>
  47. <form id="search_form" method="get" name="formSearch">
  48. <div class="ds-search-form">
  49. <dl>
  50. <dt><?php echo htmlentities(lang('complain_accuser')); ?></dt>
  51. <dd><input class="txt" type="text" name="input_complain_accuser" id="input_complain_accuser" value="<?php echo htmlentities(app('request')->get('input_complain_accuser')); ?>"></dd>
  52. </dl>
  53. <dl>
  54. <dt><?php echo htmlentities(lang('complain_subject_content')); ?></dt>
  55. <dd><input class="txt2" type="text" name="input_complain_subject_content" id="input_complain_subject_content" value="<?php echo htmlentities(app('request')->get('input_complain_subject_content')); ?>"></dd>
  56. </dl>
  57. <dl>
  58. <dt><?php echo htmlentities(lang('complain_accused')); ?></dt>
  59. <dd><input class="txt" type="text" name="input_complain_accused" id="input_complain_accused" value="<?php echo htmlentities(app('request')->get('input_complain_accused')); ?>"></dd>
  60. </dl>
  61. <dl>
  62. <dt><?php echo htmlentities(lang('complain_datetime')); ?></dt>
  63. <dd>
  64. <input id="time_from" class="txt date" type="text" name="input_complain_datetime_start" value="<?php echo htmlentities(app('request')->get('input_complain_datetime_start')); ?>">
  65. ~
  66. <input id="time_to" class="txt date" type="text" name="input_complain_datetime_end" value="<?php echo htmlentities(app('request')->get('input_complain_datetime_end')); ?>">
  67. </dd>
  68. </dl>
  69. <div class="btn_group">
  70. <a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
  71. <a href="<?php echo url(''); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
  72. </div>
  73. </div>
  74. </form>
  75. <div class="explanation" id="explanation">
  76. <div class="title" id="checkZoom">
  77. <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
  78. <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
  79. </div>
  80. <ul>
  81. <li><?php echo htmlentities(lang('complain_help1')); ?></li>
  82. <li><?php echo htmlentities(lang('complain_help2')); ?></li>
  83. <li><?php echo htmlentities(lang('complain_help3')); ?></li>
  84. </ul>
  85. </div>
  86. <table class="ds-default-table">
  87. <thead>
  88. <tr class="thead">
  89. <th class="w12">&nbsp;</th>
  90. <th><?php echo htmlentities(lang('complain_accuser')); ?></th>
  91. <th><?php echo htmlentities(lang('complain_accused')); ?></th>
  92. <th><?php echo htmlentities(lang('complain_subject_content')); ?></th>
  93. <th class="align-center"><?php echo htmlentities(lang('complain_datetime')); ?></th>
  94. <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
  95. </tr>
  96. </thead>
  97. <tbody>
  98. <?php if(!(empty($complain_list) || (($complain_list instanceof \think\Collection || $complain_list instanceof \think\Paginator ) && $complain_list->isEmpty()))): if(is_array($complain_list) || $complain_list instanceof \think\Collection || $complain_list instanceof \think\Paginator): if( count($complain_list)==0 ) : echo "" ;else: foreach($complain_list as $key=>$v): ?>
  99. <tr class="hover">
  100. <td>&nbsp;</td>
  101. <td><?php echo htmlentities($v['accuser_name']); ?></td>
  102. <td><?php echo htmlentities($v['accused_name']); ?></td>
  103. <td><?php echo htmlentities($v['complain_subject_content']); ?></td>
  104. <td class="nowarp align-center"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($v['complain_datetime'])? strtotime($v['complain_datetime']) : $v['complain_datetime'])); ?></td>
  105. <td class="align-center"><a href="<?php echo url('Complain/complain_progress',['complain_id'=>$v['complain_id']]); ?>" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_detail')); ?></a></td>
  106. </tr>
  107. <?php endforeach; endif; else: echo "" ;endif; else: ?>
  108. <tr class="no_data">
  109. <td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
  110. </tr>
  111. <?php endif; ?>
  112. </tbody>
  113. </table>
  114. <?php if(!(empty($complain_list) || (($complain_list instanceof \think\Collection || $complain_list instanceof \think\Paginator ) && $complain_list->isEmpty()))): ?>
  115. <?php echo $show_page; ?>
  116. <?php endif; ?>
  117. </div>
  118. <script type="text/javascript">
  119. $(document).ready(function(){
  120. //表格移动变色
  121. $("tbody .line").hover(
  122. function()
  123. {
  124. $(this).addClass("complain_highlight");
  125. },
  126. function()
  127. {
  128. $(this).removeClass("complain_highlight");
  129. });
  130. $('#time_from').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
  131. var year2 = dateText.split('-') ;
  132. $('#time_to').datepicker( "option", "minDate", new Date(parseInt(year2[0]),parseInt(year2[1])-1,parseInt(year2[2])) );
  133. }});
  134. $('#time_to').datepicker({dateFormat: 'yy-mm-dd',onSelect:function(dateText,inst){
  135. var year1 = dateText.split('-') ;
  136. $('#time_from').datepicker( "option", "maxDate", new Date(parseInt(year1[0]),parseInt(year1[1])-1,parseInt(year1[2])) );
  137. }});
  138. });
  139. </script>