index-legacy.e3daa125.js 24 KB

1
  1. !function(){function e(e,t,a,i,n,r,o){try{var l=e[r](o),s=l.value}catch(u){return void a(u)}l.done?t(s):Promise.resolve(s).then(i,n)}function t(t){return function(){var a=this,i=arguments;return new Promise((function(n,r){var o=t.apply(a,i);function l(t){e(o,n,r,l,s,"next",t)}function s(t){e(o,n,r,l,s,"throw",t)}l(void 0)}))}}var a=document.createElement("style");a.innerHTML='._incomeConsus_f8vyw_1{margin:.37333rem;border-radius:.26667rem;background-color:#fff;overflow:hidden}._income_f8vyw_1{padding-top:.48rem}._income_f8vyw_1 ._countPrice_f8vyw_10{font-size:.69333rem;font-weight:700;color:#ff4e19;line-height:.82667rem}._income_f8vyw_1 .van-cell__title{font-size:.42667rem;color:#000}._income_f8vyw_1 ._searchTime_f8vyw_20{position:relative;box-sizing:border-box;max-width:100%;margin-right:.32rem;color:#333}._income_f8vyw_1 ._searchTime_f8vyw_20:after{position:absolute;top:50%;right:-.26667rem;margin-top:-.13333rem;border:.08rem solid;border-color:transparent transparent #999999 #999999;transform:rotate(-45deg);content:" "}._section_f8vyw_37{overflow-x:auto;overflow-y:hidden;margin:0 .32rem}._section_f8vyw_37::-webkit-scrollbar{display:none}._numberCount_f8vyw_45{font-size:.34667rem;color:gray;line-height:.64rem;flex-wrap:nowrap!important;padding:.53333rem 0}._numberCount_f8vyw_45 i{display:inline-block;width:.05333rem;height:1.12rem;border-radius:.05333rem;background:linear-gradient(180deg,#b5c4ff 0%,#5b85f9 100%);margin-right:.16rem}._numberCount_f8vyw_45 ._color1_f8vyw_60{background:linear-gradient(166deg,#59e5d5 0%,#2dc7aa 100%)}._numberCount_f8vyw_45 ._color2_f8vyw_63{background:linear-gradient(163deg,#b9ff4b 0%,#91dd1c 100%)}._numberCount_f8vyw_45 ._color3_f8vyw_66{background:linear-gradient(180deg,#ffc979 0%,#ffa92c 100%)}._numberCount_f8vyw_45 ._color4_f8vyw_69{background:linear-gradient(180deg,#e6c474 0%,#be7e2e 100%)}._numberCount_f8vyw_45 ._color5_f8vyw_72{background:linear-gradient(180deg,#4bcdff 0%,#1c96dd 100%)}._numberCount_f8vyw_45 ._color6_f8vyw_75{background:linear-gradient(180deg,#ee90ff 0%,#d22cff 100%)}._numberCount_f8vyw_45 ._color7_f8vyw_78{background:linear-gradient(180deg,#ff6f6f 0%,#ff3c3c 100%)}._numberCount_f8vyw_45 ._color8_f8vyw_81{background:#1aee3e}._numberCount_f8vyw_45 ._color9_f8vyw_84{background:linear-gradient(180deg,#c1a9ff 0%,#7c47ff 100%)}._numberCount_f8vyw_45 ._color10_f8vyw_87{background:#00c9ff}._numberCount_f8vyw_45 ._type_f8vyw_90 span{display:block}._numberCount_f8vyw_45 ._type_f8vyw_90 ._price_f8vyw_93{font-size:.42667rem;font-weight:500;color:#000;line-height:.58667rem}._numberCount_f8vyw_45 .van-col{display:flex;align-items:center;background-color:#f7f7f7;margin-left:.32rem}._numberCount_f8vyw_45 .van-col:first-child{margin-left:0}._incomeTitle_f8vyw_108{display:flex;align-items:center;padding:0 .32rem;font-size:.37333rem;font-weight:500;color:#333;line-height:.53333rem}._incomeTitle_f8vyw_108 i{margin-right:.13333rem;border-radius:.05333rem;display:inline-block;width:.10667rem;height:.37333rem;background:linear-gradient(166deg,#59e5d5 0%,#2dc7aa 100%)}._incomeLine_f8vyw_125{height:5.33333rem;padding:0 .26667rem .8rem}._pieSection_f8vyw_129{padding:.48rem 0 0;margin:0 .26667rem .53333rem;display:flex;align-items:center}._pieIncome_f8vyw_135{width:4.26667rem;height:4.26667rem}._rateAll_f8vyw_139{font-size:.32rem;color:#666;line-height:1;display:flex;align-items:flex-start;flex-direction:column}._rateAll_f8vyw_139 img{width:.53333rem;height:.53333rem;margin-right:.10667rem}._rateAll_f8vyw_139>div{padding-bottom:.32rem;display:flex;align-items:center}._rateAll_f8vyw_139 ._rate_f8vyw_139{padding-left:.10667rem;font-size:.37333rem;font-weight:600;color:#333;line-height:.53333rem}._pieData_f8vyw_164{font-size:.37333rem;color:gray;line-height:1;padding-left:.53333rem;display:flex;align-items:flex-start;flex-wrap:wrap;padding-bottom:.32rem}._pieData_f8vyw_164>div{padding-bottom:.32rem;flex-basis:45%}._pieData_f8vyw_164>div:nth-child(2n + 2){flex-basis:55%}._pieData_f8vyw_164>div:nth-child(2n + 2) ._pieTitle_f8vyw_181{min-width:2.4rem}._pieData_f8vyw_164>div:last-child{padding-bottom:0}._pieData_f8vyw_164 i{display:inline-block;width:.29333rem;height:.29333rem;border-radius:50%;background:#5b8ff9}._pieData_f8vyw_164 ._pieLive_f8vyw_194{background:#2dc7aa}._pieData_f8vyw_164 ._pieVideo_f8vyw_197{background:#91dd1c}._pieData_f8vyw_164 ._pieMusic_f8vyw_200{background:#ffa92c}._pieData_f8vyw_164 ._pie1_f8vyw_203{background:#be7e2e}._pieData_f8vyw_164 ._pie2_f8vyw_206{background:#1c96dd}._pieData_f8vyw_164 ._pie3_f8vyw_209{background:#d22cff}._pieData_f8vyw_164 ._pie4_f8vyw_212{background:#ff3c3c}._pieData_f8vyw_164 ._pie5_f8vyw_215{background:#1aee3e!important}._pieData_f8vyw_164 ._pie6_f8vyw_218{background:#7c47ff!important}._pieData_f8vyw_164 ._pie7_f8vyw_221{background:#00c9ff!important}._pieData_f8vyw_164 ._pieTitle_f8vyw_181{display:inline-block;padding-left:.24rem;margin-right:.26667rem;min-width:1.6rem;color:#1a1a1a;border-right:.02667rem solid #808080}._timePopup_f8vyw_232{display:flex;align-items:center;justify-content:center;padding:.26667rem 0}._timeMonth_f8vyw_238,._timeYear_f8vyw_239{padding:0 .74667rem;margin-left:0!important}._timeMonth_f8vyw_238{border-radius:var(--van-button-border-radius) 0 0 var(--van-button-border-radius)}._timeYear_f8vyw_239{border-radius:0 var(--van-button-border-radius) var(--van-button-border-radius) 0}\n',document.head.appendChild(a),System.register(["./index-legacy.fba2875c.js","./index-legacy.7dcec7b3.js","./index-legacy.fc77fe4f.js","./index-legacy.9960fd48.js","./installCanvasRenderer-legacy.b4ce6dcb.js","./index-legacy.e8375c6b.js","./index-legacy.70851652.js","./utils-legacy.e8546185.js"],(function(e){"use strict";var a,i,n,r,o,l,s,u,c,m,d,p,f,_,v,y,h,A,g,w,S,b,R,C,T,x,I,D,k,E,M;return{setters:[function(e){a=e.d,i=e.u,n=e.bG,r=e.w,o=e.j,l=e.by,s=e.z,u=e.aR,c=e.b1,m=e.B},function(e){d=e.C},function(e){p=e.R,f=e.C},function(){},function(e){_=e.u,v=e.i,y=e.a,h=e.b,A=e.c,g=e.d,w=e.e,S=e.f,b=e.g,R=e.h,C=e.j,T=e.k,x=e.l,I=e.m,D=e.n,k=e.o},function(e){E=e.D},function(e){M=e.P},function(){}],execute:function(){var z=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAA2JJREFUWEftl9tLFHEUxz9n1FoqS4IkpNtDQaYlGd3snlYrhgTdifoT6jGqh9CgepCgx3qIHopKuqA+lElZDyph1ENUpoHQhei5pDJ3Tszorjuzl5ndVZHYeZv5nd+cz3zP+Z7frjDJL5nkfGQBM61QVsGsgpkqEG+/tpNLEeswqUIoRHkixdyLFzthPag9FBEiiEEQZQdQ4AAS6qWYs27IcQPUl+QxhQpyCALVwAo06Vj7xTvy5QChaMgxBdQ+5vGLasSGqkKZaSeLzqJR6a3n4XvhDwFmyRL+jBmgvmUKQ2y0y2baYCUeKiVr6dtSxuGMS6yvWDjSRxbQdpT8yEujFXHLEK1ceG00fgCDpVLGl5QBtY+p/GDTSB9ZpVs2Ds4+JeVcTMnF+poKTE4ClSjTI70UT4l4n50sztl7PQQokxIGfQNqN8eA66729hbOgkrddjtlNW2JXh7zOm1nBtP4BszwJooTIbxByfHZCndlLfuT5YkF7GYNIV5E2d+5f3QsjD4fVu4tQh0m3UALUGqrmTjeMkaxrOFzaoAdtkv7HeMiWemE9wj1PKKRKrZgcAeY40P901LBBa+4uB2jHTSh1DoUcA9c6EE4x3pui2BqJycwaQByPQez8IECViQyhueg1k5mY9KBsjTOF/ZicI6v3LKOJW0nQC5XgaNeakTWDXbJBh77iU/oOe1iEYN0AXNHFPloK/aNm+HzUttYwFTuo6xyJEs0sIercE82s88PXGzRXLv0OStRrmFwmRA3ZBtD4RBtZytCo89+C28bQCiWLcmN4Vlir6/TZxxHaUDJSxrrVtLgtGz1NkbagHa/hbiCcCzhGIpIHJVmuJF6mctyP8ZIC1CfM5+/PIjpNy+5w+uWMSr9GSNlQH1KCUM8BQodPO75GG8oD2+4LzvZ6/dbUgds5RDKrXQSIFgnxjLZwad09vs62vXhCKC76f3cC2ckyPl04DzHTKTfLUAzDQWFXhambozUS9zMboSWmKMP+w+O9cvFeYWVzSUo1bSmq55/BRuZRYBel0m+Y1CDUodSY0M4TdMotRzMBM43oJ27mXKUSyilQCcGJ6SWfm1lOr+5gnIkCuYJg+yRA/ycMECvRNrEYkzKyKFfannlFe933ZeL/b5sPOKygJmqmlXwv1fwH9at6ylMGY7gAAAAAElFTkSuQmCC"},Symbol.toStringTag,{value:"Module"})),F=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABDFJREFUWEftmF9oW3UUx7/n3mTt/INaxUEiU1zrHKnaJsW0nVazFbWbxYW6TREEEWT6sBdBfPDNB/Ft4ItTEMZAtKFUzdSuLbVOu3Zp1jSldWPWP3OzdXSCUu1s19wjN7lpbm7u3f3d22UUNA+BXM7vez58z+93fueGsMY/tMb58N8BbJ9JXleZWe/zyBnPcuXSbKyq4c+rUZ1VObibO2VpNvAMMe8DIwywl3NUTEQTIBz6G1UH4z7fgltY14C7z437iaQYGE02yX+SJLnjI38g5QbSFWD0/KlbvXz5BDNvsk/KANG8xGj+eOMDk/bxxRGuADvOjn9G4PaslKbAWm2NgtpjEGGa5tcFYoHAkhNIx4DRn8eaiHB8JUmeIP8gr2jynAgvd20MvltmwJMfAHihJMkKkIGMdBZLNNZ9ZyhUVsBdP46eY8IdBcOsLNOOs46GQEqmAhvivoaLopCOShydTt+ekRYviIrnGo4WrWVSoDx+5O7GXlENR4DtZxMBLPMVTyJrp4XypdVIWCMlmZ6L3xX+sCyAO84MtRBJX+tPr2giXdz+z6ub3hFd58jBtu9HGgnKsKi4aRzJ+76oDh8U1XAE+OQPIzXLmcwZXfsrdBvL0hpQiPb01DTHygIYSia9t914Sb1XPaIJjHEKSfV992wdF13vyEFV9LHTx5IAHPWygs20cF6ZveW7wB7h28Q54Klv3lKgvG68OKwcKW7b1NO/paVN1D2zrWS7dvvpY/dDyaRtA00CJJme79v86GEnax07qIpvm/pqAOCIWSJDXy6EEGaUC7RpMBL5p+yAkakBdTgdYoYsmkwCXhqo3f6+aLzoFrLUe2Sy/20wvyaSkIiODgZa20ArF5/IsmyMqxJnVzJLLZP9nQB35H7mcpYISpSSLv+1bbA++ocwlS7QPaAq0tkpP7z5pgQDQdPkhHled71/6N6H5t3Arc5BzcWtE72/AOxfsVBPQsReT4VvMBD57ZoDqrdKhXfuAJhfKUpeOkn3LvDi3vFrVeK6VPfN66lyL7PyKoAaS2eKJmyag0wHiDOHhuvaf3Xipu0ebBg9Uit5lEYwbSGiB7Pvv8ze0tOQkyrMgwYMFZhI/U4zMAyJ0sw4MVq/84r3siVgOBWvYYUPM9QXct1kvOoGpQnkTz3Rt1iWXkyEd2anJOPHFLBpqqdq6dLiBAGFzW+YkJ2USSD2d4XQOBZ6aloIMJT89E0wv6EPzo/spQbalNaSzuAN4ejJhl1PCAEGE93HGWz3l4aAMQ5C1P0pV2xIBXfMFXUqM4m6ka4+EFodyOtCLccFk1NTjELeJX8q+OyMLeB9o12tksJfMrPt5Ew2t6Vxa1iWkOiTdPjpqFCJ1aDaRKxZUmg/g6vVe9fKTStAezACiJkVXISMeOYGvGc2adv2QXdlvnqr/gdcrZdr3sF/AWQ0XDiCWwUIAAAAAElFTkSuQmCC"},Symbol.toStringTag,{value:"Module"})),L={incomeConsus:"_incomeConsus_f8vyw_1",income:"_income_f8vyw_1",countPrice:"_countPrice_f8vyw_10",searchTime:"_searchTime_f8vyw_20",section:"_section_f8vyw_37",numberCount:"_numberCount_f8vyw_45",color1:"_color1_f8vyw_60",color2:"_color2_f8vyw_63",color3:"_color3_f8vyw_66",color4:"_color4_f8vyw_69",color5:"_color5_f8vyw_72",color6:"_color6_f8vyw_75",color7:"_color7_f8vyw_78",color8:"_color8_f8vyw_81",color9:"_color9_f8vyw_84",color10:"_color10_f8vyw_87",type:"_type_f8vyw_90",price:"_price_f8vyw_93",incomeTitle:"_incomeTitle_f8vyw_108",incomeLine:"_incomeLine_f8vyw_125",pieSection:"_pieSection_f8vyw_129",pieIncome:"_pieIncome_f8vyw_135",rateAll:"_rateAll_f8vyw_139",rate:"_rate_f8vyw_139",pieData:"_pieData_f8vyw_164",pieTitle:"_pieTitle_f8vyw_181",pieLive:"_pieLive_f8vyw_194",pieVideo:"_pieVideo_f8vyw_197",pieMusic:"_pieMusic_f8vyw_200",pie1:"_pie1_f8vyw_203",pie2:"_pie2_f8vyw_206",pie3:"_pie3_f8vyw_209",pie4:"_pie4_f8vyw_212",pie5:"_pie5_f8vyw_215",pie6:"_pie6_f8vyw_218",pie7:"_pie7_f8vyw_221",timePopup:"_timePopup_f8vyw_232",timeMonth:"_timeMonth_f8vyw_238",timeYear:"_timeYear_f8vyw_239"},B={legend:{show:!1},emphasis:{lineStyle:{width:2}},xAxis:{boundaryGap:!1,data:["01月","02月","03月","04月","05月","06月","07月","08月","09月","10月","11月","12月"],type:"category",axisLine:{lineStyle:{color:"#8C8C8C"}}},color:["#5B8FF9","#2DC7AA","#91DD1C","#FFA92C","#BE7E2E","#1C96DD","#D22CFF","#FF3C3C","#1AEE3E","#00c9ff","#7c47ff"],series:[{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"陪练课",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"直播课",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"视频课",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"乐谱",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"小酷Ai推广",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"直播课推荐",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"视频课推荐",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"商品推荐",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"乐谱推荐",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"专辑推荐",type:"line",emphasis:{lineStyle:{width:1}}},{lineStyle:{width:1},data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbol:"circle",name:"活动报名",type:"line",emphasis:{lineStyle:{width:1}}}],title:{show:!1},grid:{bottom:"3%",containLabel:!0,left:"3%",right:"5%",top:"7%"},tooltip:{trigger:"axis",confine:!0},yAxis:{type:"value",splitLine:{axisLine:{lineStyle:{color:"#8C8C8C"}},lineStyle:{color:["#E2E2E2"]}}},dataZoom:[{type:"inside",throttle:100}],toolbox:{feature:{saveAsImage:{show:!1}}}},Y={tooltip:{position:["30%","30%"],trigger:"item",padding:3,textStyle:{fontSize:12},borderWidth:0,formatter:"{b} : {c} ({d}%)"},series:[{avoidLabelOverlap:!1,label:{show:!1},data:[{name:"陪练课",value:"0.00"},{name:"直播课",value:"0.00"},{name:"视频课",value:"0.00"},{name:"乐谱",value:"0.00"},{name:"小酷Ai推广",value:"0.00"},{name:"直播课推荐",value:"0.00"},{name:"视频课推荐",value:"0.00"},{name:"商品推荐",value:"0.00"},{name:"乐谱推荐",value:"0.00"},{name:"专辑推荐",value:"0.00"},{name:"活动报名",value:"0.00"}],type:"pie",radius:["50%","80%"]}],grid:{bottom:"0%",containLabel:!0,left:"0%",right:"0%",top:"0%"},toolbox:{feature:{saveAsImage:{show:!1}}},color:["#5B8FF9","#2DC7AA","#91DD1C","#FFA92C","#BE7E2E","#1C96DD","#D22CFF","#FF3C3C","#1AEE3E","#00c9ff","#7c47ff"]};_([v,y,h,A,g,w,S,b,R,C,T,x,I,D]);for(var P=e("getAssetsHomeFile",(function(e){var t="./images/".concat(e);return{"./images/icon_fly.png":z,"./images/icon_user.png":F}[t].default})),O=[],Q=i().year(),U=10,G=Q-10;G<=Q+10;G++)O.push({text:"".concat(G,"年"),value:G});e("default",a({name:"IncomeConsus",data:function(){return{moneyInfo:{totalSingleRate:0,totalShareRate:0,totalInAmount:0,practiceAmount:0,practiceRate:0,liveAmount:0,liveRate:0,videoAmount:0,videoRate:0,musicAmount:0,musicRate:0,vipShareAmount:0,vipShareRate:0,liveShareAmount:0,liveShareRate:0,videoShareAmount:0,videoShareRate:0,mallShareAmount:0,mallShareRate:0,musicShareAmount:0,musicShareRate:0,albumShareAmount:0,albumShareRate:0,actiRegistShareAmount:0,actiRegistShareRate:0},params:{timeType:"YEAR",dateTime:"".concat(Q)},dateTimeStr:"".concat(Q,"年"),myChart:null,myChart2:null,timerStatus:!1,currentDate:new Date}},mounted:function(){var e=this;return t(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.myChart=n(k(document.getElementById("incomeClass"))),e.myChart2=n(k(document.getElementById("structrueClass"))),e.getList();case 3:case"end":return t.stop()}}),t)})))()},methods:{getList:function(){var e=this;return t(regeneratorRuntime.mark((function t(){var a,n,o,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=e.params,t.next=4,r.post("/api-teacher/userAccount/accountTotal",{data:a});case 4:n=t.sent,o=n.data||{},e.moneyInfo={totalSingleRate:Number((o.practiceRate+o.liveRate+o.videoRate+o.musicRate).toFixed(2)),totalShareRate:Number((o.vipShareRate+o.liveShareRate+o.videoShareRate+o.musicShareRate+o.mallShareRate+o.actiRegistShareRate+o.albumShareRate||0).toFixed(2)),totalInAmount:o.totalInAmount||0,practiceAmount:o.practiceAmount||0,practiceRate:o.practiceRate||0,liveAmount:o.liveAmount||0,liveRate:o.liveRate||0,videoAmount:o.videoAmount||0,videoRate:o.videoRate||0,musicAmount:o.musicAmount||0,musicRate:o.musicRate||0,vipShareAmount:o.vipShareAmount||0,vipShareRate:o.vipShareRate||0,liveShareAmount:o.liveShareAmount||0,liveShareRate:o.liveShareRate||0,videoShareAmount:o.videoShareAmount||0,videoShareRate:o.videoShareRate||0,mallShareAmount:o.mallShareAmount||0,mallShareRate:o.mallShareRate||0,musicShareAmount:o.musicShareAmount||0,musicShareRate:o.musicShareRate||0,albumShareAmount:o.albumShareAmount||0,albumShareRate:o.albumShareRate||0,actiRegistShareAmount:o.actiRegistShareAmount||0,actiRegistShareRate:o.actiRegistShareRate||0},console.log(e.moneyInfo),l={xAxis:[],practiceAmount:[],liveAmount:[],videoAmount:[],musicAmount:[],vipShareAmount:[],liveShareAmount:[],videoShareAmount:[],mallShareAmount:[],musicShareAmount:[],albumShareAmount:[],actiRegistShareAmount:[]},(o.infoList||[]).forEach((function(e){"YEAR"===a.timeType?l.xAxis.push(i(e.timeStr).format("MM月")):"MONTH"===a.timeType&&l.xAxis.push(i(e.timeStr).format("DD日")),l.practiceAmount.push(e.practiceAmount),l.liveAmount.push(e.liveAmount),l.videoAmount.push(e.videoAmount),l.musicAmount.push(e.musicAmount),l.vipShareAmount.push(e.vipShareAmount),l.liveShareAmount.push(e.liveShareAmount),l.videoShareAmount.push(e.videoShareAmount),l.mallShareAmount.push(e.mallShareAmount),l.musicShareAmount.push(e.musicShareAmount),l.albumShareAmount.push(e.albumShareAmount||0),l.actiRegistShareAmount.push(e.actiRegistShareAmount)})),B.xAxis.data=l.xAxis,B.series[0].data=l.practiceAmount,B.series[1].data=l.liveAmount,B.series[2].data=l.videoAmount,B.series[3].data=l.musicAmount,B.series[4].data=l.vipShareAmount,B.series[5].data=l.liveShareAmount,B.series[6].data=l.videoShareAmount,B.series[7].data=l.mallShareAmount,B.series[8].data=l.musicShareAmount,B.series[9].data=l.albumShareAmount,B.series[10].data=l.actiRegistShareAmount,e.myChart.clear(),e.myChart.setOption(B),Y.series[0].data[0].value=o.practiceAmount,Y.series[0].data[1].value=o.liveAmount,Y.series[0].data[2].value=o.videoAmount,Y.series[0].data[3].value=o.musicAmount,Y.series[0].data[4].value=o.vipShareAmount,Y.series[0].data[5].value=o.liveShareAmount,Y.series[0].data[6].value=o.videoShareAmount,Y.series[0].data[7].value=o.mallShareAmount,Y.series[0].data[8].value=o.musicShareAmount,Y.series[0].data[9].value=o.albumShareAmount,Y.series[0].data[10].value=o.actiRegistShareAmount,console.log(Y),e.myChart2.clear(),e.myChart2.setOption(Y),t.next=42;break;case 40:t.prev=40,t.t0=t.catch(0);case 42:case"end":return t.stop()}}),t,null,[[0,40]])})))()}},render:function(){var e=this;return o("div",{style:{overflow:"hidden"}},[o("div",{class:L.incomeConsus},[o(d,{class:L.income,title:"总收入(元)"},{label:function(){return o("span",{class:L.countPrice},[l(e.moneyInfo.totalInAmount)])},value:function(){return o("span",{class:L.searchTime,onClick:function(){return e.timerStatus=!0}},[e.dateTimeStr])}}),o("div",{class:L.section},[o(p,{class:L.numberCount},{default:function(){return[o(f,{span:6},{default:function(){return[o("i",null,null),o("div",{class:L.type},[o("span",null,[s("陪练课")]),o("span",{class:L.price},[l(e.moneyInfo.practiceAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color1},null),o("div",{class:L.type},[o("span",null,[s("直播课")]),o("span",{class:L.price},[l(e.moneyInfo.liveAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color2},null),o("div",{class:L.type},[o("span",null,[s("视频课")]),o("span",{class:L.price},[l(e.moneyInfo.videoAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color3},null),o("div",{class:L.type},[o("span",null,[s("乐谱")]),o("span",{class:L.price},[l(e.moneyInfo.musicAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color4},null),o("div",{class:L.type},[o("span",null,[s("小酷Ai推广")]),o("span",{class:L.price},[l(e.moneyInfo.vipShareAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color5},null),o("div",{class:L.type},[o("span",null,[s("直播课推荐")]),o("span",{class:L.price},[l(e.moneyInfo.liveShareAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color6},null),o("div",{class:L.type},[o("span",null,[s("视频课推荐")]),o("span",{class:L.price},[l(e.moneyInfo.videoShareAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color7},null),o("div",{class:L.type},[o("span",null,[s("商品推荐")]),o("span",{class:L.price},[l(e.moneyInfo.mallShareAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color8},null),o("div",{class:L.type},[o("span",null,[s("乐谱推荐")]),o("span",{class:L.price},[l(e.moneyInfo.musicShareAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color10},null),o("div",{class:L.type},[o("span",null,[s("专辑推荐")]),o("span",{class:L.price},[l(e.moneyInfo.albumShareAmount)])])]}}),o(f,{span:6},{default:function(){return[o("i",{class:L.color9},null),o("div",{class:L.type},[o("span",null,[s("活动报名")]),o("span",{class:L.price},[l(e.moneyInfo.actiRegistShareAmount)])])]}})]}})]),o("div",{id:"incomeClass",class:L.incomeLine},null),o("div",{class:L.incomeTitle},[o("i",null,null),s("收入结构")]),o("div",{class:[L.pieSection,"van-hairline--bottom"]},[o("div",{id:"structrueClass",class:L.pieIncome},null),o("div",{class:L.rateAll},[o("div",null,[o("img",{src:P("icon_user.png")},null),o("span",null,[s("个人收入总占比")]),o("span",{class:L.rate},[this.moneyInfo.totalSingleRate,s("%")])]),o("div",null,[o("img",{src:P("icon_fly.png")},null),o("span",null,[s("推广收益总占比")]),o("span",{class:L.rate},[this.moneyInfo.totalShareRate,s("%")])])])]),o("div",{class:L.pieData},[o("div",null,[o("i",{class:L.piePractice},null),o("span",{class:L.pieTitle},[s("陪练课")]),o("span",null,[this.moneyInfo.practiceRate,s("%")])]),o("div",null,[o("i",{class:L.pie1},null),o("span",{class:L.pieTitle},[s("小酷Ai推广")]),o("span",null,[this.moneyInfo.vipShareRate,s("%")])]),o("div",null,[o("i",{class:L.pieLive},null),o("span",{class:L.pieTitle},[s("直播课")]),o("span",null,[this.moneyInfo.liveRate,s("%")])]),o("div",null,[o("i",{class:L.pie2},null),o("span",{class:L.pieTitle},[s("直播课推荐")]),o("span",null,[this.moneyInfo.liveShareRate,s("%")])]),o("div",null,[o("i",{class:L.pieVideo},null),o("span",{class:L.pieTitle},[s("视频课")]),o("span",null,[this.moneyInfo.videoRate,s("%")])]),o("div",null,[o("i",{class:L.pie3},null),o("span",{class:L.pieTitle},[s("视频课推荐")]),o("span",null,[this.moneyInfo.videoShareRate,s("%")])]),o("div",null,[o("i",{class:L.pieMusic},null),o("span",{class:L.pieTitle},[s("乐谱")]),o("span",null,[this.moneyInfo.musicRate,s("%")])]),o("div",null,[o("i",{class:L.pie6},null),o("span",{class:L.pieTitle},[s("活动报名")]),o("span",null,[this.moneyInfo.actiRegistShareRate,s("%")])]),o("div",null,[o("i",{class:L.pie4},null),o("span",{class:L.pieTitle},[s("商品推荐")]),o("span",null,[this.moneyInfo.mallShareRate,s("%")])]),o("div",null,[o("i",{class:L.pie5},null),o("span",{class:L.pieTitle},[s("乐谱推荐")]),o("span",null,[this.moneyInfo.musicShareRate,s("%")])]),o("div",null,[o("i",{class:L.pie7},null),o("span",{class:L.pieTitle},[s("专辑推荐")]),o("span",null,[this.moneyInfo.albumShareRate,s("%")])])])]),o(u,{show:this.timerStatus,"onUpdate:show":function(t){return e.timerStatus=t},position:"bottom",round:!0,zIndex:99999999},{default:function(){return["MONTH"===e.params.timeType&&o(E,{modelValue:e.currentDate,"onUpdate:modelValue":function(t){return e.currentDate=t},type:"year-month",title:"选择时间",formatter:c,onCancel:function(){return e.timerStatus=!1},onConfirm:function(t){e.params.dateTime=i(t).format("YYYY-MM"),e.dateTimeStr=i(t).format("YYYY年MM月"),e.timerStatus=!1,e.getList()}},{"columns-top":function(){return o("div",{class:L.timePopup},[o(m,{type:"primary",plain:"MONTH"!==e.params.timeType,size:"mini",class:L.timeMonth,onClick:function(){return e.params.timeType="MONTH"}},{default:function(){return[s("按月")]}}),o(m,{type:"primary",plain:"YEAR"!==e.params.timeType,size:"mini",class:L.timeYear,onClick:function(){return e.params.timeType="YEAR"}},{default:function(){return[s("按年")]}})])}}),"YEAR"===e.params.timeType&&o(M,{modelValue:e.currentDate,"onUpdate:modelValue":function(t){return e.currentDate=t},title:"选择时间",columns:O,defaultIndex:U,onCancel:function(){return e.timerStatus=!1},onConfirm:function(t,a){e.params.dateTime=t.value,U=a,e.dateTimeStr=t.text,e.timerStatus=!1,e.getList()}},{"columns-top":function(){return o("div",{class:L.timePopup},[o(m,{type:"primary",plain:"MONTH"!==e.params.timeType,size:"mini",class:L.timeMonth,onClick:function(){return e.params.timeType="MONTH"}},{default:function(){return[s("按月")]}}),o(m,{type:"primary",plain:"YEAR"!==e.params.timeType,onClick:function(){return e.params.timeType="YEAR"},size:"mini",class:L.timeYear},{default:function(){return[s("按年")]}})])}})]}})])}}))}}}))}();