"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[2413],{22413:function(e,t,a){a.r(t),a.d(t,{default:function(){return w}});var i=a(66252);const s={class:"recentNewUserChart admin_page"},r=(0,i._)("div",{class:"admin_table_search"},[(0,i._)("div",{class:"admin_state"}),(0,i._)("div",{class:"admin_search"})],-1),n={class:"admin_table_content",ref:"pageChartDom"};function l(e,t,a,l,o,c){return(0,i.wg)(),(0,i.iD)("div",s,[r,(0,i._)("div",n,null,512)])}var o=a(2262),c=a(74961),d=a(35183),u=a(26612),f=a(83878),p=a(84636),h=a(44221),v=a(84602),m=a(6228),b=(0,i.aZ)({components:{},setup(){let e,t=(0,o.qj)({dataList:{}}),a=(0,o.qj)({rangePickerValue:[]}),s=()=>{r()},r=async()=>{c.V.axiosGet(c.V.httpUrls.conversionRate).then((e=>{if(e){let a=Object.entries(e),i=[];for(let[e,t]of a){let a;if(console.log(e),"conversionRate"!=e){a="trialToOfficialCount"==e?"Trial To Official":"Trial User";let s={name:a,value:t};i.push(s)}}t.dataList=i,n(i)}}))},n=t=>{if(e)e.setOption({series:[{data:t}]});else{d.D([f.N,p.N,h.N,m.N,v.T]);var a,i=l.value;e=u.S1(i),a={tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{top:"10%",left:"center"},series:[{name:"Rate",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:10},label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:30,fontWeight:"bold"}},labelLine:{show:!1},data:t}]},a&&e.setOption(a)}},l=(0,o.iH)();return(0,i.bv)((()=>{r()})),{...(0,o.BK)(t),...(0,o.BK)(a),searchHistoryList:s,gettrialList:r,pageChartDom:l}},data(){return{}},methods:{}}),g=a(83744);const _=(0,g.Z)(b,[["render",l]]);var w=_}}]);