| | |
| | | <div class="layui-card-body"> |
| | | <div class="layui-form toolbar">  |
| | | <input id="user-search-value" class="layui-input search-input" type="text" placeholder="输入医生姓名"/>  |
| | | <input type="text" name="date" id="datebegin" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input search-input"> |
| | | <input type="text" name="date" id="datebegin" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" |
| | | class="layui-input search-input"> |
| | | 至 |
| | | <input type="text" name="date" id="dateend" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input search-input">   |
| | | <input type="text" name="date" id="dateend" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" |
| | | class="layui-input search-input">   |
| | | <button id="user-btn-search" class="layui-btn icon-btn"><i class="layui-icon"></i>搜索</button> |
| | | </div> |
| | | |
| | |
| | | ]] |
| | | }); |
| | | |
| | | // 修改menu状态 |
| | | // 修改状态 |
| | | form.on('switch(feedback-tpl-state)', function (obj) { |
| | | layer.load(2); |
| | | admin.req('api-opration/sysfeedback/updateEnabled', { |
| | |
| | | }, 'DELETE'); |
| | | }); |
| | | } |
| | | else if(obj.event=='detail') |
| | | { |
| | | else if (obj.event == 'detail') { |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: config.base_server +"api-opration/sysfeedback/"+obj.data.id, |
| | | success: function(data) { |
| | | if(data!=null) |
| | | { |
| | | if (data != null) { |
| | | layer.open({ |
| | | type: 1, |
| | | title: '详情', |
| | | area: ['500px','300px'], |
| | | offset: 'auto', |
| | | content: $("#feedback-detail").html(), |
| | | success:function(obj) |
| | | { |
| | | success: function (obj) { |
| | | $("#feedback-detail-note").html(data.data.feedbackNote); |
| | | } |
| | | }); |
| | | } |
| | | else |
| | | { |
| | | else { |
| | | layer.msg('未找到相关数据', {icon: 1, time: 500}); |
| | | } |
| | | }, |
| | |
| | | var doctorName = $('#user-search-value').val(); |
| | | var datebegin=$('#datebegin').val(); |
| | | var dateend=$('#dateend').val(); |
| | | if(strUtil.isEmpty(datebegin)&&!strUtil.isEmpty(dateend)) |
| | | { |
| | | if (strUtil.isEmpty(datebegin) && !strUtil.isEmpty(dateend)) { |
| | | datebegin=dateUtil.getNowDate(); |
| | | $('#datebegin').val(datebegin); |
| | | } |
| | | if(!strUtil.isEmpty(datebegin)&&strUtil.isEmpty(dateend)) |
| | | { |
| | | if (!strUtil.isEmpty(datebegin) && strUtil.isEmpty(dateend)) { |
| | | dateend=dateUtil.getNowDate(); |
| | | $('#dateend').val(dateend); |
| | | } |