| | |
| | | <div class="layui-col-xs12 layui-col-sm6 layui-col-lg3 text-center"> |
| | | <div class="numberInfoSubTitle">跟踪项目数量</div> |
| | | <div class="numberInfoValue"> |
| | | <span id="progressCount">124</span><em class="numberInfoSuffix">个</em> |
| | | <a href="#" id="openProgress"><span id="progressCount">124</span><em class="numberInfoSuffix">个</em></a> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs12 layui-col-sm6 layui-col-lg3 text-center"> |
| | |
| | | <div class="layui-col-xs12 layui-col-sm6 layui-col-lg3 text-center"> |
| | | <div class="numberInfoSubTitle">成交项目数量</div> |
| | | <div class="numberInfoValue"> |
| | | <span id="successCount">121</span><em class="numberInfoSuffix">个</em> |
| | | <a href="#" id="openSuccess"><span id="successCount">121</span><em class="numberInfoSuffix">个</em></a> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs12 layui-col-sm6 layui-col-lg3 text-center"> |
| | |
| | | |
| | | <div class="layui-col-xs12 layui-col-md4"> |
| | | <div class="layui-card" style="height: 403px;overflow: hidden;"> |
| | | <div class="layui-card-header">公司公告</div> |
| | | <div class="layui-card-header" style="display: flex;justify-content: space-between;"> |
| | | <div>公司公告</div> |
| | | <div><a href="#" id="openCompanyPost">查看更多</a></div> |
| | | </div> |
| | | <div class="layui-card-body" id="companyPostId"> |
| | | </div> |
| | | </div> |
| | |
| | | </colgroup> |
| | | <thead> |
| | | <tr style="background: none;color: #333;"> |
| | | <th colspan="3">员工交易额排行</th> |
| | | <th colspan="3">员工销售业绩排行</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody id="staffRankId"> |
| | |
| | | var $ = layui.jquery; |
| | | var layer = layui.layer; |
| | | var element = layui.element; |
| | | element.init(); |
| | | |
| | | //获取团队数据 |
| | | $.ajax({ |
| | |
| | | } |
| | | |
| | | div += "<td>" + data[i].username + "</td>" |
| | | div += "<td>" + data[i].money + "</td>" |
| | | div += "<td>" + data[i].money + "万元</td>" |
| | | div += "</tr>" |
| | | |
| | | $("#staffRankId").append(div) |
| | |
| | | success: function (res) { |
| | | let data = res.data.records |
| | | for (var i = 0; i < data.length; i++) { |
| | | let div = "<div style='margin-top: 10px;'>"; |
| | | div += '<span class="layui-badge-dot layui-bg-green" style="margin-right: 10px;"></span>' |
| | | div += data[i].content |
| | | let div = "<div style='margin-top: 10px;display: flex;justify-content: space-between;'>"; |
| | | div += '<div><span class="layui-badge-dot layui-bg-green" style="margin-right: 10px;"></span>' |
| | | div += data[i].content + "</div>" |
| | | div += "<div>" + data[i].createTime$ + "</div>" |
| | | div += "</div>" |
| | | |
| | | $("#companyPostId").append(div) |
| | |
| | | myCharts3.resize(); |
| | | }; |
| | | |
| | | $("#openProgress").on("click", () => { |
| | | layer.open({ |
| | | type: 2, |
| | | title: '跟踪项目', |
| | | maxmin: true, |
| | | area: [top.detailWidth, top.detailHeight], |
| | | shadeClose: true, |
| | | content: '../order/order.html?status=0', |
| | | success: function(layero, index){ |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | $("#openSuccess").on("click", () => { |
| | | layer.open({ |
| | | type: 2, |
| | | title: '跟踪项目', |
| | | maxmin: true, |
| | | area: [top.detailWidth, top.detailHeight], |
| | | shadeClose: true, |
| | | content: '../order/order.html?status=1', |
| | | success: function(layero, index){ |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | $("#openCompanyPost").on("click", () => { |
| | | layer.open({ |
| | | type: 2, |
| | | title: '公告', |
| | | maxmin: true, |
| | | area: [top.detailWidth, top.detailHeight], |
| | | shadeClose: true, |
| | | content: '../companyPost/companyPost_view.html', |
| | | success: function(layero, index){ |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | }); |
| | | </script> |
| | | </body> |