bi/views/dist/static/js/chunk-694ca573.6c9f740d.js
2025-05-22 16:27:39 +08:00

1 line
6.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-694ca573"],{"20ff":function(t,e,n){},"344b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[n("div",{staticClass:"content_xwl"},[n("div",{staticClass:"header_xwl",staticStyle:{background:"white"}},[n("div",{staticClass:"root_xwl"},[n("div",{staticClass:"main_xwl"},[n("a-tooltip",{staticStyle:{cursor:"pointer"},attrs:{placement:"right"}},[n("template",{slot:"title"},[n("span",[t._v("查看用户访问过的所有事件")])]),t._v(" "),n("span",{staticClass:"title_xwl",staticStyle:{color:"#202d3f"}},[t._v("  用户事件详情 "),n("a-icon",{attrs:{type:"question-circle"}})],1)],2)],1),t._v(" "),n("div",{staticClass:"actions_xwl"})])]),t._v(" "),n("split-pane",{attrs:{"min-percent":0,"default-percent":22,split:"vertical"},on:{resize:t.onResize}},[n("template",{slot:"paneL"},[n("div",{staticStyle:{height:"100%",width:"100%",display:"inline-block","vertical-align":"top",background:"white"},attrs:{id:"scollL"}},[n("div",{staticStyle:{width:"100%",height:"50px","margin-top":"0px","z-index":"10000","border-bottom":"1px solid #f0f2f5",background:"white",display:"flex","align-items":"center","justify-content":"center"}},[n("div",{staticStyle:{color:"#303133","font-weight":"bolder"}},[t._v("用户属性")])]),t._v(" "),n("div",{staticStyle:{width:"100%",height:"calc(100% - 190px)","overflow-x":"hidden","overflow-y":"auto"}},[n("el-form",{staticClass:"user-attr-pannel",staticStyle:{"margin-left":"30px","margin-top":"10px"},attrs:{"label-position":"left",inline:""}},t._l(this.userAttrForm,(function(e,r,a){return n("el-form-item",{key:a,attrs:{label:t.userAttrDescMap[r].concat("")}},[n("el-tag",[t._v(t._s(e))])],1)})),1)],1),t._v(" "),n("div",{staticStyle:{width:"100%",height:"50px","margin-bottom":"0px","z-index":"10000","border-top":"1px solid #f0f2f5",background:"white",display:"flex","align-items":"center","justify-content":"center"}},[n("el-button",{attrs:{type:"primary"},on:{click:t.prevUser}},[t._v("<前一个用户")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.nextUser}},[t._v("后一个用户>")])],1)])]),t._v(" "),n("template",{slot:"paneR"},[n("a-spin",{attrs:{tip:"计算中...",spinning:t.spinning}},[n("div",{staticClass:"spin-content"},[n("user-info-res",{attrs:{userId:t.uid}})],1)])],1)],2)],1)])},a=[],s=(n("c5f6"),n("c80c")),i=(n("96cf"),n("3b8d")),o=n("2ef0"),u=n("b76a"),c=n.n(u),l=n("94b0"),d={name:"UserInfo",components:{draggable:c.a,UserInfoRes:function(){return n.e("chunk-10eb6bbe").then(n.bind(null,"efbb"))}},data:function(){return{userAttrForm:{},userAttrDescMap:{},spinning:!1,debounceHandleSizeChange:void 0}},computed:{uid:function(){return this.$route.params.uid}},beforeMount:function(){var t=Object(i["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.debounceHandleSizeChange=Object(o["debounce"])(this.refreshRes,500);case 1:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),mounted:function(){var t=Object(i["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.init();case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:{prevUser:function(){var t=Number(this.$route.params.index),e=this.$store.state.baseData.ui;0!=e.length?0!=t?(t-=1,this.$router.push({path:"/user-analysis/user_info/"+e[t]+"/"+t})):this.$message({type:"error",message:"已是最前面一个用户"}):this.$message({type:"error",message:"用户群数量为0"})},nextUser:function(){var t=Number(this.$route.params.index),e=this.$store.state.baseData.ui;0!=e.length?t!=e.length-1?(t+=1,this.$router.push({path:"/user-analysis/user_info/"+e[t]+"/"+t})):this.$message({type:"error",message:"已是最后一个用户"}):this.$message({type:"error",message:"用户群数量为0"})},refreshRes:function(){var t=this;this.$nextTick((function(){t.eventResShow=!0}))},onResize:function(){this.eventResShow=!1,this.debounceHandleSizeChange()},init:function(){var t=Object(i["a"])(Object(s["a"])().mark((function t(){var e,n,r;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.$route.params.uid,this.propMap={},n={},n["appid"]=this.$store.state.baseData.EsConnectID,n["ui"]=[e],t.next=7,Object(l["k"])(n);case 7:if(r=t.sent,0==r.code){t.next=11;break}return this.$message({type:"error",message:r.msg}),t.abrupt("return");case 11:if(null==r.data.alldata&&(r.data.alldata=[]),0!=r.data.alldata.length){t.next=15;break}return this.$message({type:"error",message:"该用户不存在"}),t.abrupt("return");case 15:this.userAttrForm=r.data.alldata[0],this.userAttrDescMap=r.data.propMap;case 17:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},p=d,f=(n("94b5"),n("512f"),n("2877")),h=Object(f["a"])(p,r,a,!1,null,"00ff54da",null);e["default"]=h.exports},"512f":function(t,e,n){"use strict";n("84e5")},"84e5":function(t,e,n){},"94b0":function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"e",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return d})),n.d(e,"a",(function(){return p})),n.d(e,"k",(function(){return f})),n.d(e,"j",(function(){return h})),n.d(e,"i",(function(){return b}));var r=n("b775"),a="/api/analysis/";function s(t){return Object(r["a"])({url:a+"GetConfigs",method:"post",data:t})}function i(t){return Object(r["a"])({url:a+"LoadPropQuotas",method:"post",data:t})}function o(t){return Object(r["a"])({url:a+"GetValues",method:"post",data:t})}function u(t){return Object(r["a"])({url:a+"FunnelList",method:"post",data:t})}function c(t){return Object(r["a"])({url:a+"RetentionList",method:"post",data:t})}function l(t){return Object(r["a"])({url:a+"TraceList",method:"post",data:t})}function d(t){return Object(r["a"])({url:a+"UserAttrList",method:"post",data:t})}function p(t){return Object(r["a"])({url:a+"EventList",method:"post",data:t})}function f(t){return Object(r["a"])({url:a+"UserList",method:"post",data:t})}function h(t){return Object(r["a"])({url:a+"UserEventDetailList",method:"post",data:t})}function b(t){return Object(r["a"])({url:a+"UserEventCountList",method:"post",data:t})}},"94b5":function(t,e,n){"use strict";n("20ff")}}]);