chunk-204e7ca2.59caf699.js 41 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-204e7ca2"],{"0f0e":function(t,e,a){"use strict";var n=a("c4c8"),r={name:"userLabel",props:{},data:function(){return{labelList:[],dataLabel:[],isUser:!1}},mounted:function(){},methods:{inArray:function(t,e){for(var a in e)if(e[a].id===t)return!0;return!1},userLabel:function(t){var e=this;this.dataLabel=t,Object(n.hb)().then((function(t){t.data.map((function(t){t.children&&t.children.length&&(e.isUser=!0,t.children.map((function(t){e.inArray(t.id,e.dataLabel)?t.disabled=!0:t.disabled=!1})))})),e.labelList=t.data})).catch((function(t){e.$Message.error(t.msg)}))},selectLabel:function(t){if(t.disabled){var e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e.id===t.id}))[0]);this.dataLabel.splice(e,1),t.disabled=!1}else this.dataLabel.push({label_name:t.label_name,id:t.id,tag_id:t.tag_id}),t.disabled=!0},subBtn:function(){this.$emit("activeData",JSON.parse(JSON.stringify(this.dataLabel)))},cancel:function(){this.$emit("close")}}},i=(a("47fb"),a("2877")),s=Object(i.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"label-wrapper"},[a("div",{staticClass:"list-box"},[t._l(t.labelList,(function(e,n){return t.isUser?a("div",{key:n,staticClass:"label-box"},[e.children&&e.children.length?a("div",{staticClass:"title"},[t._v("\n "+t._s(e.label_name)+"\n ")]):t._e(),e.children&&e.children.length?a("div",{staticClass:"list"},t._l(e.children,(function(e,n){return a("div",{key:n,staticClass:"label-item",class:{on:e.disabled},on:{click:function(a){return t.selectLabel(e)}}},[t._v("\n "+t._s(e.label_name)+"\n ")])})),0):t._e()]):t._e()})),t.isUser?t._e():a("div",[t._v("暂无标签")])],2),a("div",{staticClass:"footer"},[a("Button",{staticClass:"btns",attrs:{type:"primary"},on:{click:t.subBtn}},[t._v("确定")]),a("Button",{staticClass:"btns",attrs:{type:"primary",ghost:""},on:{click:t.cancel}},[t._v("取消")])],1)])}),[],!1,null,"ea2c8f16",null);e.a=s.exports},"2c12":function(t,e,a){},"30a5":function(t,e,a){t.exports=a.p+"view_admin/img/svip-user.b89bb400.png"},"347f1":function(t,e,a){"use strict";var n=a("5219");a.n(n).a},"47fb":function(t,e,a){"use strict";var n=a("702e");a.n(n).a},5219:function(t,e,a){},"702e":function(t,e,a){},"73f5":function(t,e,a){"use strict";a.d(e,"y",(function(){return r})),a.d(e,"r",(function(){return i})),a.d(e,"n",(function(){return s})),a.d(e,"q",(function(){return o})),a.d(e,"s",(function(){return c})),a.d(e,"t",(function(){return u})),a.d(e,"j",(function(){return l})),a.d(e,"i",(function(){return d})),a.d(e,"P",(function(){return m})),a.d(e,"h",(function(){return f})),a.d(e,"v",(function(){return v})),a.d(e,"u",(function(){return p})),a.d(e,"w",(function(){return h})),a.d(e,"p",(function(){return _})),a.d(e,"G",(function(){return b})),a.d(e,"H",(function(){return g})),a.d(e,"E",(function(){return k})),a.d(e,"F",(function(){return w})),a.d(e,"g",(function(){return C})),a.d(e,"B",(function(){return O})),a.d(e,"C",(function(){return I})),a.d(e,"D",(function(){return y})),a.d(e,"O",(function(){return j})),a.d(e,"J",(function(){return D})),a.d(e,"I",(function(){return x})),a.d(e,"e",(function(){return L})),a.d(e,"N",(function(){return F})),a.d(e,"l",(function(){return $})),a.d(e,"K",(function(){return S})),a.d(e,"L",(function(){return W})),a.d(e,"M",(function(){return M})),a.d(e,"k",(function(){return E})),a.d(e,"o",(function(){return N})),a.d(e,"z",(function(){return P})),a.d(e,"m",(function(){return T})),a.d(e,"x",(function(){return B})),a.d(e,"f",(function(){return z})),a.d(e,"A",(function(){return U})),a.d(e,"b",(function(){return A})),a.d(e,"d",(function(){return J})),a.d(e,"c",(function(){return R})),a.d(e,"a",(function(){return Y}));var n=a("b6bd");function r(t){return Object(n.a)({url:"merchant/store_list",method:"get",params:t})}function i(t){return Object(n.a)({url:"store/order/list",method:"get",params:t})}function s(t){return Object(n.a)({url:"store/order/chart",method:"get",params:t})}function o(t){return Object(n.a)({url:"store/order/header",method:"get"})}function c(t){return Object(n.a)({url:"store/recharge",method:"get",params:t})}function u(t){return Object(n.a)({url:"store/vip_order",method:"get",params:t})}function l(t){return Object(n.a)({url:"store/order/edit/".concat(t),method:"get"})}function d(t){return Object(n.a)({url:"store/order/distribution/".concat(t),method:"get"})}function m(t){return Object(n.a)({url:"store/order/write_update/".concat(t),method:"put"})}function f(t){return Object(n.a)({url:"store/order/info/".concat(t),method:"get"})}function v(t){return Object(n.a)({url:"order/remark/".concat(t.id),method:"put",data:t.remark})}function p(t){return Object(n.a)({url:"store/recharge/remark/".concat(t.id),method:"put",data:t.remark})}function h(t){return Object(n.a)({url:"store/vip/remark/".concat(t.id),method:"put",data:t.remark})}function _(t,e){return Object(n.a)({url:"store/order/export/".concat(e),method:"post",data:t})}function b(t){return Object(n.a)({url:"store/finance_flow/list",method:"get",params:t})}function g(t,e){return Object(n.a)({url:"store/finance_flow/mark/".concat(t),method:"put",params:e})}function k(t){return Object(n.a)({url:"store/finance_flow/fund_record",method:"get",params:t})}function w(t){return Object(n.a)({url:"store/finance_flow/fund_record_info",method:"get",params:t})}function C(t){return Object(n.a)({url:"/export/storeFinanceRecord",method:"get",params:t})}function O(t){return Object(n.a)({url:"/store/extract/list",method:"get",params:t})}function I(t,e){return Object(n.a)({url:"store/extract/mark/".concat(t),method:"post",data:e})}function y(t,e){return Object(n.a)({url:"store/extract/verify/".concat(t),method:"post",data:e})}function j(t){return Object(n.a)({url:"store/extract/transfer/".concat(t),method:"get"})}function D(t){return Object(n.a)({url:"store/store",method:"get",params:t})}function x(t){return Object(n.a)({url:"store/store/get_info/".concat(t),method:"get"})}function L(t){return Object(n.a)({url:"city",method:"get",params:t})}function F(t,e){return Object(n.a)({url:"store/store/".concat(t),method:"post",data:e})}function $(){return Object(n.a)({url:"store/store/address",method:"get"})}function S(t){return Object(n.a)({url:"store/store/login/".concat(t),method:"get"})}function W(t,e){return Object(n.a)({url:"store/store/set_show/".concat(t,"/").concat(e),method:"put"})}function M(t){return Object(n.a)({url:"store/share/order",method:"post",params:t})}function E(t){return Object(n.a)({url:"store/home/header",method:"get",params:t})}function N(t){return Object(n.a)({url:"store/home/orderChart",method:"get",params:t})}function P(t){return Object(n.a)({url:"store/home/store",method:"get",params:t})}function T(t){return Object(n.a)({url:"store/home/operate",method:"get",params:t})}function B(t){return Object(n.a)({url:"store/store/reset_admin/".concat(t),method:"get"})}function z(t,e,a){return Object(n.a)({url:"export/storeFlowExport?store_id=".concat(t,"&keyword=").concat(e,"&data=").concat(a),method:"get"})}function U(t){return Object(n.a)({url:"/store/category",params:t,method:"get"})}function A(t){return Object(n.a)({url:"/store/category/create/".concat(t),method:"get"})}function J(t){return Object(n.a)({url:"/store/category/tree/".concat(t),method:"get"})}function R(t){return Object(n.a)({url:"/store/category/set_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function Y(t){return Object(n.a)({url:"store/category/cascader_list/".concat(t),method:"get"})}},"76f7":function(t,e,a){"use strict";var n=a("f9fe");a.n(n).a},"8d09":function(t,e,a){"use strict";var n=a("a52c");a.n(n).a},a52c:function(t,e,a){},a716:function(t,e,a){"use strict";var n=a("a34a"),r=a.n(n),i=a("c24f"),s=a("73f5"),o=a("8c03"),c=a("0f0e");function u(t,e,a,n,r,i,s){try{var o=t[i](s),c=o.value}catch(t){return void a(t)}o.done?e(c):Promise.resolve(c).then(n,r)}var l={name:"userForm",components:{customerInfo:o.default,userLabel:c.a},props:{psInfo:Object},data:function(){return{labelShow:!1,customerShow:!1,formData:{uid:this.psInfo.uid,real_name:this.psInfo.real_name,phone:this.psInfo.phone,birthday:this.psInfo.birthday,sex:this.psInfo.sex,card_id:this.psInfo.card_id,addres:this.psInfo.addres,pwd:"",true_pwd:"",spread_open:this.psInfo.spread_open,status:this.psInfo.status,group_id:0,label_id:[],level:this.psInfo.level,provincials:"",province:0,city:0,area:0,street:0,spread_uid:0,spread_uid_nickname:""},dataLabel:[],addressSelect:[],levelOptions:[],labelOptions:[],addresData:[],groupList:[]}},watch:{psInfo:{handler:function(t){this.formData.uid=t.uid,this.formData.real_name=t.real_name,this.formData.phone=t.phone,this.formData.birthday=t.birthday,this.formData.sex=t.sex,this.formData.card_id=t.card_id,this.formData.addres=t.addres,this.formData.spread_open=t.spread_open,this.formData.status=t.status,this.dataLabel=t.label_id,this.formData.level=t.level,this.formData.provincials=t.provincials,this.formData.province=t.province,this.formData.city=t.city,this.formData.area=t.area,this.formData.street=t.street,this.formData.spread_uid_nickname=t.spread_uid_nickname,this.formData.spread_uid=t.spread_uid,this.formData.group_id=t.group_id},immediate:!0}},created:function(){this.levelList(),this.groupLists(),this.labelList(),this.cityInfo({pid:0}),this.psInfo.province&&this.addressSelect.push(this.psInfo.province),this.psInfo.city&&this.addressSelect.push(this.psInfo.city),this.psInfo.area&&this.addressSelect.push(this.psInfo.area),this.psInfo.street&&this.addressSelect.push(this.psInfo.street)},methods:{clearSpread:function(){this.formData.spread_uid=0,this.formData.spread_uid_nickname=""},closeLabel:function(t){var e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e.id==t.id}))[0]);this.dataLabel.splice(e,1)},activeData:function(t){this.labelShow=!1,this.dataLabel=t},openLabel:function(){this.labelShow=!0,this.$refs.userLabel.userLabel(JSON.parse(JSON.stringify(this.dataLabel)))},labelClose:function(){this.labelShow=!1},editSpread:function(){this.customerShow=!0},imageObject:function(t){this.customerShow=!1,this.formData.spread_uid=t.uid,this.formData.spread_uid_nickname=t.name},changeMenu:function(t){this.$emit("change-menu",t)},add:function(t){var e=this;switch(t){case 1:this.$modalForm(Object(i.R)(0)).then((function(){}));break;case 2:this.$modalForm(Object(i.p)(0)).then((function(){e.groupLists()}))}},levelList:function(){var t=this;Object(i.s)({page:1,limit:"",title:"",is_show:1}).then((function(e){t.levelOptions=e.data.list}))},groupLists:function(){var t=this;Object(i.Q)({page:1,limit:""}).then((function(e){t.groupList=e.data.list}))},labelList:function(){var t=this;Object(i.T)({page:1,limit:""}).then(function(){var e,a=(e=r.a.mark((function e(a){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=a.data,t.labelOptions=n.list;case 2:case"end":return e.stop()}}),e)})),function(){var t=this,a=arguments;return new Promise((function(n,r){var i=e.apply(t,a);function s(t){u(i,n,r,s,o,"next",t)}function o(t){u(i,n,r,s,o,"throw",t)}s(void 0)}))});return function(t){return a.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},cityInfo:function(t){var e=this;Object(s.e)(t).then((function(t){e.addresData=t.data}))},loadData:function(t,e){t.loading=!0,Object(s.e)({pid:t.value}).then((function(a){t.children=a.data,t.loading=!1,e()}))},addchack:function(t,e){var a=this;t.forEach((function(t,e){0==e?a.formData.province=t:1==e?a.formData.city=t:2==e?a.formData.area=t:a.formData.street=t})),this.formData.provincials=e.map((function(t){return t.label})).join("/")},dateChange:function(t){this.formData.birthday=t},detailsPut:function(){var t=this,e=[];if(this.dataLabel.forEach((function(t){e.push(t.id)})),this.formData.label_id=e,this.formData.phone&&!/^1(3|4|5|7|8|9|6)\d{9}$/.test(this.formData.phone))return this.$Message.error("请填写正确的手机号");Object(i.E)(this.formData).then((function(e){t.$Message.success("修改成功"),t.$emit("change-menu","99")})).catch((function(e){t.$Message.error(e.msg)}))}}},d=(a("c76a"),a("2877")),m=Object(d.a)(l,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Form",{attrs:{model:t.formData,"label-width":76}},[a("div",{staticClass:"section"},[a("div",{staticClass:"section-hd"},[t._v("基本信息")]),a("div",{staticClass:"section-bd"},[a("FormItem",{attrs:{label:"用户编号:"}},[a("Input",{attrs:{disabled:""},model:{value:t.formData.uid,callback:function(e){t.$set(t.formData,"uid",e)},expression:"formData.uid"}})],1),a("FormItem",{attrs:{label:"真实姓名:"}},[a("Input",{attrs:{placeholder:"请输入"},model:{value:t.formData.real_name,callback:function(e){t.$set(t.formData,"real_name",e)},expression:"formData.real_name"}})],1),a("FormItem",{attrs:{label:"手机号码:"}},[a("Input",{attrs:{placeholder:"请输入"},model:{value:t.formData.phone,callback:function(e){t.$set(t.formData,"phone",e)},expression:"formData.phone"}})],1),a("FormItem",{attrs:{label:"生日:"}},[a("DatePicker",{attrs:{value:t.formData.birthday},on:{"on-change":t.dateChange}})],1),a("FormItem",{attrs:{label:"性别:"}},[a("Select",{model:{value:t.formData.sex,callback:function(e){t.$set(t.formData,"sex",e)},expression:"formData.sex"}},[a("Option",{attrs:{value:0}},[t._v("保密")]),a("Option",{attrs:{value:1}},[t._v("男")]),a("Option",{attrs:{value:2}},[t._v("女")])],1)],1),a("FormItem",{attrs:{label:"省市区:"}},[a("Cascader",{attrs:{data:t.addresData,"load-data":t.loadData},on:{"on-change":t.addchack},model:{value:t.addressSelect,callback:function(e){t.addressSelect=e},expression:"addressSelect"}})],1),a("FormItem",{attrs:{label:"身份证号:"}},[a("Input",{attrs:{placeholder:"请输入"},model:{value:t.formData.card_id,callback:function(e){t.$set(t.formData,"card_id",e)},expression:"formData.card_id"}})],1),a("FormItem",{attrs:{label:"详细地址:"}},[a("Input",{attrs:{placeholder:"请输入"},model:{value:t.formData.addres,callback:function(e){t.$set(t.formData,"addres",e)},expression:"formData.addres"}})],1)],1)]),a("div",{staticClass:"section"},[a("div",{staticClass:"section-hd"},[t._v("密码设置")]),a("div",{staticClass:"section-bd"},[a("FormItem",{attrs:{label:"登录密码:"}},[a("Input",{attrs:{type:"password",password:"",placeholder:"请输入"},model:{value:t.formData.pwd,callback:function(e){t.$set(t.formData,"pwd",e)},expression:"formData.pwd"}})],1),a("FormItem",{attrs:{label:"确认密码:"}},[a("Input",{attrs:{type:"password",password:"",placeholder:"请输入"},model:{value:t.formData.true_pwd,callback:function(e){t.$set(t.formData,"true_pwd",e)},expression:"formData.true_pwd"}})],1)],1)]),a("div",{staticClass:"section"},[a("div",{staticClass:"section-hd"},[t._v("用户设置")]),a("div",{staticClass:"section-bd"},[a("FormItem",{attrs:{label:"推广资格:"}},[a("i-switch",{attrs:{"true-value":1,"false-value":0,size:"large"},model:{value:t.formData.spread_open,callback:function(e){t.$set(t.formData,"spread_open",e)},expression:"formData.spread_open"}},[a("span",{attrs:{slot:"open"},slot:"open"},[t._v("启用")]),a("span",{attrs:{slot:"close"},slot:"close"},[t._v("禁用")])])],1),a("FormItem",{attrs:{label:"用户状态:"}},[a("i-switch",{attrs:{"true-value":1,"false-value":0,size:"large"},model:{value:t.formData.status,callback:function(e){t.$set(t.formData,"status",e)},expression:"formData.status"}},[a("span",{attrs:{slot:"open"},slot:"open"},[t._v("开启")]),a("span",{attrs:{slot:"close"},slot:"close"},[t._v("锁定")])])],1),a("FormItem",{attrs:{label:"用户标签:"}},[a("div",{staticClass:"flex-add"},[a("div",{staticClass:"labelInput acea-row row-between-wrapper",on:{click:t.openLabel}},[a("div",{staticClass:"width-add"},[t.dataLabel.length?a("div",t._l(t.dataLabel,(function(e,n){return a("Tag",{attrs:{closable:""},on:{"on-close":function(a){return t.closeLabel(e)}}},[t._v(t._s(e.label_name))])})),1):a("span",{staticClass:"span"},[t._v("选择用户关联标签")])]),a("div",{staticClass:"iconfont iconxiayi"})]),a("Button",{attrs:{type:"text"},on:{click:function(e){return t.add(1)}}},[t._v("添加标签")])],1)]),a("FormItem",{attrs:{label:"用户分组:"}},[a("div",{staticClass:"flex-add"},[a("Select",{attrs:{placeholder:"请选择",transfer:!0},model:{value:t.formData.group_id,callback:function(e){t.$set(t.formData,"group_id",e)},expression:"formData.group_id"}},t._l(t.groupList,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.group_name))])})),1),a("Button",{attrs:{type:"text"},on:{click:function(e){return t.add(2)}}},[t._v("添加分组")])],1)]),a("FormItem",{attrs:{label:"用户等级:"}},[a("Select",{model:{value:t.formData.level,callback:function(e){t.$set(t.formData,"level",e)},expression:"formData.level"}},t._l(t.levelOptions,(function(e){return a("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1)],1),a("FormItem",{attrs:{label:"推广人:"}},[a("Input",{attrs:{clearable:"",placeholder:"请选择",icon:"ios-arrow-down"},on:{"on-clear":t.clearSpread,"on-focus":t.editSpread},model:{value:t.formData.spread_uid_nickname,callback:function(e){t.$set(t.formData,"spread_uid_nickname",e)},expression:"formData.spread_uid_nickname"}})],1)],1)])]),a("Modal",{attrs:{scrollable:"",title:"请选择商城用户",closable:!1,width:"900"},model:{value:t.customerShow,callback:function(e){t.customerShow=e},expression:"customerShow"}},[t.customerShow?a("customerInfo",{on:{imageObject:t.imageObject}}):t._e()],1),a("Modal",{attrs:{scrollable:"",title:"选择用户标签",closable:!0,width:"540","footer-hide":!0,"mask-closable":!1},model:{value:t.labelShow,callback:function(e){t.labelShow=e},expression:"labelShow"}},[a("userLabel",{ref:"userLabel",on:{activeData:t.activeData,close:t.labelClose}})],1)],1)}),[],!1,null,"5ba93274",null).exports,f=a("5a0c"),v=a.n(f),p={components:{template:a("6112").default},name:"userInfo",props:{psInfo:Object,workMemberInfo:Object,workClientInfo:Object},filters:{timeFormat:function(t){return t?v()(1e3*t).format("YYYY-MM-DD HH:mm:ss"):"-"},gender:function(t){return 1==t?"男":2==t?"女":"未知"}},computed:{hasExtendInfo:function(){return this.psInfo.extend_info.some((function(t){return t.value}))}}};function h(t,e,a,n,r,i,s){try{var o=t[i](s),c=o.value}catch(t){return void a(t)}o.done?e(c):Promise.resolve(c).then(n,r)}function _(t){return function(){var e=this,a=arguments;return new Promise((function(n,r){var i=t.apply(e,a);function s(t){h(i,n,r,s,o,"next",t)}function o(t){h(i,n,r,s,o,"throw",t)}s(void 0)}))}}a("8d09");var b={name:"userDetails",components:{userForm:m,userInfo:Object(d.a)(p,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"user-info"},[a("div",{staticClass:"section"},[a("div",{staticClass:"section-hd"},[t._v("基本信息")]),a("div",{staticClass:"section-bd"},[a("div",{staticClass:"item"},[a("div",[t._v("用户编号:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.uid))])]),a("div",{staticClass:"item"},[a("div",[t._v("真实姓名:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.real_name||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("手机号码:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.phone||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("生日:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.birthday||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("性别:")]),t.psInfo.sex?a("div",{staticClass:"value"},[t._v(t._s(1==t.psInfo.sex?"男":"女"))]):a("div",{staticClass:"value"},[t._v("保密")])]),a("div",{staticClass:"item"},[a("div",[t._v("身份证号:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.card_id||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("用户地址:")]),a("div",{staticClass:"value"},[t._v(t._s(""+t.psInfo.provincials+t.psInfo.addres||"-"))])])])]),t._m(0),a("div",{staticClass:"section"},[a("div",{staticClass:"section-hd"},[t._v("用户概况")]),a("div",{staticClass:"section-bd"},[a("div",{staticClass:"item"},[a("div",[t._v("推广资格:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.spread_open?"启用":"禁用"))])]),a("div",{staticClass:"item"},[a("div",[t._v("用户状态:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.status?"开启":"锁定"))])]),a("div",{staticClass:"item"},[a("div",[t._v("用户等级:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.vip_name))])]),a("div",{staticClass:"item"},[a("div",[t._v("用户标签:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.label_list))])]),a("div",{staticClass:"item"},[a("div",[t._v("用户分组:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.group_name||"无"))])]),a("div",{staticClass:"item"},[a("div",[t._v("推广人:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.spread_uid_nickname||"无"))])]),a("div",{staticClass:"item"},[a("div",[t._v("注册时间:")]),a("div",{staticClass:"value"},[t._v(t._s(t._f("timeFormat")(t.psInfo.add_time)))])]),a("div",{staticClass:"item"},[a("div",[t._v("登录时间:")]),a("div",{staticClass:"value"},[t._v(t._s(t._f("timeFormat")(t.psInfo.last_time)))])]),t.psInfo.is_money_level?a("div",{staticClass:"item"},[a("div",[t._v("付费会员:")]),a("div",{staticClass:"value"},[t._v(t._s(1==t.psInfo.is_ever_level?"永久会员":t.psInfo.overdue_time?t.psInfo.overdue_time+" 到期":"已过期"))])]):t._e()])]),a("div",{staticClass:"section"},[a("div",{staticClass:"section-hd"},[t._v("用户备注")]),a("div",{staticClass:"section-bd"},[a("div",{staticClass:"item"},[a("div",[t._v("备注:")]),a("div",{staticClass:"value"},[t._v(t._s(t.psInfo.mark||"-"))])])])]),t.hasExtendInfo?a("div",{staticClass:"section"},[a("div",{staticClass:"section-hd"},[t._v("补充信息")]),a("div",{staticClass:"section-bd"},[t._l(t.psInfo.extend_info,(function(e){return[e.value?a("div",{key:e.sort,staticClass:"item"},[a("div",[t._v(t._s(e.info)+":")]),"sex"==e.param?a("div",{staticClass:"value"},[t._v(t._s(e.singlearr[e.value]))]):a("div",{staticClass:"value"},[t._v(t._s(e.value))])]):t._e()]}))],2)]):t._e(),t.workMemberInfo?a("div",{staticClass:"section"},[a("div",{staticClass:"section-hd"},[t._v("企业成员信息")]),a("div",{staticClass:"section-bd"},[a("div",{staticClass:"item"},[a("div",{staticClass:"avatar"},[a("img",{attrs:{src:t.workMemberInfo.qr_code,alt:""}})])])]),a("div",{staticClass:"section-bd"},[a("div",{staticClass:"item"},[a("div",[t._v("姓名:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workMemberInfo.name||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("职务信息:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workMemberInfo.position||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("手机号码:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workMemberInfo.mobile||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("性别:")]),a("div",{staticClass:"value"},[t._v(t._s(t._f("gender")(t.workMemberInfo.gender)))])]),a("div",{staticClass:"item"},[a("div",{staticClass:"width-add "},[t._v("邮箱:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workMemberInfo.biz_mail||"-"))])]),a("div",{staticClass:"item mr30"},[a("div",[t._v("地址:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workMemberInfo.address||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("备注:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workMemberInfo.remark||"-"))])])])]):t._e(),t.workClientInfo?a("div",{staticClass:"section"},[a("div",{staticClass:"section-hd"},[t._v("企业客户信息")]),a("div",{staticClass:"section-bd"},[a("div",{staticClass:"item"},[a("div",[t._v("姓名:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workClientInfo.name||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("职务信息:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workClientInfo.position||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("备注:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workClientInfo.remark||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("性别:")]),a("div",{staticClass:"value"},[t._v(t._s(t._f("gender")(t.workClientInfo.gender)))])]),a("div",{staticClass:"item"},[a("div",[t._v("企业主体名称:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workClientInfo.corp_full_name||"-"))])]),a("div",{staticClass:"item"},[a("div",[t._v("企业主体简称:")]),a("div",{staticClass:"value"},[t._v(t._s(t.workClientInfo.corp_name||"-"))])])])]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"section"},[e("div",{staticClass:"section-hd"},[this._v("密码")]),e("div",{staticClass:"section-bd"},[e("div",{staticClass:"item"},[e("div",[this._v("登录密码:")]),e("div",{staticClass:"value"},[this._v("********")])])])])}],!1,null,"4c3c4221",null).exports},props:["levelList","labelList","groupList","fromType"],data:function(){return{theme2:"light",list:[{val:"info",label:"用户信息"},{val:"order",label:"消费记录"},{val:"integral",label:"积分明细"},{val:"sign",label:"签到记录"},{val:"coupon",label:"持有优惠券"},{val:"balance_change",label:"余额变动"},{val:"spread",label:"好友关系"},{val:"visit",label:"浏览足迹"},{val:"spread_change",label:"推荐人变更记录"}],modals:!1,spinShow:!1,detailsData:[],userId:0,loading:!1,userFrom:{type:"info",page:1,limit:12},total:0,columns:[],userLists:[],psInfo:{},workMemberInfo:{},workClientInfo:{},activeName:"info",isEdit:!1,groupOptions:[],labelOptions:[]}},watch:{activeName:function(t){this.userFrom.page=1,"info"!=t&&(this.isEdit=!1,this.changeType(t))},modals:function(t){t&&(this.isEdit=!1)}},created:function(){},methods:{changeMenu:function(t){if("99"===t)return this.getDetails(this.userId),this.$parent.getList(),void(this.isEdit=!1);this.$parent.changeMenu(this.psInfo,t)},finish:function(){this.$refs.userForm[0].detailsPut()},getSpreadList:function(){var t=this;this.loading=!0,Object(i.N)({id:this.userId,datas:{page:this.userFrom.page,limit:this.userFrom.limit}}).then(function(){var e=_(r.a.mark((function e(a){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:200===a.status?(n=a.data,t.userLists=n.list,t.total=n.count,t.columns=[{title:"推荐人ID",key:"spread_uid",minWidth:120},{title:"推荐人",key:"nickname",minWidth:120,render:function(t,e){return t("div",[t("img",{style:{borderRadius:"50%",marginRight:"10px",verticalAlign:"middle"},attrs:{with:38,height:38},directives:[{name:"lazy",value:e.row.avatar},{name:"viewer"}]}),t("span",{style:{verticalAlign:"middle"}},e.row.nickname)])}},{title:"变更方式",key:"type",minWidth:120},{title:"变更时间",key:"spread_time",minWidth:120}],t.loading=!1):(t.loading=!1,t.$Message.error(a.msg));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},getVisitList:function(){var t=this;this.loading=!0,Object(i.db)({id:this.userId,datas:{page:this.userFrom.page,limit:this.userFrom.limit}}).then(function(){var e=_(r.a.mark((function e(a){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:200===a.status?(n=a.data,t.userLists=n.list,t.total=n.count,t.columns=[{title:"商品信息",slot:"product",minWidth:400},{title:"价格",key:"product_price",minWidth:120,render:function(t,e){return t("div","¥".concat(e.row.product_price))}},{title:"浏览时间",key:"add_time",minWidth:120}],t.loading=!1):(t.loading=!1,t.$Message.error(a.msg));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},getDetails:function(t){var e=this;this.userId=t,this.spinShow=!0,Object(i.g)(t).then(function(){var t=_(r.a.mark((function t(a){var n,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:200===a.status?(n=a.data,e.detailsData=n.headerList,"order"!==e.fromType&&(i=e.groupList.find((function(t){return t.id==n.ps_info.group_id})))&&(n.ps_info.group_name=i.group_name),e.psInfo=n.ps_info,e.workMemberInfo=n.workMemberInfo,e.workClientInfo=n.workClientInfo,e.spinShow=!1):(e.spinShow=!1,e.$Message.error(a.msg));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.spinShow=!1,e.$Message.error(t.msg)}))},pageChange:function(t){this.userFrom.page=t,this.changeType(this.userFrom.type)},changeType:function(t){var e=this;this.loading=!0,this.userFrom.type=t,this.activeName=t;var a={id:this.userId,datas:this.userFrom};Object(i.q)(a).then(function(){var t=_(r.a.mark((function t(a){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(200!==a.status){t.next=25;break}n=a.data,e.userLists=n.list,e.total=n.count,t.t0=e.userFrom.type,t.next="order"===t.t0?7:"integral"===t.t0?9:"sign"===t.t0?11:"coupon"===t.t0?13:"balance_change"===t.t0?15:"visit"===t.t0?17:"spread_change"===t.t0?19:21;break;case 7:return e.columns=[{title:"订单ID",key:"order_id",minWidth:160},{title:"收货人",key:"real_name",minWidth:100},{title:"商品数量",key:"total_num",minWidth:90},{title:"商品总价",key:"total_price",minWidth:110},{title:"实付金额",key:"pay_price",minWidth:120},{title:"交易完成时间",key:"pay_time",minWidth:120}],t.abrupt("break",22);case 9:return e.columns=[{title:"来源/用途",key:"title",minWidth:120},{title:"积分变化",key:"number",minWidth:120},{title:"变化后积分",key:"balance",minWidth:120},{title:"日期",key:"add_time",minWidth:120},{title:"备注",key:"mark",minWidth:120}],t.abrupt("break",22);case 11:return e.columns=[{title:"获得积分",key:"number",minWidth:120},{title:"签到时间",key:"add_time",minWidth:120},{title:"备注",key:"mark",minWidth:120}],t.abrupt("break",22);case 13:return e.columns=[{title:"优惠券名称",key:"coupon_title",minWidth:120},{title:"面值",slot:"coupon_price",minWidth:120},{title:"有效期(天)",key:"coupon_time",minWidth:120},{title:"兑换时间",key:"_add_time",minWidth:120}],t.abrupt("break",22);case 15:return e.columns=[{title:"动作",key:"title",minWidth:120},{title:"变动金额",key:"number",minWidth:120},{title:"变动后",key:"balance",minWidth:120},{title:"创建时间",key:"add_time",minWidth:120},{title:"备注",key:"mark",minWidth:120}],t.abrupt("break",22);case 17:return e.columns=[{title:"商品信息",slot:"product",minWidth:400},{title:"价格",key:"product_price",minWidth:120,render:function(t,e){return t("div","¥".concat(e.row.product_price))}},{title:"浏览时间",key:"add_time",minWidth:120}],t.abrupt("break",22);case 19:return e.columns=[{title:"推荐人ID",key:"spread_uid",minWidth:120},{title:"推荐人",key:"nickname",minWidth:120,render:function(t,e){return t("div",[t("img",{style:{borderRadius:"50%",marginRight:"10px",verticalAlign:"middle"},attrs:{with:38,height:38},directives:[{name:"lazy",value:e.row.avatar},{name:"viewer"}]}),t("span",{style:{verticalAlign:"middle"}},e.row.nickname)])}},{title:"变更方式",key:"type",minWidth:120},{title:"变更时间",key:"spread_time",minWidth:120}],t.abrupt("break",22);case 21:e.columns=[{title:"ID",key:"uid",minWidth:120},{title:"昵称",key:"nickname",minWidth:120},{title:"等级",key:"type",minWidth:120},{title:"加入时间",key:"add_time",minWidth:120}];case 22:e.loading=!1,t.next=27;break;case 25:e.loading=!1,e.$Message.error(a.msg);case 27:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))}}},g=(a("76f7"),a("347f1"),Object(d.a)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Drawer",{attrs:{closable:!1,width:"1000","class-name":"order_box",styles:{padding:0}},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[n("div",{staticClass:"acea-row user-row"},[n("div",{staticClass:"avatar mr15"},[n("img",{attrs:{src:t.psInfo.avatar}})]),n("div",{staticClass:"user-row-text"},[n("div",[n("span",{staticClass:"nickname"},[t._v(t._s(t.psInfo.nickname||"-")+t._s(null!=t.psInfo.delete_time?" (已注销)":""))]),n("i",{staticClass:"iconfont",class:{iconxiaochengxu:"routine"===t.psInfo.user_type,icongongzhonghao:"wechat"===t.psInfo.user_type,iconPC:"pc"===t.psInfo.user_type,iconh5:"h5"===t.psInfo.user_type,iconapp:"app"===t.psInfo.user_type}})]),n("div",{staticClass:"level"},[t.psInfo.is_money_level?n("img",{attrs:{src:a("30a5")}}):t._e(),t.psInfo.level?n("span",{staticClass:"vip"},[t._v("V"+t._s(t.psInfo.level))]):t._e()])]),"order"!==t.fromType&&null==t.psInfo.delete_time?n("div",{staticClass:"user-row-action"},[n("Button",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],on:{click:function(e){t.isEdit=!1}}},[t._v("取消")]),n("Button",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{type:"primary"},on:{click:t.finish}},[t._v("完成")]),n("Button",{directives:[{name:"show",rawName:"v-show",value:!t.isEdit&&"info"===t.activeName,expression:"!isEdit && activeName === 'info'"}],attrs:{type:"primary"},on:{click:function(e){t.isEdit=!0}}},[t._v("编辑")]),n("Button",{attrs:{type:"success"},on:{click:function(e){return t.changeMenu("2")}}},[t._v("积分余额")]),n("Button",{on:{click:function(e){return t.changeMenu("3")}}},[t._v("赠送会员")])],1):t._e()]),n("div",{staticClass:"acea-row info-row"},t._l(t.detailsData,(function(e,a){return n("div",{key:a,staticClass:"info-row-item"},[n("div",{staticClass:"info-row-item-title"},[t._v(t._s(e.title))]),n("div",[t._v(t._s(e.value)+t._s(e.key))])])})),0),n("Tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},t._l(t.list,(function(e,a){return n("TabPane",{key:a,attrs:{label:e.label,name:e.val}},["info"===e.val?[t.isEdit?n("user-form",{ref:"userForm",refInFor:!0,attrs:{"ps-info":t.psInfo},on:{"change-menu":t.changeMenu}}):n("user-info",{attrs:{"ps-info":t.psInfo,workMemberInfo:t.workMemberInfo,workClientInfo:t.workClientInfo}})]:[n("Table",{ref:"table",refInFor:!0,attrs:{columns:t.columns,data:t.userLists,loading:t.loading,"no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"coupon_price",fn:function(e){var a=e.row;return[1==a.coupon_type?n("span",[t._v(t._s(a.coupon_price)+"元")]):t._e(),2==a.coupon_type?n("span",[t._v(t._s(parseFloat(a.coupon_price)/10)+"折("+t._s(a.coupon_price.toString().split(".")[0])+"%)")]):t._e()]}},{key:"product",fn:function(e){var a=e.row;return[n("div",{staticClass:"product"},[n("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"image"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:a.image,expression:"row.image"}]})]),n("div",{staticClass:"title"},[t._v(t._s(a.store_name))])])]}}],null,!0)}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.total,current:t.userFrom.page,"show-elevator":"","show-total":"","page-size":t.userFrom.limit},on:{"update:current":function(e){return t.$set(t.userFrom,"page",e)},"on-change":t.pageChange}})],1)]],2)})),1)],1)}),[],!1,null,"5c6dc930",null));e.a=g.exports},c24f:function(t,e,a){"use strict";a.d(e,"W",(function(){return r})),a.d(e,"M",(function(){return i})),a.d(e,"L",(function(){return s})),a.d(e,"k",(function(){return o})),a.d(e,"r",(function(){return c})),a.d(e,"d",(function(){return u})),a.d(e,"h",(function(){return l})),a.d(e,"g",(function(){return d})),a.d(e,"q",(function(){return m})),a.d(e,"s",(function(){return f})),a.d(e,"I",(function(){return v})),a.d(e,"O",(function(){return p})),a.d(e,"K",(function(){return h})),a.d(e,"J",(function(){return _})),a.d(e,"f",(function(){return b})),a.d(e,"e",(function(){return g})),a.d(e,"n",(function(){return k})),a.d(e,"Q",(function(){return w})),a.d(e,"p",(function(){return C})),a.d(e,"P",(function(){return O})),a.d(e,"bb",(function(){return I})),a.d(e,"T",(function(){return y})),a.d(e,"R",(function(){return j})),a.d(e,"S",(function(){return D})),a.d(e,"V",(function(){return x})),a.d(e,"U",(function(){return L})),a.d(e,"X",(function(){return F})),a.d(e,"v",(function(){return $})),a.d(e,"w",(function(){return S})),a.d(e,"Y",(function(){return W})),a.d(e,"i",(function(){return M})),a.d(e,"ab",(function(){return E})),a.d(e,"C",(function(){return N})),a.d(e,"cb",(function(){return P})),a.d(e,"m",(function(){return T})),a.d(e,"Z",(function(){return B})),a.d(e,"F",(function(){return z})),a.d(e,"B",(function(){return U})),a.d(e,"A",(function(){return A})),a.d(e,"z",(function(){return J})),a.d(e,"D",(function(){return R})),a.d(e,"y",(function(){return Y})),a.d(e,"x",(function(){return q})),a.d(e,"u",(function(){return H})),a.d(e,"t",(function(){return V})),a.d(e,"o",(function(){return G})),a.d(e,"l",(function(){return K})),a.d(e,"G",(function(){return Q})),a.d(e,"H",(function(){return X})),a.d(e,"db",(function(){return Z})),a.d(e,"N",(function(){return tt})),a.d(e,"E",(function(){return et})),a.d(e,"b",(function(){return at})),a.d(e,"a",(function(){return nt})),a.d(e,"eb",(function(){return rt})),a.d(e,"j",(function(){return it})),a.d(e,"c",(function(){return st}));var n=a("b6bd");function r(t){return Object(n.a)({url:"user/user",method:"get",params:t})}function i(t){return Object(n.a)({url:"setting/config/user/".concat(t),method:"get"})}function s(t,e){return Object(n.a)({url:"setting/config/user/".concat(t),method:"post",data:e})}function o(t){return Object(n.a)({url:"user/user/".concat(t,"/edit"),method:"get"})}function c(t){return Object(n.a)({url:"user/set_status/".concat(t.status,"/").concat(t.id),method:"put"})}function u(t){return Object(n.a)({url:"marketing/coupon/grant",method:"get",params:t})}function l(t){return Object(n.a)({url:"user/edit_other/".concat(t),method:"get"})}function d(t){return Object(n.a)({url:"user/user/".concat(t),method:"get"})}function m(t){return Object(n.a)({url:"user/one_info/".concat(t.id),method:"get",params:t.datas})}function f(t){return Object(n.a)({url:"user/user_level/vip_list",method:"get",params:t})}function v(t){return Object(n.a)({url:"user/user_level/set_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function p(t,e){return Object(n.a)({url:"user/user_level/task/".concat(t),method:"get",params:e})}function h(t){return Object(n.a)({url:"user/user_level/set_task_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function _(t){return Object(n.a)({url:"user/user_level/set_task_must/".concat(t.id,"/").concat(t.is_must),method:"PUT"})}function b(t){return Object(n.a)({url:"/user/user_level/create_task",method:"get",params:t})}function g(t){return Object(n.a)({url:"user/user_level/create",method:"get",params:t})}function k(t){return Object(n.a)({url:"user/give_level/".concat(t),method:"get"})}function w(t){return Object(n.a)({url:"user/user_group/list",method:"get",params:t})}function C(t){return Object(n.a)({url:"user/user_group/add/".concat(t),method:"get"})}function O(t){return Object(n.a)({url:"setting/update_admin",method:"PUT",data:t})}function I(t){return Object(n.a)({url:"user/set_group",method:"post",data:t})}function y(t){return Object(n.a)({url:"user/user_label",method:"get",params:t})}function j(t,e){return Object(n.a)({url:"user/user_label/add/".concat(t),method:"get",params:e})}function D(t){return Object(n.a)({url:"user/user_label_cate/all",method:"get",params:t})}function x(t){return Object(n.a)({url:"user/user_label_cate/".concat(t,"/edit"),method:"get"})}function L(t){return Object(n.a)({url:"user/user_label_cate/create",method:"get"})}function F(t){return Object(n.a)({url:"/user/member_batch/index",method:"get",params:t})}function $(t,e){return Object(n.a)({url:"/user/member_batch/save/".concat(t),method:"post",data:e})}function S(t,e){return Object(n.a)({url:"/user/member_batch/set_value/".concat(t),method:"get",params:e})}function W(t,e){return Object(n.a)({url:"/user/member_card/index/".concat(t),method:"get",params:e})}function M(t,e){return Object(n.a)({url:"/export/memberCard/".concat(t),method:"get",params:e})}function E(){return Object(n.a)({url:"/user/member/ship",method:"get"})}function N(t,e){return Object(n.a)({url:"/user/member_ship/save/".concat(t),method:"post",data:e})}function P(){return Object(n.a)({url:"/user/user/syncUsers",method:"get"})}function T(){return Object(n.a)({url:"/user/user/create",method:"get"})}function B(){return Object(n.a)({url:"/user/member_scan",method:"get"})}function z(t,e){return Object(n.a)({url:"user/label/".concat(t),method:"post",data:e})}function U(t){return Object(n.a)({url:"user/member_right/save/".concat(t.id),method:"post",data:t})}function A(){return Object(n.a)({url:"user/member/right",method:"get"})}function J(t){return Object(n.a)({url:"/user/member/record",method:"get",params:t})}function R(){return Object(n.a)({url:"user/member/ship_select",method:"get"})}function Y(t){return Object(n.a)({url:"user/member_card/set_status",method:"get",params:t})}function q(t){return Object(n.a)({url:"user/member_ship/set_ship_status",method:"get",params:t})}function H(t,e){return Object(n.a)({url:"user/member_agreement/save/".concat(t),method:"post",data:e})}function V(){return Object(n.a)({url:"user/member/agreement",method:"get"})}function G(t){return Object(n.a)({url:"user/give_level_time/".concat(t),method:"get"})}function K(t){return Object(n.a)({url:"user/label/".concat(t),method:"get"})}function Q(t){return Object(n.a)({url:"user/save_set_label",method:"put",data:t})}function X(t){return Object(n.a)({url:"setting/info",method:"get"})}function Z(t){return Object(n.a)({url:"user/visit_list/".concat(t.id),method:"get",params:t.datas})}function tt(t){return Object(n.a)({url:"user/spread_list/".concat(t.id),method:"get",params:t.datas})}function et(t){return Object(n.a)({url:"user/user/".concat(t.uid),method:"put",data:t})}function at(t,e){return Object(n.a)({url:"agent/set_agent_agreement/".concat(t),method:"post",data:e})}function nt(){return Object(n.a)({url:"agent/get_agent_agreement",method:"get"})}function rt(){return Object(n.a)({url:"user/synchro/work/label",method:"get"})}function it(t){return Object(n.a)({url:"user/user/extend_info/".concat(t),method:"get"})}function st(t){return Object(n.a)({url:"user/batch_process",method:"post",data:t})}},c76a:function(t,e,a){"use strict";var n=a("2c12");a.n(n).a},f9fe:function(t,e,a){}}]);