| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- {extend name="layout/content" /}
- {block name="header"}
- <title>渠道意见反馈管理</title>
- <link rel="stylesheet" href="__STATIC__/css/FuzzySearch.css?v={$Think.STATIC_VERSION}">
- <style>
- .clearfix:before,
- .clearfix:after {
- content: " ";
- display: table;
- }
- .clearfix:after {
- clear: both;
- }
- .clear{
- clear:both;
- height: 0;
- height: 0;
- overflow:hidden;
- }
- .over-flow{
- overflow: auto;
- zoom: 1;
- }
- </style>
- {/block}
- {block name="content"}
- <div class="x-body">
-
- <form class="layui-form" method="get" action="{:url('feedback')}">
- <div style="float: right;">
- <label class="">诉求编号:</label>
- <div class="layui-input-inline FuzzySearch_Container">
- <div>
- <input type="text" name="order_num" value="{:input('request.order_num', '')}" />
- </div>
- </div>
- <!-- 模糊搜索 -->
- <label class="">反馈标题:</label>
- <div class="layui-input-inline FuzzySearch_Container">
- <div>
- <input type="text" name="title" value="{:input('request.title', '')}" />
- </div>
- </div>
- <!-- 模糊搜索 -->
- <label class="">渠道名:</label>
- <div class="layui-input-inline FuzzySearch_Container">
- <div>
- <input type="hidden" id='J_channelid' name="channel_id" value="{:input('request.channel_id', '')}" />
- </div>
- </div>
- <label class="">状态:</label>
- <div class="layui-input-inline set_width">
- <select name="is_reply">
- <option value="">- 请选择状态 -</option>
- <option {if condition="input('is_reply') eq '0'" }selected="selected" {/if} value="0">未回复</option>
- <option {if condition="input('is_reply') eq '1'" }selected="selected" {/if} value="1">已回复</option>
- </select>
- </div>
- <div class="layui-inline">
- <label class="layui-form-label" style="width:90px;">诉求时间:</label>
- <input class="layui-input" placeholder="开始时间" name="start_time" id="J_start" value="{:input('request.start_time')}" autocomplete="off" style="width:130px;display:inline-block">
- <span>-</span>
- <input class="layui-input" placeholder="结束时间" name="end_time" id="J_end" value="{:input('request.end_time')}" autocomplete="off" style="width:130px;display:inline-block">
- </div>
- <div class="layui-inline" style="margin-left:10px;">
- <button class="layui-btn" lay-submit id="J_search_submit">搜索</button>
- <a class="layui-btn" href="{:url('feedback')}">清空</a>
- </div>
- </div>
- <div class="clear"></div>
- <table class="layui-table">
- <thead>
- <tr>
- <th>诉求编号</th>
- <th>反馈标题</th>
- <th>反馈渠道</th>
- <th>状态</th>
- <th>回复账号</th>
- <th>诉求时间</th>
- <th>回复时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- {volist name="list" id="vo"}
- <tr>
- <td>{$vo.order_num}</td>
- <td>{$vo.title}</td>
- <td>
- {eq name="$vo.is_anonymous" value="1"}
- *****
- {else/}
- {$vo.channel_name}
- {/eq}
- </td>
- <td>
- {eq name="$vo.is_reply" value="1"}
- 已回复
- {else/}
- <span style="color: red">未回复</span>
- {/eq}
- </td>
- <td>{$vo.username}</td>
- <td>
- {$vo.create_time? date('Y-m-d H:i:s',$vo.create_time) : '' }
- </td>
- <td>
- {$vo.update_time? date('Y-m-d H:i:s',$vo.update_time) : '' }
- </td>
-
- <td>
- <a href="{:url('feedbackReply', array('id'=>$vo['id']))}" class="layui-btn {eq name='$vo.is_reply' value='0' } layui-btn-danger {/eq} "><i class="layui-icon"></i>{eq name='$vo.is_reply' value='1' } 编辑 {else/} 回复 {/eq}</a>
- </td>
- </tr>
- {/volist}
- {empty name="list"}
- <tr><td colspan="8">暂无数据</td></tr>
- {/empty}
- </tbody>
- </table>
-
- <div class="pager-container">
- <span>
- {$list->total()}条记录
- </span>
- {$page}
- <div class="layui-inline" style="margin-left:10px;width:80px;">
- <input type="text" style="height: 30px;" class="layui-input" placeholder="跳转至" name="page" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')">
- </div>
- </div>
- </form>
- {/block}
- {block name="footer"}
- <script type="text/javascript" src="__STATIC__/js/FuzzySearch.js?v={$Think.STATIC_VERSION}"></script>
- <script>
- $("#J_channelid").FuzzySearch({
- inputID : 'J_channelid',
- title : '请输入渠道名称',
- searchBtn :'J_search_submit',
- ajaxUrl : '{:url("Pay/ajaxGetNoComplexChannel")}',
- });
- layui.use('laydate', function () {
- var laydate = layui.laydate;
- //执行一个laydate实例
- laydate.render({
- elem: '#J_start', //指定元素
- type: 'date'
- });
- //执行一个laydate实例
- laydate.render({
- elem: '#J_end', //指定元素
- type: 'date'
- });
- });
- </script>
- {/block}
|