1 line
5.2 KiB
JavaScript
1 line
5.2 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-44cf63c9"],{"2e03":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-card",{staticClass:"box-card",staticStyle:{"min-height":"850px"}},[n("div",{staticStyle:{height:"50px","line-height":"50px",display:"flex","align-items":"center","justify-content":"space-between","border-bottom":"1px solid #f0f2f5"}},[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),t._v(" "),n("div",[n("a-input-search",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入搜索"},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}})],1)],1),t._v(" "),t.tableShow?n("page-table",{staticStyle:{padding:"20px"},attrs:{"connect-loading":t.loading,border:!1,input:t.input,limit:Number(10),"table-list":t.tableData,"table-info":t.tableInfo}},[n("el-table-column",{attrs:{slot:"operate",fixed:"",label:"访客ID",align:"center",sortable:""},slot:"operate",scopedSlots:t._u([{key:"default",fn:function(e){return[n("a",{staticStyle:{color:"#6bb8ff"},on:{click:function(n){return t.lookUserInfo(e.row["xwl_distinct_id"],e.$index)}}},[t._v(t._s(e.row["xwl_distinct_id"]))])]}}],null,!1,219708177)}),t._v(" "),t._l(t.propMap,(function(e,a,r){return n("el-table-column",{key:r,attrs:{slot:"operate",label:e,prop:a,align:"center",sortable:""},slot:"operate",scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row[a])+"\n ")]}}],null,!0)})}))],2):t._e()],1)],1)},r=[],i=(n("456d"),n("55dd"),n("ac6a"),n("c80c")),o=(n("96cf"),n("3b8d")),s=n("94b0"),u={name:"UserList",components:{PageTable:function(){return n.e("chunk-b022bae4").then(n.bind(null,"e94a"))}},data:function(){return{loading:!1,tableInfo:[{slot:"operate"}],tableData:[],propMap:{},input:"",tableShow:!1}},mounted:function(){var t=Object(o["a"])(Object(i["a"])().mark((function t(){return Object(i["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:{refreshTable:function(){var t=this;this.tableShow=!1,this.$nextTick((function(){t.tableShow=!0}))},init:function(){var t=Object(o["a"])(Object(i["a"])().mark((function t(){var e,n,a=this;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.propMap={},e={},e["appid"]=this.$store.state.baseData.EsConnectID,e["ui"]=this.$store.state.baseData.ui,this.loading=!0,t.next=7,Object(s["k"])(e);case 7:if(n=t.sent,this.loading=!1,0==n.code){t.next=13;break}return this.$message({offset:60,type:"error",message:n.msg}),this.refreshTable(),t.abrupt("return");case 13:null==n.data.alldata&&(n.data.alldata=[]),this.tableData=n.data.alldata,Object.keys(n.data.propMap).sort().forEach((function(t){a.propMap[t]=n.data.propMap[t]})),delete this.propMap["xwl_distinct_id"],this.refreshTable();case 18:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),lookUserInfo:function(t,e){this.$router.push({path:"/user-analysis/user_info/"+t+"/"+e})}}},c=u,l=n("2877"),d=Object(l["a"])(c,a,r,!1,null,"6db320f6",null);e["default"]=d.exports},"2f21":function(t,e,n){"use strict";var a=n("79e5");t.exports=function(t,e){return!!t&&a((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"55dd":function(t,e,n){"use strict";var a=n("5ca1"),r=n("d8e8"),i=n("4bf8"),o=n("79e5"),s=[].sort,u=[1,2,3];a(a.P+a.F*(o((function(){u.sort(void 0)}))||!o((function(){u.sort(null)}))||!n("2f21")(s)),"Array",{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),r(t))}})},"94b0":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"d",(function(){return s})),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 b})),n.d(e,"i",(function(){return h}));var a=n("b775"),r="/api/analysis/";function i(t){return Object(a["a"])({url:r+"GetConfigs",method:"post",data:t})}function o(t){return Object(a["a"])({url:r+"LoadPropQuotas",method:"post",data:t})}function s(t){return Object(a["a"])({url:r+"GetValues",method:"post",data:t})}function u(t){return Object(a["a"])({url:r+"FunnelList",method:"post",data:t})}function c(t){return Object(a["a"])({url:r+"RetentionList",method:"post",data:t})}function l(t){return Object(a["a"])({url:r+"TraceList",method:"post",data:t})}function d(t){return Object(a["a"])({url:r+"UserAttrList",method:"post",data:t})}function p(t){return Object(a["a"])({url:r+"EventList",method:"post",data:t})}function f(t){return Object(a["a"])({url:r+"UserList",method:"post",data:t})}function b(t){return Object(a["a"])({url:r+"UserEventDetailList",method:"post",data:t})}function h(t){return Object(a["a"])({url:r+"UserEventCountList",method:"post",data:t})}}}]); |