forked from kidgrow-microservices-platform

zhaoxiaohao
2021-04-22 d6c989a5d9122e5cf969dd640a92b8e12caf8aa6
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/keaigao/AdvisoryManager.html
@@ -11,9 +11,8 @@
            <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">
@@ -47,7 +46,7 @@
        退款
    </button>
    {{# } }}
    {{# if(d.type == 1){ }}
    {{# if(d.type == 1 && d.consultationStatus != 4 && d.consultationStatus != -1){ }}
    <button class="layui-btn layui-btn-primary layui-btn-xs" lay-event="complete">
        完成
    </button>
@@ -81,7 +80,7 @@
                    },{
                        field: 'type',
                        width: "90",
                        title: '类型',
                        title: '服务类型',
                        fixed: 'left',
                        templet: function (d) {
                            if (d.type == 1) {
@@ -237,10 +236,10 @@
                    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');
                });