| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d3a8efd4"],{"14f3":function(e,t,a){},6898:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:"选择会员",visible:e.selDialog,"close-on-click-modal":!1,"append-to-body":!0,width:"800px"},on:{"update:visible":function(t){e.selDialog=t}}},[t("div",{staticClass:"recharge-modal-content"},[t("el-radio-group",{staticClass:"radio-wrap",model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[t("x-crud",{staticClass:"liu-crud-wrap",on:{load:e.onLoad},scopedSlots:e._u([{key:"table-column-radio",fn:function(a){var i=a.scope;return[t("div",[t("el-radio",{attrs:{label:i.row.index}},[e._v("选择")])],1)]}},{key:"table-column-userName",fn:function(a){var i=a.scope;return[t("div",{staticClass:"flex-center"},[t("cl-avatar",{attrs:{shape:"square",size:40,src:e._f("default_avatar")(i.row.avatar)}}),t("div",{staticClass:"app-margin-left-10"},[e._v(e._s(i.row.userName))])],1)]}},{key:"table-column-member",fn:function(a){var i=a.scope;return[-1==i.row.member?t("div",[e._v("非会员")]):t("div",[e._v(e._s(i.row.userAsset.growth))])]}}])})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"small"},on:{click:e.resetForm}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.confirmFn}},[e._v("确定")])],1)])},r=[],n=a("b57b"),o=a("8998"),s=(a("d6d8"),a("45d2"),a("9052"),a("dc93"),{name:"sel-search",props:{show:{type:Boolean,default:!1},multi:{type:Boolean,default:!1}},data:function(){return{selDialog:!1,ruleForm:{},radio:"",list:[],selData:{}}},watch:{show:function(e){this.selDialog=e}},created:function(){},methods:{confirmFn:function(){this.$emit("confirm",this.list[this.radio])},resetForm:function(){this.$emit("update:show",!1),this.$emit("cancel")},onLoad:function(e){var t=this,a=e.ctx,i=e.app;this.app=i,a.service(this.$service.member).set("table",{columns:[{prop:"radio",label:"选择",align:"center","min-width":60},{prop:"userName",label:"会员名字",align:"center"},{prop:"mobile",label:"手机号",align:"center"},{prop:"member",label:"会员级别",align:"center"},{prop:"visitTimeFormat",label:"最近访问",align:"center"}],op:{visible:!1}}).set("pagination",{size:6}).set("layout",[["slot-tabs"],["search-key","flex1","refresh-btn"],["data-table"],["flex1","pagination"]]).on("refresh",function(){var e=Object(o["a"])(Object(n["a"])().m((function e(a,i){var r,o,s,l;return Object(n["a"])().w((function(e){while(1)switch(e.n){case 0:return r=i.next,o=i.render,e.n=1,r(a);case 1:s=e.v,l=s.list,l.map((function(e,t){e.index=t})),t.list=l,o(l);case 2:return e.a(2)}}),e)})));return function(t,a){return e.apply(this,arguments)}}()).done(),i.refresh({type:this.tabIndex})}}}),l=s,c=(a("bccd"),a("1805")),u=Object(c["a"])(l,i,r,!1,null,null,null);t["default"]=u.exports},bccd:function(e,t,a){"use strict";a("14f3")}}]);
|