| | |
| | | |
| | | <script type="text/html" id="LAY-app-CoreCmsDistribution-tableBox-bar"> |
| | | <!-- <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="qrcode">小程序码</a> --> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="achievement">业绩</a> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="achievement">推广费</a> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a> |
| | | <a class="layui-btn layui-btn-xs" lay-event="edit">审核</a> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs" data-dropdown="#CoreCmsDistributionTbDelDrop{{d.LAY_NUM}}" no-shade="true">删除</a> |
| | |
| | | } |
| | | } |
| | | }, |
| | | { field: 'DistributionAchievementTotals', title: '历史业绩总和(元)', sort: false, width: 100 }, |
| | | { field: 'distributionAchievementTotals', title: '历史推广费总和(元)', sort: false, width: 100 }, |
| | | //{ field: 'storeDesc', title: '店铺简介', sort: false, width: 105 }, |
| | | { |
| | | field: 'verifyStatus', title: '审核状态', sort: false, width: 80, templet: function (data) { |
| | |
| | | } |
| | | //执行预览操作 |
| | | function achievement(obj) { |
| | | coreHelper.Post("Api/CoreCmsDistribution/GetDetails", { id: obj.data.id }, function (e) { |
| | | coreHelper.Post("Api/CoreCmsDistribution/GetDetailsAchievement", { id: obj.data.id }, function (e) { |
| | | if (e.code === 0) { |
| | | admin.popup({ |
| | | shadeClose: false, |
| | | title: '查看详情', |
| | | area: ['700px', '550px'], |
| | | id: 'LAY-popup-CoreCmsDistribution-details', |
| | | id: 'LAY-popup-CoreCmsDistribution-detailsAchievement', |
| | | success: function (layero, index) { |
| | | view(this.id).render('distribution/distributor/details', { data: e.data }).done(function () { |
| | | view(this.id).render('distribution/distributor/achievementdetails', { data: e.data }).done(function () { |
| | | form.render(); |
| | | }); |
| | | // 禁止弹窗出现滚动条 |