| | |
| | | { title: "累计提现", key: mo[i].totalExtract, value: "¥"+mo[i].totalExtract }, |
| | | { title: "未到账收益", key: mo[i].unaccountedMoney, value: "¥"+mo[i].unaccountedMoney }, |
| | | { title: "本月订单", key: mo[i].id, value: mo[i].monthOrder,}, |
| | | { title: "累计订单", key: mo[i].id, value: mo[i].totalOrder +" 更多>" ,class:"font-blue", click:"getOrderView" }, |
| | | { title: "累计订单", key: mo[i].id, value:"订单统计" ,class:"font-blue", click:"getOrderView" }, |
| | | { title: "剩余金币", key: mo[i].goldCoin, value: mo[i].goldCoin }, |
| | | { title: "直接粉丝", key: mo[i].id, value: mo[i].countLevelOne +" 更多>",class:"font-blue", click:"getFansView" }, |
| | | { title: "直接粉丝", key: mo[i].id, value: "队员统计",class:"font-blue", click:"getFansView" }, |
| | | { title: "手机号", key: mo[i].phone, value: mo[i].phone }, |
| | | { title: "微信", key: mo[i].wxUnionId, value: mo[i].wxName }, |
| | | { title: "淘宝", key: mo[i].taoBaoUid, value: mo[i].tbName }, |
| | |
| | | layui.use('layer', function(){
|
| | | layer.open({
|
| | | type: 2,
|
| | | title: '订单统计信息',
|
| | | title: '订单信息',
|
| | | shadeClose: true,
|
| | | shade: 0.8,
|
| | | area: ['40%', '40%'],
|
| | | area: ['40%', '48%'],
|
| | | content: 'order_statistics.html?id=' + key ,//iframe的url
|
| | | });
|
| | | });
|
| | |
| | | layui.use('layer', function(){
|
| | | layer.open({
|
| | | type: 2,
|
| | | title: '订单统计信息',
|
| | | title: '粉丝信息',
|
| | | shadeClose: true,
|
| | | shade: 0.8,
|
| | | area: ['45%', '20%'],
|
| | | area: ['40%', '30%'],
|
| | | content: 'team_fans_statistics.html?id=' + key ,//iframe的url
|
| | | });
|
| | | });
|
| | |
| | | ], |
| | | }); |
| | | </script>
|
| | | |
| | | <style>
|
| | | .layui-table[lay-skin=row] td, .layui-table[lay-skin=row] th {
|
| | | border-width: 1px 1px 1px 1px;
|
| | | }
|
| | | </style>
|
| | | |
| | | </head> |
| | | <body>
|
| | | <div id="orderInfo" >
|
| | | <div id="orderInfo" style="text-align: center;">
|
| | | <table class="layui-table" lay-skin="row">
|
| | | <colgroup>
|
| | | <col width="50">
|
| | |
| | | </colgroup>
|
| | | <thead>
|
| | | <tr>
|
| | | <th>状态</th>
|
| | | <th>自购订单</th>
|
| | | <th>自购分享</th>
|
| | | <th>总数</th>
|
| | | <th style="text-align: center;">状态</th>
|
| | | <th style="text-align: center;">自购</th>
|
| | | <th style="text-align: center;">分享</th>
|
| | | <th style="text-align: center;">总计</th>
|
| | | </tr>
|
| | | </thead>
|
| | | <tbody>
|
| | | <tr>
|
| | | <td>未到账</td>
|
| | | <td>{{selfNum}}</td>
|
| | | <td>{{shareNum}}</td>
|
| | | <td>{{selfNum + shareNum}}</td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>已到账</td>
|
| | | <td>{{selfNumEnd}}</td>
|
| | | <td>{{shareNumEnd}}</td>
|
| | | <td>{{selfNumEnd + shareNumEnd}}</td>
|
| | | </tr>
|
| | | <tr style="background-color: #00C5CD;">
|
| | | <td>总计</td>
|
| | | <td>{{selfNum + selfNumEnd}}</td>
|
| | | <td>{{shareNum + shareNumEnd}}</td>
|
| | | <td>{{selfNumEnd + shareNumEnd + selfNum + shareNum}}</td>
|
| | | </tr>
|
| | | </tbody>
|
| | | </table> |
| | | |
| | | <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
|
| | | <legend>等级升级 (付款金额大于1元订单)</legend>
|
| | | </fieldset>
|
| | | |
| | | <table class="layui-table" lay-skin="row">
|
| | | <colgroup>
|
| | | <col width="50">
|
| | | <col width="50">
|
| | | <col width="50">
|
| | | <col width="50">
|
| | | </colgroup>
|
| | | <thead> |
| | | <tr>
|
| | | <th style="text-align: center;">状态</th>
|
| | | <th style="text-align: center;">自购</th>
|
| | | <th style="text-align: center;">分享</th>
|
| | | <th style="text-align: center;">总计</th>
|
| | | </tr> |
| | | </thead>
|
| | | <tbody>
|
| | | <tr>
|
| | | <td>未到账</td>
|
| | | <td>{{selfNum}}</td>
|
| | | <td>{{shareNum}}</td>
|
| | | <td>{{selfNum + shareNum}}</td>
|
| | | <td>{{selfAccount}}</td>
|
| | | <td>{{shareAccount}}</td>
|
| | | <td>{{selfAccount + shareAccount}}</td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>已到账</td>
|
| | | <td>{{selfAccountEnd}}</td>
|
| | | <td>{{shareAccountEnd}}</td>
|
| | | <td>{{selfAccountEnd + shareAccountEnd}}</td>
|
| | | </tr>
|
| | | <tr style="background-color: #00C5CD;">
|
| | | <td>总计</td>
|
| | | <td>{{selfAccount + selfAccountEnd}}</td>
|
| | | <td>{{shareAccount + shareAccountEnd}}</td>
|
| | | <td>{{selfAccount + shareAccount + selfAccountEnd + shareAccountEnd}}</td>
|
| | | </tr>
|
| | | </tbody>
|
| | | </table>
|
| | | </div>
|
| | |
| | | shareNum: 0,
|
| | | selfNumEnd: 0,
|
| | | shareNumEnd: 0,
|
| | | selfAccount: 0,
|
| | | shareAccount: 0,
|
| | | selfAccountEnd: 0,
|
| | | shareAccountEnd: 0,
|
| | | },
|
| | | });
|
| | |
|
| | |
| | | vm.shareNum = res.data.shareNum;
|
| | | vm.selfNumEnd = res.data.selfNumEnd;
|
| | | vm.shareNumEnd = res.data.shareNumEnd;
|
| | | vm.selfAccount = res.data.selfAccount;
|
| | | vm.shareAccount = res.data.shareAccount;
|
| | | vm.selfAccountEnd = res.data.selfAccountEnd;
|
| | | vm.shareAccountEnd = res.data.shareAccountEnd;
|
| | | }
|
| | | }
|
| | | });
|
| | |
| | | ], |
| | | }); |
| | | </script>
|
| | | |
| | | <style>
|
| | | .layui-table[lay-skin=row] td, .layui-table[lay-skin=row] th {
|
| | | border-width: 1px 1px 1px 1px;
|
| | | }
|
| | | </style>
|
| | | |
| | | </head> |
| | | <body>
|
| | | <div id="orderInfo" >
|
| | | <div id="orderInfo" style="text-align: center;">
|
| | | <table class="layui-table" lay-skin="row">
|
| | | <colgroup>
|
| | | <col width="50">
|
| | | <col width="50">
|
| | | <col width="50">
|
| | | <col width="50">
|
| | | </colgroup>
|
| | | <thead>
|
| | | <tr>
|
| | | <th>状态</th>
|
| | | <th>直接粉丝</th>
|
| | | <th>间接粉丝</th>
|
| | | <th>总数</th>
|
| | | <th style="text-align: center;">直接</th>
|
| | | <th style="text-align: center;">间接</th>
|
| | | <th style="text-align: center;">总计</th>
|
| | | </tr>
|
| | | </thead>
|
| | | <tbody>
|
| | | <tr>
|
| | | <td>有效粉丝</td>
|
| | | <td>{{first}}</td>
|
| | | <td>{{second}}</td>
|
| | | <td>{{first + second}}</td>
|
| | | </tr>
|
| | | </table> |
| | | <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
|
| | | <legend>有效粉丝统计</legend>
|
| | | </fieldset>
|
| | | <table class="layui-table" lay-skin="row">
|
| | | <colgroup>
|
| | | <col width="50">
|
| | | <col width="50">
|
| | | <col width="50">
|
| | | </colgroup>
|
| | | <thead>
|
| | | <tr >
|
| | | <th style="text-align: center;">直接</th>
|
| | | <th style="text-align: center;">间接</th>
|
| | | <th style="text-align: center;">总计</th>
|
| | | </tr> |
| | | </thead>
|
| | | <tbody>
|
| | | <tr>
|
| | | <td>{{doneFirst}}</td>
|
| | | <td>{{doneSecond}}</td>
|
| | | <td>{{doneFirst + doneSecond}}</td>
|
| | |
| | | var vm = new Vue({
|
| | | el: "#orderInfo",
|
| | | data: {
|
| | | first: 0,
|
| | | second: 0,
|
| | | doneFirst: 0,
|
| | | doneSecond: 0,
|
| | | },
|
| | |
| | | success: function (res)
|
| | | {
|
| | | if (res.code == 0) {
|
| | | vm.first = res.data.first;
|
| | | vm.second = res.data.second;
|
| | | vm.doneFirst = res.data.doneFirst;
|
| | | vm.doneSecond = res.data.doneSecond;
|
| | | }
|