1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6035bd5f"],{"3bbe":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"4c8d":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"outmain ba_f"},[r("div",{staticClass:"ba_f t_c"},[t._m(0),r("div",{staticClass:"flex-g-1 pad_20"},[r("ul",{staticClass:"flex-bet pad_lr_30"},[r("li",{staticClass:"flex-col"},[r("p",{staticClass:"color_9 fon_12"},[t._v("累计消费金额")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 color_3 font_w700"},[r("a",{attrs:{href:"#"}},[t._v(t._s(t.form.money||0))])])])]),r("li",{staticClass:"flex-col"},[r("p",{staticClass:"color_9 fon_12"},[t._v("累计订单数")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 color_3 font_w700"},[r("a",{attrs:{href:"#"}},[t._v(t._s(t.form.count||0))])])])]),r("li",{staticClass:"flex-col"},[r("p",{staticClass:"color_9 fon_12"},[t._v("累计维权订单数")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 color_3 font_w700"},[r("a",{attrs:{href:"#"}},[t._v(t._s(t.form.weicount||0))])])])]),r("li",{staticClass:"flex-col"},[r("p",{staticClass:"color_9 fon_12"},[t._v("累计退款金额")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 color_3 font_w700"},[r("a",{attrs:{href:"#"}},[t._v(t._s(t.form.reundcount||0))])])])])])])]),t._m(1),r("div",{staticClass:"nameinfo fon_12 bor_rad4 flex"},[r("div",{staticClass:"flex-y-top flex-g-0"},[r("img",{staticClass:"namelogo",attrs:{src:t.form.portrait}}),r("span",{staticClass:"mar_l15 mar_t10"},[t._v(t._s(t.form.userName))]),r("span",{staticClass:"mar_l15 mar_t10"},[t._v("userId:"+t._s(t.form.id))])]),r("div",{staticClass:"mar_l140 flex-g-1"},[r("ul",{staticClass:"flex"},[r("li",{staticClass:"bdt flex-col mar_l140"},[r("p",[t._v("余额")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 mar_r8 color_3 font_w700 subjectcolor2"},[t._v(t._s(t.form.balance||0))])])]),r("li",{staticClass:"bdt flex-col mar_l140"},[r("p",[t._v("积分")]),r("p",{staticClass:"mar_t3"},[r("span",{staticClass:"fon_22 mar_r8 color_3 font_w700 subjectcolor2"},[t._v(t._s(t.form.integral||0))])])])])])]),r("el-form",{ref:"form",staticClass:"mar_t20",attrs:{model:t.form,"label-width":"180px"}},[r("el-form-item",{attrs:{label:"用户标签"}},[r("el-select",{attrs:{placeholder:"用户标签"},model:{value:t.form.vipLabel,callback:function(e){t.$set(t.form,"vipLabel",e)},expression:"form.vipLabel"}},t._l(t.labelData,(function(t){return r("el-option",{key:t.id,attrs:{label:t.labelName,value:t.id}})})),1)],1)],1)],1),r("div",{staticClass:"mar_t20 ba_f pad_20 t_c"},[r("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("保存")])],1)])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"shuju_title mar_b20"},[r("div",{staticClass:"shuju_title_text"},[r("span",[t._v("交易统计")])])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"shuju_title mar_b20 mar_t10"},[r("div",{staticClass:"shuju_title_text"},[r("span",[t._v("用户详情")])])])}],o=(r("96cf"),r("1da1")),c=r("5530"),s=r("ed08"),u=r("c24f"),i=r("2f62"),l={computed:Object(c["a"])({},Object(i["d"])(["storeId"])),created:function(){this.init(),this.$route.query.id&&(this.id=this.$route.query.id,this.edit())},name:"userquery",data:function(){return{form:{realName:"",portrait:"",userName:"",vipLabel:"",userTel:"",openId:"",balance:"",integral:"",createdAt:"",birthday:"",id:"",weicount:"",reundcount:""},form2:{},labelData:[]}},methods:{edit:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["i"])({id:t.id,storeId:t.storeId});case 2:r=e.sent,n=r.data,t.form2=t.form,t.form=Object.assign(t.form2,n);case 6:case"end":return e.stop()}}),e)})))()},init:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["j"])({storeId:t.storeId});case 2:r=e.sent,n=r.data,t.labelData=n;case 5:case"end":return e.stop()}}),e)})))()},onSubmit:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.form.birthday=Object(s["a"])(t.form.birthday),t.form.storeId=t.storeId,e.next=4,Object(u["r"])(t.form);case 4:r=e.sent,n=r.msg,t.$baseMessage(n,"success"),t.edit(),t.$router.go(-1);case 9:case"end":return e.stop()}}),e)})))()}}},f=l,d=(r("a6a2"),r("2877")),m=Object(d["a"])(f,n,a,!1,null,null,null);e["default"]=m.exports},6098:function(t,e,r){},7156:function(t,e,r){var n=r("861d"),a=r("d2bb");t.exports=function(t,e,r){var o,c;return a&&"function"==typeof(o=e.constructor)&&o!==r&&n(c=o.prototype)&&c!==r.prototype&&a(t,c),t}},a6a2:function(t,e,r){"use strict";var n=r("6098"),a=r.n(n);a.a},a9e3:function(t,e,r){"use strict";var n=r("83ab"),a=r("da84"),o=r("94ca"),c=r("6eeb"),s=r("5135"),u=r("c6b6"),i=r("7156"),l=r("c04e"),f=r("d039"),d=r("7c73"),m=r("241c").f,p=r("06cf").f,b=r("9bf2").f,h=r("58a8").trim,_="Number",g=a[_],v=g.prototype,j=u(d(v))==_,O=function(t){var e,r,n,a,o,c,s,u,i=l(t,!1);if("string"==typeof i&&i.length>2)if(i=h(i),e=i.charCodeAt(0),43===e||45===e){if(r=i.charCodeAt(2),88===r||120===r)return NaN}else if(48===e){switch(i.charCodeAt(1)){case 66:case 98:n=2,a=49;break;case 79:case 111:n=8,a=55;break;default:return+i}for(o=i.slice(2),c=o.length,s=0;s<c;s++)if(u=o.charCodeAt(s),u<48||u>a)return NaN;return parseInt(o,n)}return+i};if(o(_,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var C,w=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof w&&(j?f((function(){v.valueOf.call(r)})):u(r)!=_)?i(new g(O(e)),r,w):O(e)},y=n?m(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;y.length>x;x++)s(g,C=y[x])&&!s(w,C)&&b(w,C,p(g,C));w.prototype=v,v.constructor=w,c(a,_,w)}},bf19:function(t,e,r){"use strict";var n=r("23e7");n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},c24f:function(t,e,r){"use strict";r.d(e,"k",(function(){return a})),r.d(e,"E",(function(){return o})),r.d(e,"C",(function(){return c})),r.d(e,"d",(function(){return s})),r.d(e,"b",(function(){return u})),r.d(e,"s",(function(){return i})),r.d(e,"c",(function(){return l})),r.d(e,"j",(function(){return f})),r.d(e,"q",(function(){return d})),r.d(e,"i",(function(){return m})),r.d(e,"r",(function(){return p})),r.d(e,"f",(function(){return b})),r.d(e,"x",(function(){return h})),r.d(e,"h",(function(){return _})),r.d(e,"n",(function(){return g})),r.d(e,"u",(function(){return v})),r.d(e,"g",(function(){return j})),r.d(e,"l",(function(){return O})),r.d(e,"t",(function(){return C})),r.d(e,"A",(function(){return w})),r.d(e,"z",(function(){return y})),r.d(e,"w",(function(){return x})),r.d(e,"p",(function(){return I})),r.d(e,"m",(function(){return N})),r.d(e,"y",(function(){return S})),r.d(e,"a",(function(){return E})),r.d(e,"o",(function(){return M})),r.d(e,"B",(function(){return D})),r.d(e,"e",(function(){return A})),r.d(e,"F",(function(){return k})),r.d(e,"D",(function(){return R})),r.d(e,"v",(function(){return F}));var n=r("b775");function a(t){return Object(n["a"])({url:"channel/member/get-member-list",method:"get",params:t})}function o(t){return Object(n["a"])({url:"channel/member/get-member-list",method:"post",data:t})}function c(t){return Object(n["a"])({url:"channel/activity/select-user",method:"post",data:t})}function s(t){return Object(n["a"])({url:"channel/member/change-status",method:"post",data:t})}function u(t){return Object(n["a"])({url:"channel/member/change-info",method:"post",data:t})}function i(t){return Object(n["a"])({url:"channel/member/member-label-save",method:"post",data:t})}function l(t){return Object(n["a"])({url:"channel/member/change-member-label",method:"post",data:t})}function f(t){return Object(n["a"])({url:"channel/member/get-member-label",method:"get",params:t})}function d(t){return Object(n["a"])({url:"channel/member/member-excel-list",method:"get",params:t})}function m(t){return Object(n["a"])({url:"channel/member/get-member-info",method:"post",data:t})}function p(t){return Object(n["a"])({url:"channel/member/member-info-save",method:"post",data:t})}function b(t){return Object(n["a"])({url:"channel/member/get-deposit-list",method:"get",params:t})}function h(t){return Object(n["a"])({url:"channel/member/deposit-save",method:"post",data:t})}function _(t){return Object(n["a"])({url:"channel/member/deposit-save",method:"get",params:t})}function g(t){return Object(n["a"])({url:"channel/activity/select-coupon",method:"get",params:t})}function v(t){return Object(n["a"])({url:"channel/member/modify-deposit",method:"post",data:t})}function j(t){return Object(n["a"])({url:"channel/member/get-deposit-order",method:"get",params:t})}function O(t){return Object(n["a"])({url:"channel/member/get-member-set-info",method:"get",params:t})}function C(t){return Object(n["a"])({url:"channel/member/member-set",method:"post",data:t})}function w(t){return Object(n["a"])({url:"channel/vip-card/rights-list",method:"get",params:t})}function y(t){return Object(n["a"])({url:"channel/vip-card/save-rights",method:"post",data:t})}function x(t){return Object(n["a"])({url:"channel/vip-card/modify-rights",method:"post",data:t})}function I(t){return Object(n["a"])({url:"channel/vip-card/level-list",method:"get",params:t})}function N(t){return Object(n["a"])({url:"channel/vip-card/save-level",method:"get",params:t})}function S(t){return Object(n["a"])({url:"channel/vip-card/save-level",method:"post",data:t})}function E(t){return Object(n["a"])({url:"channel/vip-card/card-record",method:"get",params:t})}function M(t){return Object(n["a"])({url:"channel/good/goods-vip",method:"get",params:t})}function D(t){return Object(n["a"])({url:"channel/good/save-goods-vip",method:"post",data:t})}function A(t){return Object(n["a"])({url:"channel/member/get-coupon-list",method:"get",params:t})}function k(t){return Object(n["a"])({url:"channel/member/store-coupon-list",method:"get",params:t})}function R(t){return Object(n["a"])({url:"channel/member/send-coupon",method:"post",data:t})}function F(t){return Object(n["a"])({url:"channel/vip-card/modify-level",method:"post",data:t})}},d2bb:function(t,e,r){var n=r("825a"),a=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(r,[]),e=r instanceof Array}catch(o){}return function(r,o){return n(r),a(o),e?t.call(r,o):r.__proto__=o,r}}():void 0)},ed08:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return o}));r("a9e3"),r("ac1f"),r("5319"),r("bf19");function n(t){var e=new Date(t).toJSON(),r=new Date(+new Date(e)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"");return r}function a(t){var e=new Date(t),r=e.getFullYear(),n=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,a=e.getDate()<10?"0"+e.getDate():e.getDate(),o=e.getHours()<10?"0"+e.getHours():e.getHours(),c=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),s=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return r+"-"+n+"-"+a+" "+o+":"+c+":"+s}function o(t){var e=new Date(1e3*Number(t)),r=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",a=(e.getDate()<10?"0"+e.getDate():e.getDate())+" ",o=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",c=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",s=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds(),u=r+n+a+o+c+s;return u}}}]); |