(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69455c10"],{5703:function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("el-drawer",{attrs:{title:"我是标题",visible:t.showStatus,size:"70%","before-close":t.closeFn,"with-header":!1},on:{"update:visible":function(a){t.showStatus=a}}},[s("div",{staticClass:"head-wrap"},[s("div",{staticClass:"head-left"},[s("cl-avatar",{style:{margin:"auto"},attrs:{size:60,src:t._f("default_avatar")(t.info.avatarUrl)}}),s("div",[t._v(t._s(t.info.userName))]),t.info.userAsset?s("div",[t._v(t._s(t.info.userAsset.growth))]):t._e()],1),s("div",{staticClass:"head-right"},[s("div",[s("div",{staticClass:"info-label"},[t._v("用户ID")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.id||"暂无"))])]),s("div",[s("div",{staticClass:"info-label"},[t._v("手机号")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.mobile||"暂无"))])]),s("div",[s("div",{staticClass:"info-label"},[t._v("昵称")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.userName||"暂无"))])]),s("div",[s("div",{staticClass:"info-label"},[t._v("关注公众号")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.subscribe||"暂无"))])]),s("div",[s("div",{staticClass:"info-label"},[t._v("性别")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.sex||"暂无"))])]),s("div",[s("div",{staticClass:"info-label"},[t._v("最近访问")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.visitTimeFormat||"暂无"))])]),s("div",[s("div",{staticClass:"info-label"},[t._v("生日")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.birthday||"暂无"))])]),s("div",[s("div",{staticClass:"info-label"},[t._v("创建时间")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.createTime||"暂无"))])]),s("div",[s("div",{staticClass:"info-label"},[t._v("住址")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.address||"暂无"))])]),s("div",[s("div",{staticClass:"info-label"},[t._v("用户来源")]),s("div",{staticClass:"info-val"},[t._v(t._s(t.info.source||"暂无"))])])])]),s("div",{staticClass:"card-wrap"},[s("div",{staticClass:"card-tit"},[t._v("资产信息")]),s("el-table",{attrs:{data:t.assetsData}},[s("el-table-column",{attrs:{property:"totalExpend",label:"消费金额"}}),s("el-table-column",{attrs:{property:"totalBuyNum",label:"消费次数"}}),s("el-table-column",{attrs:{property:"balance",label:"余额"}}),s("el-table-column",{attrs:{property:"growth",label:"成长值"}}),s("el-table-column",{attrs:{property:"getCouponNum",label:"领优惠券数"}}),s("el-table-column",{attrs:{property:"totalRecharge",label:"累计充值"}}),s("el-table-column",{attrs:{property:"inviteNum",label:"邀请新人数"}}),s("el-table-column",{attrs:{property:"discount",label:"享折扣"}})],1)],1),s("div",{staticClass:"card-wrap"},[s("div",{staticClass:"card-tit"},[t._v("订单记录")]),s("el-table",{attrs:{data:t.orderData}},[s("el-table-column",{attrs:{property:"id",label:"ID"}}),s("el-table-column",{attrs:{property:"createTime",label:"提交时间"}}),s("el-table-column",{attrs:{property:"orderName",label:"订单名称"}}),s("el-table-column",{attrs:{property:"actPrice",label:"订单金额"}}),s("el-table-column",{attrs:{property:"payWay",label:"支付方式"}}),s("el-table-column",{attrs:{property:"sendNum",label:"编号"}}),s("el-table-column",{attrs:{property:"status",label:"订单状态"},scopedSlots:t._u([{key:"default",fn:function(a){return[s("span",[t._v(t._s(t._f("constantfilter")(a.row.status,"ORDER_STATUS")))])]}}])}),s("el-table-column",{attrs:{property:"discount",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(a){return[s("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.$router.push("/order/list")}}},[t._v("查看订单")])]}}])})],1)],1)])},l=[],i={name:"detail-draw",props:{show:{type:Boolean,default:!1},info:{type:Object,default:function(){}}},data:function(){return{showStatus:!1,data:{},assetsData:[],orderData:[]}},watch:{show:function(t){this.showStatus=t,t&&this.init()}},methods:{init:function(){var t=this;this.$service.member.allDetail({userId:this.info.id}).then((function(a){t.data=a,t.assetsData=[a.userAsset],t.orderData=a.orderList}))},closeFn:function(t){this.$emit("update:show",!1),t()}}},o=i,r=(s("a73f"),s("5511")),n=Object(r["a"])(o,e,l,!1,null,"43ea82a0",null);a["default"]=n.exports},6157:function(t,a,s){},a73f:function(t,a,s){"use strict";var e=s("6157"),l=s.n(e);l.a}}]);