| | |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <select id="type" lay-filter="role_clients"> |
| | | <option value="">咨询类型</option> |
| | | <option value="">服务类型</option> |
| | | <option value="1">图文</option> |
| | | <option value="2">电话</option> |
| | | <option value="3">图文/电话</option> |
| | | </select> |
| | | <select id="status" lay-filter="role_clients"> |
| | |
| | | },{ |
| | | field: 'type', |
| | | width: "90", |
| | | title: '类型', |
| | | title: '服务类型', |
| | | fixed: 'left', |
| | | templet: function (d) { |
| | | if (d.type == 1) { |
| | |
| | | admin.req('api-opration/advisorydoctor/refund', JSON.stringify({'advisoryId':obj.advisoryId}), function (data) { |
| | | layer.closeAll('loading'); |
| | | if (data.code == 0) { |
| | | layer.msg(data.msg, { icon: 1, time: 2000 }); |
| | | layer.msg("申请成功,请等待微信退款!", { icon: 1, time: 2000 }); |
| | | table.reload('app-table', {}); |
| | | } else { |
| | | layer.msg(data.msg, { icon: 2, time: 2000 }); |
| | | layer.msg("操作失败", { icon: 2, time: 2000 }); |
| | | } |
| | | }, 'POST'); |
| | | }); |