chunk-250e3836.0d167a16.js 2.2 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-250e3836"],{3185:function(t,e,a){"use strict";a("8f61")},"521e":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("a-spin",{attrs:{spinning:t.isLoading}},[e("s-table",{ref:"table",staticClass:"tableBox",attrs:{rowKey:"act_id",loading:t.isLoading,columns:t.columns,data:t.loadData,pageSize:15,bordered:""},scopedSlots:t._u([{key:"name",fn:function(a){return[e("p",{staticClass:"textWrap"},[t._v(t._s(a))])]}},{key:"start_time",fn:function(a,n){return e("span",{},[e("p",[t._v(t._s(n.start_time)+"至")]),e("p",[t._v(t._s(n.end_time))])])}}])})],1)},i=[],d=a("753f"),s=a("ba0a"),r=a("2af9"),o=[{title:"活动ID",width:"60px",dataIndex:"act_id"},{title:"活动名称",width:"140px",dataIndex:"act_name",scopedSlots:{customRender:"name"}},{title:"活动时间",dataIndex:"start_time",width:"160px",scopedSlots:{customRender:"start_time"}},{title:"商品SPU编码",dataIndex:"goods_no",width:"160px"},{title:"商品名称",width:"220px",dataIndex:"goods_name",scopedSlots:{customRender:"name"}},{title:"到达浏览量",dataIndex:"pv",width:"100px"},{title:"访客数",dataIndex:"uv",width:"100px"},{title:"新访客数",dataIndex:"uv_new",width:"100px"},{title:"支付订单数",dataIndex:"pay_order_count",width:"100px"},{title:"支付人数",dataIndex:"pay_user_count",width:"100px"},{title:"支付金额(元)",dataIndex:"pay_amount",width:"100px"},{title:"访问-支付转化率",dataIndex:"ratio",width:"100px"}],c={components:{STable:r["c"]},data:function(){var t=this;return{isLoading:!1,queryParam:{},columns:o,loadData:function(e){return t.queryParam.act_type="2",s["a"](Object(d["a"])(Object(d["a"])({},e),t.queryParam)).then((function(t){return t.data.list}))}}}},u=c,l=(a("3185"),a("829d")),p=Object(l["a"])(u,n,i,!1,null,"23cc4274",null);e["default"]=p.exports},"8f61":function(t,e,a){},ba0a:function(t,e,a){"use strict";a.d(e,"a",(function(){return d})),a.d(e,"b",(function(){return s}));var n=a("b775"),i={list:"/actEffectStatistics/list",refresh:"/actEffectStatistics/refresh"};function d(t){return Object(n["b"])({url:i.list,method:"get",params:t})}function s(t){return Object(n["b"])({url:i.refresh,method:"get",params:t})}}}]);