| | |
| | | <div class="layui-card"> |
| | | <div class="layui-card-header"> |
| | | <h2 class="header-title">产品消费记录</h2> |
| | | <h2 class="header-title">产品充值记录</h2> |
| | | <span class="layui-breadcrumb pull-right"> |
| | | <a href="#!console">首页</a> |
| | | <a><cite>产品消费记录</cite></a> |
| | | <a><cite>产品充值记录</cite></a> |
| | | </span> |
| | | </div> |
| | | <div class="layui-card-body"> |
| | |
| | | headers: { 'Authorization': 'Bearer ' + config.getToken().access_token }, |
| | | page: true, |
| | | cols: [[ |
| | | { field: 'hospitalName', width: 300, title: '医院名称' }, |
| | | { field: 'hospitalId', width: 180, title: '医院编号' }, |
| | | { field: 'hospitalName', width: 200, title: '医院名称' }, |
| | | { field: 'departmentName', width: 100, title: '科室名称' }, |
| | | { field: 'proName', width: 250, title: '产品名称' }, |
| | | { field: 'proName', width: 200, title: '产品名称' }, |
| | | { |
| | | field: 'proType', sort: true, align: 'center', width: 80, templet: function (d) { |
| | | if (d.proType === 0) |
| | |
| | | { field: 'proEndtime', width: 120, title: '结束时间',templet:function(d){ |
| | | return new Date(d.proEndtime).dateFormat("yyyy/MM/dd"); |
| | | } }, |
| | | // { field: 'createTime', width: 160, sort: true, title: '创建时间',templet:function(d){ |
| | | // return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss"); |
| | | // } }, |
| | | { field: 'createTime', width: 200, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, |
| | | { align: 'center', width: 100, toolbar: '#product-table-bar', title: '操作' } |
| | | { align: 'center', width: 100, toolbar: '#product-table-bar', title: '操作', |
| | | fixed: 'right' } |
| | | ]] |
| | | }); |
| | | } |