You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crmeb_php/public/system/js/chunk-7ae438f6.2c7f0271.js

1 line
43 KiB

12 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7ae438f6"],{"07d5":function(t,e,n){"use strict";n("7ec4")},"623d":function(t,e,n){"use strict";n("dbc0")},"7ec4":function(t,e,n){},a9c2:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.psInfo?n("div",{staticClass:"acea-row row-middle"},[n("div",{staticClass:"avatar mr15"},[n("div",{staticClass:"block"},[n("el-avatar",{attrs:{size:50,src:t.psInfo.avatar?t.psInfo.avatar:t.moren}})],1)]),t._v(" "),n("div",{staticClass:"dashboard-workplace-header-tip"},[n("p",{staticClass:"dashboard-workplace-header-tip-title",domProps:{textContent:t._s(t.psInfo.nickname||"-")}}),t._v(" "),n("div",{staticClass:"dashboard-workplace-header-tip-desc"},[n("span",{staticClass:"dashboard-workplace-header-tip-desc-sp"},[t._v("余额: "+t._s(t.psInfo.now_money))]),t._v(" "),n("span",{staticClass:"dashboard-workplace-header-tip-desc-sp"},[t._v("总计订单: "+t._s(t.psInfo.pay_count))]),t._v(" "),n("span",{staticClass:"dashboard-workplace-header-tip-desc-sp"},[t._v("总消费金额: "+t._s(t.psInfo.pay_price))]),t._v(" "),n("span",{staticClass:"dashboard-workplace-header-tip-desc-sp"},[t._v("本月订单: "+t._s(t.psInfo.total_pay_count))]),t._v(" "),n("span",{staticClass:"dashboard-workplace-header-tip-desc-sp"},[t._v("本月消费金额: "+t._s(t.psInfo.total_pay_price))]),t._v(" "),t.psInfo.is_svip?n("span",{staticClass:"dashboard-workplace-header-tip-desc-sp"},[t._v("会员到期时间: "+t._s(t.psInfo.svip_endtime))]):t._e(),t._v(" "),t.cancelTime?n("span",{staticClass:"dashboard-workplace-header-tip-desc-sp"},[t._v("注销时间: "+t._s(t.cancelTime))]):t._e()])])]):t._e(),t._v(" "),n("el-row",{staticClass:"ivu-mt mt20",attrs:{align:"middle",gutter:10}},[n("el-col",{attrs:{span:4}},[n("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":"0"},on:{select:t.changeType}},t._l(t.list,(function(e,a){return n("el-menu-item",{key:a,attrs:{name:e.val,index:e.val}},[n("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.label))])])})),1)],1),t._v(" "),n("el-col",{attrs:{span:20}},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],key:t.type,ref:"tabe",staticClass:"tabNumWidth",attrs:{data:t.tableData.data,size:"mini"}},[t._l(t.columns,(function(t,e){return n("el-table-column",{key:e,attrs:{prop:t.key,label:t.title,width:"item.minWidth"}})})),t._v(" "),"3"===t.type?n("el-table-column",{key:111,attrs:{label:"有效期","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("filterEmpty")(e.row?e.row.start_time+"-"+e.row.end_time:"")))])]}}],null,!1,3673940515)}):t._e(),t._v(" "),"2"===t.type?n("el-table-column",{key:112,attrs:{label:"上级推荐人头像","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"demo-image__preview"},[n("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:e.row.spread&&e.row.spread.avatar?e.row.spread.avatar:t.moren,"preview-src-list":[e.row.avatar||t.moren]}})],1)]}}],null,!1,3621700489)}):t._e()],2),t._v(" "),n("div",{staticClass:"block"},[n("el-pagination",{attrs:{"page-sizes":[6,12,18,24],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1)],1)},i=[],s=(n("c5f6"),n("c24f")),o={name:"UserDetails",props:{uid:{type:Number,default:null},cancelTime:{type:Number,default:null}},data:function(){return{moren:n("cdfe"),loading:!1,columns:[],Visible:!1,list:[{val:"0",label:"消费记录"},{val:"3",label:"持有优惠券"},{val:"4",label:"余额变动"},{val:"2",label:"推荐人修改记录"}],tableData:{data:[],total:0},tableFrom:{page:1,limit:6},psInfo:null,type:"0"}},mounted:function(){this.uid&&(this.getHeader(),this.getInfo("0"))},beforeUpdate:function(){var t=this;this.$nextTick((function(){t.$refs["tabe"].doLayout()}))},methods:{changeType:function(t){this.type=t,this.tabl