forked from kidgrow-microservices-platform

zhaoxiaohao
2020-11-30 a6297379c3d779c31cef80b0f30c22978d295b53
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/contract.html
@@ -128,7 +128,7 @@
                updateModel(obj.data);
            } else if (obj.event === 'detail') {
                //充值记录列表
                showModel(obj.data.id);
                showModel(obj.data);
            }
        });
@@ -146,7 +146,8 @@
            });
        });
        var showModel = function (orderId) {
        var showModel = function (data) {
            console.log(data)
            layer.open({
                type: 1,
                title: '查看产品',
@@ -156,9 +157,9 @@
                success: function () {
                    table.render({
                        elem: '#contract-table-detail',
                        url: config.base_server + 'api-opration/productorderrecord',
                        url: config.base_server + 'api-opration/productorderdetail/alldetail',
                        method: 'GET',
                        where: { 'orderId': orderId },
                        where: { hospitalId: data.hospitalId,departmentId:data.departmentId},
                        headers: { 'Authorization': 'Bearer ' + config.getToken().access_token },
                        page: true,
                        limit: 10,