12 |
- import{D as e,s as t,e as a,h as n,p as l}from"../switchType/switchType.769652a5.js";import{T as o}from"../timeScreen/timeScreen.95662b50.js";import{S as s}from"../_select/_select.b843de7e.js";import{T as i}from"../tableList/tableList.17221c7a.js";import{E as c,H as m}from"../element-plus/element-plus.780230b7.js";import{A as r,_ as u}from"../../assets/index.0fcb274c.js";import{p as d}from"../tableInfo/tableInfo.0b894920.js";import{d as p,w as _,G as v,r as f,W as y,o as g,c as b,R as h,P as S,a as w,T as L,M as x,f as j,s as k,u as D,L as F,K as O,F as C,as as I,a4 as P,O as R,Q as T,aw as V}from"../@vue/@vue.4762a280.js";import{t as z}from"../commonEnum/commonEnum.ffea17d4.js";import{_ as E}from"../defaultAvatar/defaultAvatar.ac647fe2.js";import"../caret-top/caret-top.6cfc3874.js";import"../question-filled/question-filled.dc2ba1fa.js";import"../dayjs/dayjs.4327edce.js";import"../axios/axios.b8790c3c.js";import"../@vueuse/@vueuse.00829289.js";import"../lodash-es/lodash-es.3d8ce632.js";import"../async-validator/async-validator.21881447.js";import"../@ctrl/@ctrl.17547d95.js";import"../escape-html/escape-html.d572c0fd.js";import"../normalize-wheel-es/normalize-wheel-es.db30398b.js";import"../vue-router/vue-router.a593c94c.js";import"../nprogress/nprogress.6ebd1c78.js";import"../pinia/pinia.07ac0f5f.js";import"../vue-demi/vue-demi.4f3c4c97.js";import"../pinia-plugin-persist/pinia-plugin-persist.67085de7.js";import"../echarts/echarts.f2b2ac0c.js";import"../tslib/tslib.e35f93b8.js";import"../zrender/zrender.fe59a237.js";const K={class:"flex"},B={class:"lMar10 f-wei-600"},$=["onClick"],W=["onClick"],N=p({__name:"drawerDetial",props:{title:{default:""},drawerShow:{type:Boolean,default:!1},propObj:{default:{}}},emits:["close"],setup(e,{emit:t}){const a=e,{proxy:n}=j();_((()=>a.drawerShow),(e=>{e&&v((()=>{k.value.currentPage=1,s.tableList=[],s.descolList=[],D.list=[],p()}))}));const l=()=>{t("close")},o=f(0),s=y({tableList:[],descolList:[]}),u=()=>{const{type:e,kind:t}=a.propObj;s.descolList=[{name:"日期",column:"idate",isfixed:"left",minWidth:"160px"},{name:"消耗",column:"consume_amount"},{name:"播放数",column:"play"},{name:"行为数",column:"action"},{name:"激活数",column:"conversion"},{name:"评论数",column:"comment"},{name:"点赞数",column:"admire"},{name:"3秒播放数",column:"played3s_cnt"},{name:"3秒播放率",column:"played3s_percent",hasPercent:!0},{name:"行为率",column:"ctr",hasPercent:!0},{name:"千次播放成本",column:"cpm"},{name:"行为成本",column:"cpc"},{name:"激活成本",column:"cpa"}],"customer"==t?s.descolList.splice(1,0,{name:"达人数/达人名称",column:"user_count",column2:"star_name",slotFlag:!0}):s.descolList.splice(1,0,{name:"客户数/客户名称",column:"cust_count",column2:"cust_name",slotFlag:!0}),"living"==e&&(s.descolList=[{name:"日期",column:"idate",isfixed:"left",minWidth:"160px"},{name:"消耗",column:"consume_amount"},{name:"引入观众数",column:"audience_num"},{name:"观看3秒+观众数",column:"played3s_num"},{name:"涨粉数",column:"fans_increase_num"},{name:"推广直播间曝光数",column:"item_impression_num"},{name:"互动数",column:"interactive_num"},{name:"组件曝光数",column:"conversion_impression_num"},{name:"行为数",column:"conversion_action_num"},{name:"现金金额",column:"cash_amount"},{name:"客户返货金额",column:"client_amount"},{name:"代理返货金额",column:"agency_amount"},{name:"授信实际消耗金额",column:"credit_consume_amount"},{name:"组件点击率",column:"ctr",hasPercent:!0},{name:"行为成本",column:"cpa"}],"customer"==t?s.descolList.splice(1,0,{name:"达人数/达人名称",column:"user_count",column2:"star_name",slotFlag:!0}):s.descolList.splice(1,0,{name:"客户数/客户名称",column:"cust_count",column2:"cust_name",slotFlag:!0}))},p=async(e,t)=>{k.value.loading=!0,await u();const{st_date:l,en_date:i,type:m,kind:d}=a.propObj,p=y({page:e||1,pageSize:t||20,st_date:l,en_date:i});"customer"==d?p.cust_id=a.propObj.cust_id:p.industry_id=a.propObj.industry_id;let _=r.traffic_industry_video_detialList;"customer"==d&&(_=r.traffic_customer_video_detialList),"living"==m&&(_=r.traffic_industry_living_detialList,"customer"==d&&(_=r.traffic_customer_living_detialList));let v=await n.$http.get(_,Object.assign(p,a.propObj));if(k.value.loading=!1,v&&"0"==v.code){let e=v.data;s.tableList=e.data,o.value=e.pageInfo.totalNum}else c.error(v.msg)},{tableListRef:k}=d(),D=y({list:[]}),F=(e,t)=>{t||e&&e.idate&&D.list.splice(D.list.findIndex((t=>t==e.idate)),1)},O=async e=>{k.value.loading=!0,await u();const{type:t,kind:l}=a.propObj;let o=s.tableList.findIndex((t=>t.idate==e.idate));const i=y({date:e.idate});"customer"==l?i.cust_id=a.propObj.cust_id:i.industry_id=a.propObj.industry_id;let m=r.traffic_industry_video_subDetialList;"customer"==l&&(m=r.traffic_customer_video_subDetialList),"living"==t&&(m=r.traffic_industry_living_subDetialList,"customer"==l&&(m=r.traffic_customer_living_subDetialList));let d=await n.$http.get(m,i);if(D.list.push(e.idate),k.value.loading=!1,d&&"0"==d.code){let e=d.data;e.forEach(((e,t)=>{e.idate=Number(t+1)})),s.tableList[o].children=e}else c.error(d.msg)};return(t,a)=>{const n=m;return g(),b("div",null,[h(n,{"model-value":e.drawerShow,direction:"rtl","before-close":l,"show-close":!1,size:"80%"},{header:S((()=>[w("div",K,[w("h4",B,L(e.title||"标题"),1)])])),default:S((()=>[h(i,{ref_key:"tableListRef",ref:k,tableHeight:"calc(100vh - 120px)",rowKeyStr:"idate",onExpandChange:F,expandArrs:D.list,tableData:s.tableList,descol:s.descolList,total:o.value,onInit:p},{user_count:S((e=>[w("div",{class:x(["text-center",e.row.user_count?"c-theme pointer":""]),onClick:t=>e.row.user_count&&O(e.row)},L(e.row.user_count||e.row.star_name||"-"),11,$)])),cust_count:S((e=>[w("div",{class:x(["text-center",e.row.cust_count?"c-theme pointer":""]),onClick:t=>e.row.cust_count&&O(e.row)},L(e.row.cust_count||e.row.cust_name||"-"),11,W)])),_:1},8,["expandArrs","tableData","descol","total"])])),_:1},8,["model-value"])])}}}),A={class:"screenBox"},H={class:"tableBox"},U=["onClick"],M=p({__name:"customer",setup(l){const{proxy:m}=j(),u=f(),p=f(),_=async(e,t)=>{O.value.loading=!0,await(x.descolList=[{name:"客户名称",column:"name",isfixed:"left",minWidth:"160px"},{name:"消耗",column:"consume_amount",isSort:!0},{name:"播放数",column:"play",isSort:!0},{name:"行为数",column:"action",isSort:!0},{name:"激活数",column:"conversion",isSort:!0},{name:"评论数",column:"comment",isSort:!0},{name:"点赞数",column:"admire",isSort:!0},{name:"3秒播放数",column:"played3s_cnt",isSort:!0},{name:"3秒播放率",column:"played3s_percent",isSort:!0,hasPercent:!0},{name:"行为率",column:"ctr",isSort:!0,hasPercent:!0},{name:"千次观看成本",column:"cpm",isSort:!0},{name:"行为成本",column:"cpc",isSort:!0},{name:"激活成本",column:"cpa",isSort:!0},{name:"操作",column:"operate",slotFlag:!0,isfixed:"right"}],void("living"==p.value.value&&(x.descolList=[{name:"客户名称",column:"name",isfixed:"left",minWidth:"160px"},{name:"消耗",column:"consume_amount",isSort:!0},{name:"引入观众数",column:"audience_num",isSort:!0},{name:"观看3秒+观众数",column:"played3s_num",isSort:!0},{name:"涨粉数",column:"fans_increase_num",isSort:!0},{name:"推广直播间曝光数",column:"item_impression_num",isSort:!0},{name:"互动数",column:"interactive_num",isSort:!0},{name:"组件曝光数",column:"conversion_impression_num",isSort:!0},{name:"行为数",column:"conversion_action_num",isSort:!0},{name:"现金金额",column:"cash_amount",isSort:!0},{name:"客户返货金额",column:"client_amount",isSort:!0},{name:"代理返货金额",column:"agency_amount",isSort:!0},{name:"授信实际消耗金额",column:"credit_consume_amount",isSort:!0},{name:"组件点击率",column:"ctr",isSort:!0,hasPercent:!0},{name:"行为成本",column:"cpa",isSort:!0},{name:"操作",column:"operate",slotFlag:!0,isfixed:"right"}])));const a=y({page:e||1,pageSize:t||20,sort_type:"min"==P.value?0:1,sort:I.value,st_date:u.value.dateVal[0],en_date:u.value.dateVal[1]});let n=r.traffic_customer_video_list;"living"==p.value.value&&(n=r.traffic_customer_living_list);let l=await m.$http.get(n,a);if(O.value.loading=!1,l&&"0"==l.code){let e=l.data;x.tableList=e.data,C.value=e.pageInfo.totalNum}else c.error(l.msg)},L=async()=>{t();const e=y({page:1,pageSize:1e4,sort_type:"min"==P.value?0:1,sort:I.value,st_date:u.value.dateVal[0],en_date:u.value.dateVal[1]});let l=r.traffic_customer_video_list;"living"==p.value.value&&(l=r.traffic_customer_living_list);let o=await m.$http.get(l,e);if(o&&"0"==o.code){let e=o.data;await a(e.data,x.descolList,"name","column","客户分析"),setTimeout((()=>{n()}),2e3)}else c.error(o.msg),n()},x=y({tableList:[],descolList:[]}),{tableListRef:O,total:C,sortKey:I,sortType:P,sortEvent:R}=d([],_,"consume_amount"),T=f(!1),V=f(!1),E=f("标题"),K=y({cust_id:0,st_date:"",en_date:"",type:""}),B=()=>{I.value="consume_amount",_(1,20)};return k((()=>{p.value.value=z[0].value,_()})),(t,a)=>(g(),b(F,null,[w("div",A,[h(o,{title:"",onInit:_,ref_key:"timeScreenRef",ref:u,disabledDay:180},null,512),h(s,{ref_key:"selectRefForm",ref:p,clearFlag:!1,title:"推广形式",options:D(z),onChangeEvent:B},null,8,["options"]),h(e,{haveUpdateFlag:!0,onUpdateEvent:L})]),w("div",H,[h(i,{ref_key:"tableListRef",ref:O,tableHeight:"calc(100vh - 295px)",onInit:_,sortKey:D(I),sortType:D(P),onSort:D(R),tableData:x.tableList,descol:x.descolList,total:D(C)},{operate:S((e=>[w("div",{class:"text-center pointer c-theme",onClick:t=>{return a=e.row.id,n=e.row.name,T.value=!0,void v((()=>{E.value=n,K.cust_id=a,K.st_date=u.value.dateVal[0],K.en_date=u.value.dateVal[1],K.type=p.value.value,K.kind="customer"}));var a,n}},"详情",8,U)])),_:1},8,["sortKey","sortType","onSort","tableData","descol","total"])]),h(N,{title:E.value,propObj:K,drawerShow:T.value,loading:V.value,onClose:a[0]||(a[0]=e=>T.value=!1)},null,8,["title","propObj","drawerShow","loading"])],64))}});const q={class:"flex"},G={class:"lMar10 f-wei-600"},Q={class:"starBox"},J=["src"],X={key:1,src:E,alt:"",class:"img"},Y={class:"info"},Z=["title"],ee={key:0,class:"fan"};var te=u(p({__name:"dailyDrawerDetial",props:{drawerShow:{type:Boolean,default:!1},propObj:{default:{}}},emits:["close"],setup(e,{emit:t}){const a=e,{proxy:n}=j(),l=n.$NumberHandle;_((()=>a.drawerShow),(e=>{e&&v((()=>{F.value.currentPage=1,s.tableList=[],s.descolList=[],k()}))}));const o=()=>{t("close")},s=y({tableList:[],descolList:[]}),u=f(""),p=f(1),x=()=>{u.value=u.value?"":"consume_amount",k()},k=async()=>{F.value.loading=!0,await void(s.descolList=[{name:"达人名称",column:"star_name",isfixed:"left",slotFlag:!0,minWidth:"200px",alignSelf:"left"},{name:"任务id",column:"task_id",cancleForMat:!0,minWidth:"180px"},{name:"消耗",column:"consume_amount",isSort:!0},{name:"播放数",column:"play"},{name:"行为数",column:"action"},{name:"激活数",column:"conversion"},{name:"表单提交数",column:"submissions_number"},{name:"表单提交数成本",column:"sub_cpa"},{name:"评论数",column:"comment"},{name:"点赞数",column:"admire"},{name:"3秒播放数",column:"played3s_cnt"},{name:"3秒播放率",column:"played3s_percent",hasPercent:!0},{name:"行为率",column:"ctr",hasPercent:!0},{name:"千次播放成本",column:"cpm"},{name:"行为成本",column:"cpc"},{name:"激活成本",column:"cpa"}]);const{date:e,cust_id:t}=a.propObj,l=y({cust_id:t,date:e,sort:u.value});let o=r.traffic_dailyList_detial,i=await n.$http.get(o,l);if(p.value++,F.value.loading=!1,i&&"0"==i.code){s.tableList=[];let e=i.data;s.tableList=e}else c.error(i.msg)},{tableListRef:F}=d();return(t,a)=>{const n=m;return g(),b("div",null,[h(n,{"model-value":e.drawerShow,direction:"rtl","before-close":o,"show-close":!1,size:"80%"},{header:S((()=>[w("div",q,[w("h4",G,L(e.propObj.date||"标题")+" ("+L(e.propObj.title)+") ",1)])])),default:S((()=>[h(i,{ref_key:"tableListRef",ref:F,tableHeight:"calc(100vh - 70px)",updateKey:p.value,rowKeyStr:"user_id",tableData:s.tableList,descol:s.descolList,showPagination:!1,sortKey:u.value,haveSortType:!1,onSort:x,onInit:k},{star_name:S((e=>[w("div",Q,[w("div",null,[e.row.head_url?(g(),b("img",{key:0,src:e.row.head_url,alt:"",class:"img"},null,8,J)):(g(),b("img",X))]),w("div",Y,[w("div",{class:"name clampTwo",title:e.row.star_name},L(e.row.star_name||"-"),9,Z),e.row.fan?(g(),b("div",ee,"粉丝数: "+L(D(l)(e.row.fan)||"-"),1)):O("",!0)])])])),_:1},8,["updateKey","tableData","descol","sortKey"])])),_:1},8,["model-value"])])}}}),[["__scopeId","data-v-7ba25ae6"]]);const ae={class:"screenBox"},ne={class:"flex lMarauto"},le={class:"tableBox"},oe=["onClick"];var se=u(p({__name:"subdailyData",setup(l){const{proxy:m}=j(),u=f(),p=f(),_=async(e,t)=>{O.value.loading=!0,await void(x.descolList=[{name:"日期",column:"date",isfixed:"left",minWidth:"160px"},{name:"消耗",column:"consume_amount"},{name:"播放数",column:"play"},{name:"行为数",column:"action"},{name:"激活数",column:"conversion"},{name:"付费次数",column:"event_pay"},{name:"表单提交数",column:"submissions_number"},{name:"表单提交数成本",column:"sub_cpa"},{name:"评论数",column:"comment"},{name:"点赞数",column:"admire"},{name:"3秒播放数",column:"played3s_cnt"},{name:"3秒播放率",column:"played3s_percent",hasPercent:!0},{name:"行为率",column:"ctr",hasPercent:!0},{name:"千次观看成本",column:"cpm"},{name:"行为成本",column:"cpc"},{name:"激活成本",column:"cpa"},{name:"操作",column:"operate",slotFlag:!0,isfixed:"right"}]);const a=y({page:e||1,pageSize:t||20,cust_id:p.value.value,st_date:u.value.dateVal[0],en_date:u.value.dateVal[1]});let n=r.traffic_dailyList,l=await m.$http.get(n,a);if(O.value.loading=!1,l&&"0"==l.code){let e=l.data;x.tableList=e.data,C.value=e.pageInfo.totalNum}else c.error(l.msg)},L=async()=>{t();const e=y({page:1,pageSize:1e4,cust_id:p.value.value,st_date:u.value.dateVal[0],en_date:u.value.dateVal[1]});let l=await m.$http.get(r.traffic_dailyList,e);if(l&&"0"==l.code){let e=l.data;await a(e.data,x.descolList,"name","column","分日数据"),setTimeout((()=>{n()}),2e3)}else c.error(l.msg),n()},x=y({tableList:[],descolList:[]}),{tableListRef:O,total:C}=d(),I=f(!1),P=f(!1),R=y({cust_id:0,date:"",title:""}),T=y({list:[]}),V=async()=>{O.value.loading=!0;const e=y({cust_id:p.value.value});let t=r.traffic_dailyList_update,a=await m.$http.post(t,e);a&&"0"==a.code?(c.success(a.msg),_()):(O.value.loading=!1,c.error(a.msg))};return k((async()=>{await(async()=>{const e=y({page:1,pageSize:500});let t=await m.$http.get(r.customerAuth_list,e);if(t&&"0"==t.code){let e=t.data;T.list=[],e.data.forEach((e=>{T.list.push({value:e.id,label:e.name})}));const a=T.list.findIndex((e=>4==e.value));p.value.value=T.list[a].value}else c.error(t.msg)})(),_()})),(t,a)=>(g(),b(F,null,[w("div",ae,[h(o,{title:"",onInit:_,ref_key:"timeScreenRef",ref:u,disabledDay:180},null,512),h(s,{ref_key:"selectRefForm",ref:p,filterFlag:!0,clearFlag:!1,selectWidth:"220px",title:"客户",options:T.list,onChangeEvent:a[0]||(a[0]=e=>_(1,20))},null,8,["options"]),w("div",ne,[w("div",{class:"exportBtn",onClick:V},"更新"),h(e,{haveUpdateFlag:!0,onUpdateEvent:L})])]),w("div",le,[h(i,{ref_key:"tableListRef",ref:O,tableHeight:"calc(100vh - 295px)",onInit:_,tableData:x.tableList,descol:x.descolList,total:D(C)},{operate:S((e=>[w("div",{class:"text-center pointer c-theme",onClick:t=>{return a=e.row.date,I.value=!0,void v((()=>{R.cust_id=p.value.value,R.date=a;const e=T.list.findIndex((e=>e.value==p.value.value));R.title=T.list[e].label}));var a}},"详情",8,oe)])),_:1},8,["tableData","descol","total"])]),h(te,{propObj:R,drawerShow:I.value,loading:P.value,onClose:a[1]||(a[1]=e=>I.value=!1)},null,8,["propObj","drawerShow","loading"])],64))}}),[["__scopeId","data-v-0d82bb58"]]);const ie={class:"screenBox"},ce={class:"tableBox"},me=["onClick"],re=p({__name:"industry",setup(l){const{proxy:m}=j(),u=f(),p=f(),_=async(e,t)=>{O.value.loading=!0,await(x.descolList=[{name:"行业名称",column:"industry_name",isfixed:"left",minWidth:"160px"},{name:"消耗",column:"consume_amount",isSort:!0},{name:"播放数",column:"play",isSort:!0},{name:"行为数",column:"action",isSort:!0},{name:"激活数",column:"conversion",isSort:!0},{name:"评论数",column:"comment",isSort:!0},{name:"点赞数",column:"admire",isSort:!0},{name:"3秒播放数",column:"played3s_cnt",isSort:!0},{name:"3秒播放率",column:"played3s_percent",isSort:!0,hasPercent:!0},{name:"行为率",column:"ctr",isSort:!0,hasPercent:!0},{name:"千次观看成本",column:"cpm",isSort:!0},{name:"行为成本",column:"cpc",isSort:!0},{name:"激活成本",column:"cpa",isSort:!0},{name:"操作",column:"operate",slotFlag:!0,isfixed:"right"}],void("living"==p.value.value&&(x.descolList=[{name:"行业名称",column:"industry_name",isfixed:"left",minWidth:"160px"},{name:"消耗",column:"consume_amount",isSort:!0},{name:"引入观众数",column:"audience_num",isSort:!0},{name:"观看3秒+观众数",column:"played3s_num",isSort:!0},{name:"涨粉数",column:"fans_increase_num",isSort:!0},{name:"推广直播间曝光数",column:"item_impression_num",isSort:!0},{name:"互动数",column:"interactive_num",isSort:!0},{name:"组件曝光数",column:"conversion_impression_num",isSort:!0},{name:"行为数",column:"conversion_action_num",isSort:!0},{name:"现金金额",column:"cash_amount",isSort:!0},{name:"客户返货金额",column:"client_amount",isSort:!0},{name:"代理返货金额",column:"agency_amount",isSort:!0},{name:"授信实际消耗金额",column:"credit_consume_amount",isSort:!0},{name:"组件点击率",column:"ctr",isSort:!0,hasPercent:!0},{name:"行为成本",column:"cpa",isSort:!0},{name:"操作",column:"operate",slotFlag:!0,isfixed:"right"}])));const a=y({page:e||1,pageSize:t||20,sort_type:"min"==P.value?0:1,sort:I.value,st_date:u.value.dateVal[0],en_date:u.value.dateVal[1]});let n=r.traffic_industry_video_list;"living"==p.value.value&&(n=r.traffic_industry_living_list);let l=await m.$http.get(n,a);if(O.value.loading=!1,l&&"0"==l.code){let e=l.data;x.tableList=e.data,C.value=e.pageInfo.totalNum}else c.error(l.msg)},L=async()=>{t();const e=y({page:1,pageSize:1e4,sort_type:"min"==P.value?0:1,sort:I.value,st_date:u.value.dateVal[0],en_date:u.value.dateVal[1]});let l=r.traffic_industry_video_list;"living"==p.value.value&&(l=r.traffic_industry_living_list);let o=await m.$http.get(l,e);if(o&&"0"==o.code){let e=o.data;await a(e.data,x.descolList,"name","column","行业分析"),setTimeout((()=>{n()}),2e3)}else c.error(o.msg),n()},x=y({tableList:[],descolList:[]}),{tableListRef:O,total:C,sortKey:I,sortType:P,sortEvent:R}=d([],_,"consume_amount"),T=f(!1),V=f(!1),E=f("标题"),K=y({industry_id:0,st_date:"",en_date:"",type:"",kind:"industry"}),B=()=>{I.value="consume_amount",_(1,20)};return k((()=>{p.value.value=z[0].value,_()})),(t,a)=>(g(),b(F,null,[w("div",ie,[h(o,{title:"",onInit:_,ref_key:"timeScreenRef",ref:u,disabledDay:180},null,512),h(s,{ref_key:"selectRefForm",ref:p,clearFlag:!1,title:"推广形式",options:D(z),onChangeEvent:B},null,8,["options"]),h(e,{haveUpdateFlag:!0,onUpdateEvent:L})]),w("div",ce,[h(i,{ref_key:"tableListRef",ref:O,tableHeight:"calc(100vh - 295px)",onInit:_,sortKey:D(I),sortType:D(P),onSort:D(R),tableData:x.tableList,descol:x.descolList,total:D(C)},{operate:S((e=>[w("div",{class:"text-center pointer c-theme",onClick:t=>{return a=e.row.industry_id,n=e.row.industry_name,T.value=!0,void v((()=>{E.value=n,K.industry_id=a,K.st_date=u.value.dateVal[0],K.en_date=u.value.dateVal[1],K.type=p.value.value,K.kind="industry"}));var a,n}},"详情",8,me)])),_:1},8,["sortKey","sortType","onSort","tableData","descol","total"])]),h(N,{title:E.value,propObj:K,drawerShow:T.value,loading:V.value,onClose:a[0]||(a[0]=e=>T.value=!1)},null,8,["title","propObj","drawerShow","loading"])],64))}}),ue={class:"typeBorlineBox"},de=["onClick"],pe=w("div",{class:"borLine"},null,-1),_e=p({__name:"index",setup(e){const t=C(se),a=y([{name:"分日数据",key:"subdailyData",compName:I(se)},{name:"行业分析",key:"industry",compName:I(re)},{name:"客户分析",key:"customer",compName:I(M)}]),{typeAc:n,typeList:o}=l(a);return(e,a)=>(g(),b(F,null,[w("div",ue,[(g(!0),b(F,null,P(D(o).list,(e=>(g(),b("div",{class:x(["item",e.key==D(n)?"itemAc":""]),key:e.key,onClick:a=>(e=>{n.value=e.key,t.value=e.compName})(e)},[w("div",null,L(e.name),1),pe],10,de)))),128))]),(g(),R(V,null,[(g(),R(T(D(t))))],1024))],64))}});export{_e as default};
|