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.
 
 
 
 

1 lines
21 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47d0e5a6"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,a,n){return e/=n/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,a){var i=o(),s=e-i,c=20,l=0;t="undefined"===typeof t?500:t;var u=function e(){l+=c;var o=Math.easeInOutQuad(l,i,s,t);r(o),l<t?n(e):a&&"function"===typeof a&&a()};u()}},"27ae":function(e,t,a){(function(a){var n,r;(function(t,a){e.exports=a(t)})("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof a?a:this,(function(a){"use strict";a=a||{};var o,i=a.Base64,s="2.6.4",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(e){for(var t={},a=0,n=e.length;a<n;a++)t[e.charAt(a)]=a;return t}(c),u=String.fromCharCode,m=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,f=function(e){return e.replace(d,m)},b=function(e){var t=[0,2,1][e.length%3],a=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),n=[c.charAt(a>>>18),c.charAt(a>>>12&63),t>=2?"=":c.charAt(a>>>6&63),t>=1?"=":c.charAt(63&a)];return n.join("")},p=a.btoa&&"function"==typeof a.btoa?function(e){return a.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,b)},g=function(e){return p(f(String(e)))},h=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},v=function(e,t){return t?h(g(e)):g(e)},y=function(e){return v(e,!0)};a.Uint8Array&&(o=function(e,t){for(var a="",n=0,r=e.length;n<r;n+=3){var o=e[n],i=e[n+1],s=e[n+2],l=o<<16|i<<8|s;a+=c.charAt(l>>>18)+c.charAt(l>>>12&63)+("undefined"!=typeof i?c.charAt(l>>>6&63):"=")+("undefined"!=typeof s?c.charAt(63&l):"=")}return t?h(a):a});var T,w=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,x=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),a=t-65536;return u(55296+(a>>>10))+u(56320+(1023&a));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},k=function(e){return e.replace(w,x)},O=function(e){var t=e.length,a=t%4,n=(t>0?l[e.charAt(0)]<<18:0)|(t>1?l[e.charAt(1)]<<12:0)|(t>2?l[e.charAt(2)]<<6:0)|(t>3?l[e.charAt(3)]:0),r=[u(n>>>16),u(n>>>8&255),u(255&n)];return r.length-=[0,0,2,1][a],r.join("")},C=a.atob&&"function"==typeof a.atob?function(e){return a.atob(e)}:function(e){return e.replace(/\S{1,4}/g,O)},A=function(e){return C(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},P=function(e){return k(C(e))},L=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},S=function(e){return P(L(e))};a.Uint8Array&&(T=function(e){return Uint8Array.from(A(L(e)),(function(e){return e.charCodeAt(0)}))});var _=function(){var e=a.Base64;return a.Base64=i,e};if(a.Base64={VERSION:s,atob:A,btoa:p,fromBase64:S,toBase64:v,utob:f,encode:v,encodeURI:y,btou:k,decode:S,noConflict:_,fromUint8Array:o,toUint8Array:T},"function"===typeof Object.defineProperty){var B=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};a.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",B((function(){return S(this)}))),Object.defineProperty(String.prototype,"toBase64",B((function(e){return v(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",B((function(){return v(this,!0)})))}}return a["Meteor"]&&(Base64=a.Base64),e.exports?e.exports.Base64=a.Base64:(n=[],r=function(){return a.Base64}.apply(t,n),void 0===r||(e.exports=r)),{Base64:a.Base64}}))}).call(this,a("c8ba"))},3319:function(e,t,a){},"366b":function(e,t,a){"use strict";a("99af");var n=a("9256"),r={getMemberList:"/member/adminPage",addTag:"/member/addTag",forbiddenMember:"/member/forbidden",getMemberInfo:"/member/query/",getMemberAddress:"/memberAddress/page",getOrderList:"/order/findAdminOrderList",getCustomData:"/order/getOrderStatisticsByMid/",getCommentList:"/comment/findCommentList",getMemberBillDetials:"/member/getMemberBillDetials",editMemberBill:"/member/editMemberBill"};t["a"]={editMemberBill:function(e){return Object(n["a"])({method:"POST",url:r.editMemberBill,data:e})},getMemberBillDetials:function(e){return Object(n["a"])({method:"POST",url:r.getMemberBillDetials,data:e})},getMemberList:function(e){return Object(n["a"])({method:"POST",url:r.getMemberList,data:e})},addTag:function(e){return Object(n["a"])({method:"POST",url:r.addTag,data:e})},forbiddenMember:function(e){return Object(n["a"])({method:"POST",url:r.forbiddenMember,data:e})},getMemberInfo:function(e){return Object(n["a"])({method:"GET",url:"".concat(r.getMemberInfo).concat(e)})},getCustomData:function(e){return Object(n["a"])({method:"GET",url:"".concat(r.getCustomData).concat(e)})},getOrderList:function(e){return Object(n["a"])({method:"POST",url:r.getOrderList,data:e})},getCommentList:function(e){return Object(n["a"])({method:"POST",url:r.getCommentList,data:e})},getMemberAddress:function(e){return Object(n["a"])({method:"POST",url:r.getMemberAddress,data:e})}}},4290:function(e,t,a){"use strict";var n=a("4f6f"),r=a.n(n);r.a},"4f6f":function(e,t,a){},"4fad":function(e,t,a){var n=a("23e7"),r=a("6f53").entries;n({target:"Object",stat:!0},{entries:function(e){return r(e)}})},"6f53":function(e,t,a){var n=a("83ab"),r=a("df75"),o=a("fc6a"),i=a("d1e7").f,s=function(e){return function(t){var a,s=o(t),c=r(s),l=c.length,u=0,m=[];while(l>u)a=c[u++],n&&!i.call(s,a)||m.push(e?[a,s[a]]:s[a]);return m}};e.exports={entries:s(!0),values:s(!1)}},9256:function(e,t,a){"use strict";a("99af"),a("4160"),a("caad"),a("4fad"),a("d3b7"),a("159b");var n=a("5530"),r=a("bc3a"),o=a.n(r),i=a("5c96"),s=a("5657");a("27ae");function c(e,t){"ECONNABORTED"===e.code?Object(i["Message"])({message:"请求超时"}):e.response&&e.response.data?Object(i["Message"])({message:e.response.data}):e.message&&Object(i["Message"])({message:e.message}),t(e)}function l(e,t){e.data.isError&&(4e4===e.data.code||40001===e.data.code||40002===e.data.code||40003===e.data.code||40005===e.data.code||40006===e.data.code||40008===e.data.code?i["MessageBox"].alert(e.data.msg,"提醒",{confirmButtonText:"确定",callback:function(){window.location.hash="/login"}}):i["Message"].error(e.data.msg)),t(e)}o.a.interceptors.request.use((function(e){var t=!1!==e.headers["X-isToken"]||e.headers["X-isToken"],a=s["a"].get("TOKEN","");a&&t&&(e.headers.token="Bearer "+a);var n="ceres_admin_web",r="ceres_admin_web";return e.headers["Authorization"]="Basic ".concat("".concat(n,":").concat(r)),e}),(function(e){return Promise.reject(e)})),o.a.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)}));var u=function(e){console.log(e,"opts");var t={ts:Date.now()},a=e.method.toUpperCase(),r={method:a,url:"".concat("https://pos.admin.api.lotus-wallet.com").concat(e.url),responseType:e.responseType||"",timeout:2e4},i=["PUT","POST","PATCH"];i.includes(a)?r.data=e.data||{}:r.params=Object(n["a"])(Object(n["a"])({},t),e.data||{}),e.formData&&(r.transformRequest=[function(e){var t=new FormData;return e&&Object.entries(e).forEach((function(e){t.append(e[0],e[1])})),t}]);var s=new Promise((function(e,t){o()(r).then((function(t){l(t,e)})).catch((function(e){c(e,t)}))}));return s};t["a"]=u},ac44:function(e,t,a){"use strict";a("99af");var n=a("9256"),r={getLabelList:"/memberTag/page",addLabel:"/memberTag",queryTag:"/memberTag/queryTag/",deleteTag:"/memberTag",editTag:"/memberTag",exportTag:"/memberTag/export",getTagInfo:"/memberTag/"};t["a"]={getLabelList:function(e){return Object(n["a"])({method:"POST",url:r.getLabelList,data:e})},addLabel:function(e){return Object(n["a"])({method:"POST",url:r.addLabel,data:e})},queryTag:function(e){return Object(n["a"])({method:"GET",url:"".concat(r.queryTag).concat(e)})},deleteTag:function(e){return Object(n["a"])({method:"DELETE",url:r.deleteTag,data:e})},editTag:function(e){return Object(n["a"])({method:"PUT",url:r.editTag,data:e})},exportTag:function(e){return Object(n["a"])({method:"POST",url:r.exportTag,data:e})},getTagInfo:function(e){return Object(n["a"])({method:"GET",url:"".concat(r.getTagInfo).concat(e)})}}},c85f:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom_page"},[a("div",{staticClass:"content"},[a("div",{staticClass:"toolbar"},[a("el-form",{attrs:{model:e.formParams,"label-width":"120px"}},[a("el-row",[a("el-col",{attrs:{span:20}},[a("el-row",[a("el-col",{attrs:{span:5}},[a("el-form-item",{attrs:{label:"客户昵称"}},[a("el-input",{attrs:{size:"mini"},model:{value:e.formParams.model.nickname,callback:function(t){e.$set(e.formParams.model,"nickname",t)},expression:"formParams.model.nickname"}})],1)],1),a("el-col",{attrs:{span:5}},[a("el-form-item",{attrs:{label:"手机号"}},[a("el-input",{attrs:{size:"mini"},model:{value:e.formParams.model.phone,callback:function(t){e.$set(e.formParams.model,"phone",t)},expression:"formParams.model.phone"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"最近消费时间"}},[a("el-date-picker",{attrs:{size:"mini",type:"daterange","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"yyyy-MM-dd"},on:{change:e.handleChange},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})],1)],1)],1),a("el-row",{directives:[{name:"show",rawName:"v-show",value:e.showMore,expression:"showMore"}]},[a("el-col",{attrs:{span:5}},[a("el-form-item",{attrs:{label:"累计金额"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{size:"mini"},model:{value:e.formParams.model.totalConsumAmountStart,callback:function(t){e.$set(e.formParams.model,"totalConsumAmountStart",t)},expression:"formParams.model.totalConsumAmountStart"}})],1),a("el-col",{staticStyle:{"text-align":"center",color:"#dcdfe6"},attrs:{span:2}},[e._v(" - ")]),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{size:"mini"},model:{value:e.formParams.model.totalConsumAmountEnd,callback:function(t){e.$set(e.formParams.model,"totalConsumAmountEnd",t)},expression:"formParams.model.totalConsumAmountEnd"}})],1)],1)],1),a("el-col",{attrs:{span:5}},[a("el-form-item",{attrs:{label:"购买次数"}},[a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{size:"mini"},model:{value:e.formParams.model.buyTimesStart,callback:function(t){e.$set(e.formParams.model,"buyTimesStart",t)},expression:"formParams.model.buyTimesStart"}})],1),a("el-col",{staticStyle:{"text-align":"center",color:"#dcdfe6"},attrs:{span:2}},[e._v(" - ")]),a("el-col",{attrs:{span:11}},[a("el-input",{attrs:{size:"mini"},model:{value:e.formParams.model.buyTimesEnd,callback:function(t){e.$set(e.formParams.model,"buyTimesEnd",t)},expression:"formParams.model.buyTimesEnd"}})],1)],1)],1)],1)],1),a("el-col",{attrs:{span:4}},[a("el-form-item",{attrs:{"label-width":"0"}},[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.query}},[e._v(" 查询 ")]),a("el-button",{attrs:{plain:"",size:"mini"},on:{click:e.reset}},[e._v(" 重置 ")]),a("span",{staticStyle:{"margin-left":"10px",dispaly:"inline-block","font-size":"16px"},on:{click:e.dispalyMore}},[a("i",{class:[e.showMore?"el-icon-arrow-up":"el-icon-arrow-down"]})])],1)],1)],1)],1)],1),a("div",{staticClass:"content_table"},[a("div",{staticClass:"table"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData.records,border:""}},[a("el-table-column",{attrs:{prop:"nickname",label:"客户昵称"}}),a("el-table-column",{attrs:{prop:"phone",label:"手机号"}}),a("el-table-column",{attrs:{label:"消费总额(元)"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s("¥")+e._s(t.row.expendAmount/100))])]}}])}),a("el-table-column",{attrs:{prop:"buyTimes",label:"购买次数"}}),a("el-table-column",{attrs:{label:"余额(元)"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s("¥")+e._s(t.row.money))])]}}])}),a("el-table-column",{attrs:{prop:"lastBuyTime",label:"最近消费时间"}}),a("el-table-column",{attrs:{prop:"createTime",label:"注册时间"}}),a("el-table-column",{attrs:{label:"操作",width:"300px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(a){return a.preventDefault(),e.Balance(t.row)}}},[e._v(" 修改余额 ")]),a("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(a){return a.preventDefault(),e.details(t.row.id)}}},[e._v(" 详情 ")]),a("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(a){return a.preventDefault(),e.makeTag(t.row.id)}}},[e._v(" 打标签 ")]),a("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(a){return a.preventDefault(),e.addBlackList(t.row)}}},[e._v(" "+e._s(t.row.status?"取消黑名单":"加入黑名单")+" ")])]}}])})],1)],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableData.total>0,expression:"tableData.total > 0"}],attrs:{limit:e.formParams.size,page:e.formParams.current,total:Number(e.tableData.total)},on:{"update:limit":function(t){return e.$set(e.formParams,"size",t)},"update:page":function(t){return e.$set(e.formParams,"current",t)},pagination:e.fetch}})],1),a("el-dialog",{attrs:{title:"修改余额",visible:e.dialogVisible,width:"30%","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("el-form",{attrs:{model:e.form}},[a("el-form-item",{attrs:{label:"余额","label-width":e.formLabelWidth}},[a("el-input",{attrs:{autocomplete:"off",disabled:!0,onkeyup:"value=value.replace(/[^\\d]/g,'')"},model:{value:e.form.money,callback:function(t){e.$set(e.form,"money",t)},expression:"form.money"}})],1),a("el-form-item",{attrs:{label:"修改余额","label-width":e.formLabelWidth}},[a("el-input",{attrs:{autocomplete:"off",onkeyup:"value=value.replace(/[^\\d]/g,'')"},model:{value:e.form.moneys,callback:function(t){e.$set(e.form,"moneys",t)},expression:"form.moneys"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:e.dialogVisiblemo}},[e._v("确 定")])],1)],1)],1),e.dialog.visible?a("labels",{attrs:{dialog:e.dialog},on:{close:e.close,confirm:e.confirm}}):e._e()],1)},r=[],o=(a("96cf"),a("1da1")),i=a("366b"),s=a("333d"),c=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"label_page"},[a("el-dialog",{attrs:{title:e.dialog.title,visible:e.dialog.visible,width:"40%","before-close":e.close},on:{"update:visible":function(t){return e.$set(e.dialog,"visible",t)}}},[a("el-form",{attrs:{"label-width":"100px"}},[a("el-form-item",{attrs:{label:"标签名称"}},[a("el-col",{attrs:{span:12}},[a("el-input",{model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),a("el-col",{staticClass:"el_col_text",attrs:{span:6}},[a("el-button",{on:{click:e.fetch}},[e._v("查询")])],1),a("el-col",{staticClass:"el_col_text",attrs:{span:6}},[a("span",{on:{click:e.manageTag}},[e._v("管理标签")])])],1),a("el-form-item",[a("el-row",[a("el-checkbox-group",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(e.tableData.records,(function(t,n){return a("el-row",{key:n},[a("el-checkbox",{attrs:{label:t.id}},[e._v(e._s(t.name))])],1)})),1)],1),a("el-row",[a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableData.total>0,expression:"tableData.total > 0"}],attrs:{limit:e.form.size,page:e.form.current,total:Number(e.tableData.total)},on:{"update:limit":function(t){return e.$set(e.form,"size",t)},"update:page":function(t){return e.$set(e.form,"current",t)},pagination:e.fetch}})],1)],1)],1),a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{on:{click:e.close}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v("确 定")])],1)],1)],1)},l=[],u=(a("4160"),a("159b"),a("ac44")),m={components:{Pagination:s["a"]},props:{dialog:{type:Object,default:function(){return{}}}},data:function(){return{form:{current:1,map:{},model:{name:"",type:""},order:"descending",size:10,sort:"id"},checkList:[],list:[{name:"潜在客户",id:"1"},{name:"土豪",id:"2"},{name:"小气",id:"3"}],tableData:{}}},created:function(){this.getLabelList(),this.queryTag()},methods:{getLabelList:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["a"].getLabelList(e.form);case 2:a=t.sent,n=a.data,0===n.code&&(e.tableData=n.data);case 5:case"end":return t.stop()}}),t)})))()},queryTag:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["a"].queryTag(e.dialog.id);case 2:a=t.sent,n=a.data,r=[],0===n.code&&(n.data.length&&n.data.forEach((function(e){r.push(e.tagId)})),e.checkList=r);case 6:case"end":return t.stop()}}),t)})))()},fetch:function(){this.getLabelList()},manageTag:function(){this.$router.push({path:"/customer-manage/label"})},close:function(){this.$emit("close")},confirm:function(){this.$emit("confirm",this.checkList)}}},d=m,f=(a("db33"),a("2877")),b=Object(f["a"])(d,c,l,!1,null,"f06e62ea",null),p=b.exports,g={inject:["reload"],components:{Pagination:s["a"],labels:p},data:function(){return{form:{moneys:"",money:"",id:""},formLabelWidth:"120px",dialogVisible:!1,showMore:!1,formParams:{size:10,current:1,model:{buyTimesStart:"",buyTimesEnd:"",totalConsumAmountStart:"",totalConsumAmountEnd:"",nickname:"",tagId:"",lastConsumTimeStart:"",lastConsumTimeEnd:"",phone:""}},date:[],tableData:{},dialog:{}}},created:function(){this.getList()},methods:{Balance:function(e){console.log(e,"uiuoiuio"),this.dialogVisible=!0,this.form.money=e.money,this.form.id=e.id,console.log(this.form,"修改的数据")},dialogVisiblemo:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a={id:e.form.id,money:e.form.moneys},e.dialogVisible=!1,t.next=4,i["a"].editMemberBill(a);case 4:n=t.sent,console.log(n,"resres"),"ok"==n.data.msg&&(e.$message({message:"修改成功",type:"success"}),e.reload());case 7:case"end":return t.stop()}}),t)})))()},handleClose:function(e){var t=this;this.$confirm("确认关闭?").then((function(a){e(),t.reload()})).catch((function(e){}))},getList:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,i["a"].getMemberList(e.formParams);case 2:a=t.sent,n=a.data,console.log(a.data.data.records,"resresres"),0===n.code&&(e.tableData=n.data);case 6:case"end":return t.stop()}}),t)})))()},getPrice:function(e,t,a){return a/100},query:function(){this.getList()},details:function(e){console.log(e),this.$router.push({path:"/customer-manage/custom-info",query:{id:e}})},makeTag:function(e){this.dialog={title:"选择标签",visible:!0,id:e}},confirm:function(e){var t={mid:this.dialog.id,tagIds:e},a=this;i["a"].addTag(t).then((function(e){0===e.data.code&&(a.$message.success("操作成功"),a.getList(),a.close())}))},addBlackList:function(e){var t=this;t.$confirm("".concat(e.status?"确认是否取消黑名单":"加入黑名单后,对方将无法登录商城"),"".concat(e.status?"取消黑名单":"加入黑名单"),{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i["a"].forbiddenMember({mid:e.id,status:!e.status}).then((function(a){0===a.data.code&&(t.getList(),t.$message.success("成功".concat(e.status?"取消":"加入","黑名单")))}))}))},close:function(){this.dialog={}},reset:function(){this.reload(),this.formParams={size:10,current:1,model:{buyTimesStart:"",buyTimesEnd:"",totalConsumAmountStart:"",totalConsumAmountEnd:"",nickname:"",tagId:"",lastConsumTimeStart:"",lastConsumTimeEnd:""}}},fetch:function(){this.getList()},selectItem:function(){this.getList()},handleChange:function(e){this.formParams.model.lastConsumTimeStart=e&&e[0]||"",this.formParams.model.lastConsumTimeEnd=e&&e[1]||""},dispalyMore:function(){this.showMore=!this.showMore}}},h=g,v=(a("4290"),Object(f["a"])(h,n,r,!1,null,"32f0b4f2",null));t["default"]=v.exports},db33:function(e,t,a){"use strict";var n=a("3319"),r=a.n(n);r.a}}]);