1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-5114c243"],{"31b4":function(t,e,n){"use strict";var r=n("9860"),o=n.n(r),s=n("b6bd"),a=n("2f62");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c={name:"edit",components:{formCreate:o.a.$form()},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(n,!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(a.e)("admin/userLevel",["taskId","levelId"])),props:{FromData:{type:Object,default:null},userEdit:{type:Number,default:0}},data:function(){return{modals:!1,type:0,config:{global:{upload:{props:{onSuccess:function(t,e){200===t.status?e.url=t.data.src:this.Message.error(t.msg)}}}}},isDisable:!1}},methods:{couponsType:function(){this.$parent.addType(this.type)},onSubmit:function(t){var e,n=this;(setTimeout((function(){n.isDisable=!1}),1e3),this.isDisable)||(this.isDisable=!0,e=t,Object(s.a)({url:this.FromData.action,method:this.FromData.method,data:e}).then((function(t){n.$parent.getList(),n.$Message.success(t.msg),n.modals=!1,setTimeout((function(){n.$emit("submitFail")}),1e3)})).catch((function(t){n.$Message.error(t.msg)})))},cancel:function(){this.type=0}}},l=(n("bddf"),n("2877")),d=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.FromData?n("div",[n("Modal",{class:t.userEdit?"userEdit":"",attrs:{scrollable:"","footer-hide":"",closable:"",title:t.FromData.title,width:"700"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[["/marketing/coupon/save.html"===t.FromData.action?n("div",{staticClass:"radio acea-row row-middle"},[n("div",{staticClass:"name ivu-form-item-content"},[t._v("优惠券类型")]),n("Radio-group",{on:{"on-change":t.couponsType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[n("Radio",{attrs:{label:0}},[t._v("通用券")]),n("Radio",{attrs:{label:1}},[t._v("品类券")]),n("Radio",{attrs:{label:2}},[t._v("商品券")])],1)],1):t._e()],n("form-create",{ref:"fc",staticClass:"formBox",attrs:{option:t.config,rule:Array.from(t.FromData.rules),handleIcon:"false"},on:{"on-submit":t.onSubmit}})],2)],1):t._e()}),[],!1,null,"2850396f",null);e.a=d.exports},"3cb6":function(t,e,n){},"429d":function(t,e,n){},"5cbd":function(t,e,n){"use strict";n.r(e);var r=n("a34a"),o=n.n(r),s=n("2f62"),a=n("c24f"),i=n("31b4");function u(t,e,n,r,o,s,a){try{var i=t[s](a),u=i.value}catch(t){return void n(t)}i.done?e(u):Promise.resolve(u).then(r,o)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var s=t.apply(e,n);function a(t){u(s,r,o,a,i,"next",t)}function i(t){u(s,r,o,a,i,"throw",t)}a(void 0)}))}}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(n,!0).forEach((function(e){m(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f={name:"task",components:{editFrom:i.a},data:function(){return{grid:{xl:10,lg:10,md:12,sm:24,xs:24},modals:!1,levelFrom:{is_show:"",name:"",page:1,limit:20},total:0,levelLists:[],loading:!1,columns1:[{title:"ID",key:"id",sortable:!0,width:80},{title:"等级名称",key:"level_name",minWidth:100},{title:"任务名称",key:"name",minWidth:120},{title:"排序",sort:"grade",sortable:!0,minWidth:100},{title:"是否显示",slot:"is_shows",minWidth:110},{title:"务必达成",slot:"is_musts",minWidth:135},{title:"任务说明",key:"illustrate",minWidth:120},{title:"操作",slot:"action",fixed:"right",minWidth:120}],FromData:null,ids:0,modalTitleSs:"",titleType:"task"}},computed:d({},Object(s.e)("admin/layout",["isMobile"]),{},Object(s.e)("admin/userLevel",["levelId"]),{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"right"}}),methods:d({},Object(s.d)("admin/userLevel",["getTaskId","getlevelId"]),{add:function(){this.ids="",this.getFrom()},getFrom:function(){var t=this,e={id:this.ids,level_id:this.levelId};this.$modalForm(Object(a.f)(e)).then((function(){return t.getList()}))},edit:function(t){this.ids=t.id,this.getFrom()},handleReset:function(){this.modals=!1},userSearchs:function(){this.getList()},getList:function(){var t=this;this.loading=!0,this.levelFrom.is_show=this.levelFrom.is_show||"",Object(a.O)(this.levelId,this.levelFrom).then(function(){var e=c(o.a.mark((function e(n){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.data,t.levelLists=r.list,t.total=n.data.count,t.loading=!1;case 4: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)}))},pageChange:function(t){this.levelFrom.page=t,this.getList()},onchangeIsShow:function(t){var e=this,n={id:t.id,is_show:t.is_show};Object(a.K)(n).then(function(){var t=c(o.a.mark((function t(n){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$Message.success(n.msg);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},onchangeIsMust:function(t){var e=this,n={id:t.id,is_must:t.is_must};Object(a.J)(n).then(function(){var t=c(o.a.mark((function t(n){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$Message.success(n.msg);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},submitFail:function(){this.getList()},del:function(t,e,n){var r=this,o={title:e,num:n,url:"user/user_level/delete_task/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(o).then((function(t){r.$Message.success(t.msg),r.levelLists.splice(n,1)})).catch((function(t){r.$Message.error(t.msg)}))}})},h=n("2877"),p=Object(h.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{attrs:{"z-index":1,scrollable:"","footer-hide":"",closable:"",title:"等级任务","mask-closable":!1,width:"950"},on:{"on-cancel":t.handleReset},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[n("Form",{ref:"levelFrom",attrs:{model:t.levelFrom,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[n("Row",{attrs:{type:"flex",gutter:24}},[n("Col",t._b({},"Col",t.grid,!1),[n("FormItem",{attrs:{label:"状态:"}},[n("Select",{attrs:{placeholder:"是否显示",clearable:""},on:{"on-change":t.userSearchs},model:{value:t.levelFrom.is_show,callback:function(e){t.$set(t.levelFrom,"is_show",e)},expression:"levelFrom.is_show"}},[n("Option",{attrs:{value:"1"}},[t._v("显示")]),n("Option",{attrs:{value:"0"}},[t._v("不显示")])],1)],1)],1),n("Col",t._b({},"Col",t.grid,!1),[n("FormItem",{attrs:{label:"任务名称:",prop:"status2","label-for":"status2"}},[n("Input",{staticStyle:{width:"100%"},attrs:{search:"","enter-button":"",placeholder:"请输入任务名称"},on:{"on-search":t.userSearchs},model:{value:t.levelFrom.name,callback:function(e){t.$set(t.levelFrom,"name",e)},expression:"levelFrom.name"}})],1)],1)],1)],1),n("Divider",{attrs:{dashed:""}}),n("Row",{attrs:{type:"flex"}},[n("Col",t._b({staticClass:"mb15"},"Col",t.grid,!1),[n("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:t.add}},[t._v("添加等级任务")])],1),n("Col",{staticClass:"userAlert",attrs:{span:"24"}},[n("Alert",{attrs:{"show-icon":"",closable:""}},[t._v("添加等级任务,任务类型中的{$num}会自动替换成限定数量+系统预设的单位生成任务名")])],1)],1),n("Divider",{attrs:{dashed:""}}),n("Table",{ref:"table",attrs:{columns:t.columns1,data:t.levelLists,loading:t.loading,"no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"is_shows",fn:function(e){var r=e.row;return e.index,[n("i-switch",{attrs:{value:r.is_show,"true-value":1,"false-value":0,size:"large"},on:{"on-change":function(e){return t.onchangeIsShow(r)}},model:{value:r.is_show,callback:function(e){t.$set(r,"is_show",e)},expression:"row.is_show"}},[n("span",{attrs:{slot:"open"},slot:"open"},[t._v("显示")]),n("span",{attrs:{slot:"close"},slot:"close"},[t._v("隐藏")])])]}},{key:"is_musts",fn:function(e){var r=e.row;return e.index,[n("i-switch",{attrs:{value:r.is_must,"true-value":1,"false-value":0,size:"large"},on:{"on-change":function(e){return t.onchangeIsMust(r)}},model:{value:r.is_must,callback:function(e){t.$set(r,"is_must",e)},expression:"row.is_must"}},[n("span",{attrs:{slot:"open"},slot:"open"},[t._v("全部完成")]),n("span",{attrs:{slot:"close"},slot:"close"},[t._v("达成其一")])])]}},{key:"action",fn:function(e){var r=e.row,o=e.index;return[n("a",{on:{click:function(e){return t.edit(r)}}},[t._v("编辑 | ")]),n("a",{on:{click:function(e){return t.del(r,"删除等级任务",o)}}},[t._v(" 删除")])]}}])}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"","page-size":t.levelFrom.limit},on:{"on-change":t.pageChange}})],1),n("edit-from",{ref:"edits",attrs:{FromData:t.FromData,titleType:t.titleType},on:{submitFail:t.submitFail}})],1)}),[],!1,null,"95adbe0c",null).exports;function b(t,e,n,r,o,s,a){try{var i=t[s](a),u=i.value}catch(t){return void n(t)}i.done?e(u):Promise.resolve(u).then(r,o)}function v(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var s=t.apply(e,n);function a(t){b(s,r,o,a,i,"next",t)}function i(t){b(s,r,o,a,i,"throw",t)}a(void 0)}))}}function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(n,!0).forEach((function(e){O(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w={name:"user_level",components:{editFrom:i.a,taskList:p},data:function(){return{grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns1:[{title:"ID",key:"id",width:80},{title:"等级图标",slot:"icons",minWidth:100},{title:"等级名称",key:"name",minWidth:120},{title:"等级",key:"grade",minWidth:100},{title:"享受折扣(%)",key:"discount",minWidth:100},{title:"是否显示",slot:"is_shows",minWidth:120},{title:"等级说明",key:"explain",minWidth:120},{title:"操作",slot:"action",fixed:"right",minWidth:120}],levelFrom:{is_show:"",title:"",page:1,limit:10},levelLists:[],total:0,FromData:null,imgName:"",visible:!1,levelId:0,modalTitleSs:"",titleType:"level",modelTask:!1,num:0}},created:function(){this.getList()},computed:_({},Object(s.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:96},labelPosition:function(){return this.isMobile?"top":"right"}}),methods:_({},Object(s.d)("admin/userLevel",["getlevelId"]),{changeMenu:function(t,e,n){switch(this.levelId=t.id,e){case"1":this.getlevelId(this.levelId),this.$refs.tasks.modals=!0,this.$refs.tasks.getList();break;default:this.del(t,"删除等级",n)}},del:function(t,e,n){var r=this,o={title:e,num:n,url:"user/user_level/delete/".concat(t.id),method:"put",ids:""};this.$modalSure(o).then((function(t){r.$Message.success(t.msg),r.levelLists.splice(n,1),r.levelLists.length||(r.levelFrom.page=1==r.levelFrom.page?1:r.levelFrom.page-1),r.getList()})).catch((function(t){r.$Message.error(t.msg)}))},onchangeIsShow:function(t){var e=this,n={id:t.id,is_show:t.is_show};Object(a.I)(n).then(function(){var t=v(o.a.mark((function t(n){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$Message.success(n.msg);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},getList:function(){var t=this;this.loading=!0,this.levelFrom.is_show=this.levelFrom.is_show||"",Object(a.s)(this.levelFrom).then(function(){var e=v(o.a.mark((function e(n){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.data,t.levelLists=r.list,t.total=n.data.count,t.loading=!1;case 4: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)}))},pageChange:function(t){this.levelFrom.page=t,this.getList()},add:function(){var t=this;this.levelId=0,this.$modalForm(Object(a.e)({id:this.levelId})).then((function(){return t.getList()}))},edit:function(t){var e=this;this.levelId=t.id,this.$modalForm(Object(a.e)({id:this.levelId})).then((function(){return e.getList()})),this.getlevelId(this.levelId)},userSearchs:function(){this.levelFrom.page=1,this.getList()},submitFail:function(){this.getList()}})},j=(n("721a"),Object(h.a)(w,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[n("div",{staticClass:"new_card_pd"},[n("Form",{ref:"levelFrom",attrs:{model:t.levelFrom,inline:"","label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:"状态:","label-for":"status1"}},[n("Select",{staticStyle:{width:"250px"},attrs:{placeholder:"请选择",clearable:"","element-id":"status1"},model:{value:t.levelFrom.is_show,callback:function(e){t.$set(t.levelFrom,"is_show",e)},expression:"levelFrom.is_show"}},[n("Option",{attrs:{value:"1"}},[t._v("显示")]),n("Option",{attrs:{value:"0"}},[t._v("不显示")])],1)],1),n("FormItem",{attrs:{label:"等级名称:","label-for":"title"}},[n("Input",{staticStyle:{width:"250px","margin-right":"14px"},attrs:{placeholder:"请输入等级名称"},model:{value:t.levelFrom.title,callback:function(e){t.$set(t.levelFrom,"title",e)},expression:"levelFrom.title"}}),n("Button",{attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("查询")])],1)],1)],1)]),n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("Button",{directives:[{name:"auth",rawName:"v-auth",value:["admin-user-level_add"],expression:"['admin-user-level_add']"}],attrs:{type:"primary"},on:{click:t.add}},[t._v("添加会员等级")]),n("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns1,data:t.levelLists,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"icons",fn:function(t){var e=t.row;return t.index,[n("viewer",[n("div",{staticClass:"tabBox_img"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.icon,expression:"row.icon"}]})])])]}},{key:"is_forevers",fn:function(e){var r=e.row;return e.index,[n("i-switch",{attrs:{value:r.is_forever,"true-value":1,"false-value":0,disabled:!0,size:"large"},model:{value:r.is_forever,callback:function(e){t.$set(r,"is_forever",e)},expression:"row.is_forever"}},[n("span",{attrs:{slot:"open"},slot:"open"},[t._v("永久")]),n("span",{attrs:{slot:"close"},slot:"close"},[t._v("非永久")])])]}},{key:"is_pays",fn:function(e){var r=e.row;return e.index,[n("i-switch",{attrs:{value:r.is_pay,"true-value":1,"false-value":0,disabled:!0,size:"large"},model:{value:r.is_pay,callback:function(e){t.$set(r,"is_pay",e)},expression:"row.is_pay"}},[n("span",{attrs:{slot:"open"},slot:"open"},[t._v("付费")]),n("span",{attrs:{slot:"close"},slot:"close"},[t._v("免费")])])]}},{key:"is_shows",fn:function(e){var r=e.row;return e.index,[n("i-switch",{attrs:{value:r.is_show,"true-value":1,"false-value":0,size:"large"},on:{"on-change":function(e){return t.onchangeIsShow(r)}},model:{value:r.is_show,callback:function(e){t.$set(r,"is_show",e)},expression:"row.is_show"}},[n("span",{attrs:{slot:"open"},slot:"open"},[t._v("显示")]),n("span",{attrs:{slot:"close"},slot:"close"},[t._v("隐藏")])])]}},{key:"action",fn:function(e){var r=e.row,o=e.index;return[n("a",{on:{click:function(e){return t.edit(r)}}},[t._v("编辑")]),n("Divider",{attrs:{type:"vertical"}}),n("a",{on:{click:function(e){return t.changeMenu(r,2,o)}}},[t._v("删除")])]}}])}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.total,current:t.levelFrom.page,"show-elevator":"","show-total":"","page-size":t.levelFrom.limit},on:{"on-change":t.pageChange}})],1)],1),n("task-list",{ref:"tasks"})],1)}),[],!1,null,"db1c844e",null));e.default=j.exports},"721a":function(t,e,n){"use strict";var r=n("429d");n.n(r).a},bddf:function(t,e,n){"use strict";var r=n("3cb6");n.n(r).a},c24f:function(t,e,n){"use strict";n.d(e,"W",(function(){return o})),n.d(e,"M",(function(){return s})),n.d(e,"L",(function(){return a})),n.d(e,"k",(function(){return i})),n.d(e,"r",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"h",(function(){return l})),n.d(e,"g",(function(){return d})),n.d(e,"q",(function(){return m})),n.d(e,"s",(function(){return f})),n.d(e,"I",(function(){return h})),n.d(e,"O",(function(){return p})),n.d(e,"K",(function(){return b})),n.d(e,"J",(function(){return v})),n.d(e,"f",(function(){return g})),n.d(e,"e",(function(){return _})),n.d(e,"n",(function(){return O})),n.d(e,"Q",(function(){return w})),n.d(e,"p",(function(){return j})),n.d(e,"P",(function(){return y})),n.d(e,"bb",(function(){return k})),n.d(e,"T",(function(){return F})),n.d(e,"R",(function(){return x})),n.d(e,"S",(function(){return P})),n.d(e,"V",(function(){return $})),n.d(e,"U",(function(){return D})),n.d(e,"X",(function(){return I})),n.d(e,"v",(function(){return L})),n.d(e,"w",(function(){return S})),n.d(e,"Y",(function(){return C})),n.d(e,"i",(function(){return M})),n.d(e,"ab",(function(){return T})),n.d(e,"C",(function(){return W})),n.d(e,"cb",(function(){return E})),n.d(e,"m",(function(){return z})),n.d(e,"Z",(function(){return R})),n.d(e,"F",(function(){return B})),n.d(e,"B",(function(){return U})),n.d(e,"A",(function(){return N})),n.d(e,"z",(function(){return A})),n.d(e,"D",(function(){return J})),n.d(e,"y",(function(){return K})),n.d(e,"x",(function(){return q})),n.d(e,"u",(function(){return G})),n.d(e,"t",(function(){return H})),n.d(e,"o",(function(){return Q})),n.d(e,"l",(function(){return V})),n.d(e,"G",(function(){return X})),n.d(e,"H",(function(){return Y})),n.d(e,"db",(function(){return Z})),n.d(e,"N",(function(){return tt})),n.d(e,"E",(function(){return et})),n.d(e,"b",(function(){return nt})),n.d(e,"a",(function(){return rt})),n.d(e,"eb",(function(){return ot})),n.d(e,"j",(function(){return st})),n.d(e,"c",(function(){return at}));var r=n("b6bd");function o(t){return Object(r.a)({url:"user/user",method:"get",params:t})}function s(t){return Object(r.a)({url:"setting/config/user/".concat(t),method:"get"})}function a(t,e){return Object(r.a)({url:"setting/config/user/".concat(t),method:"post",data:e})}function i(t){return Object(r.a)({url:"user/user/".concat(t,"/edit"),method:"get"})}function u(t){return Object(r.a)({url:"user/set_status/".concat(t.status,"/").concat(t.id),method:"put"})}function c(t){return Object(r.a)({url:"marketing/coupon/grant",method:"get",params:t})}function l(t){return Object(r.a)({url:"user/edit_other/".concat(t),method:"get"})}function d(t){return Object(r.a)({url:"user/user/".concat(t),method:"get"})}function m(t){return Object(r.a)({url:"user/one_info/".concat(t.id),method:"get",params:t.datas})}function f(t){return Object(r.a)({url:"user/user_level/vip_list",method:"get",params:t})}function h(t){return Object(r.a)({url:"user/user_level/set_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function p(t,e){return Object(r.a)({url:"user/user_level/task/".concat(t),method:"get",params:e})}function b(t){return Object(r.a)({url:"user/user_level/set_task_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function v(t){return Object(r.a)({url:"user/user_level/set_task_must/".concat(t.id,"/").concat(t.is_must),method:"PUT"})}function g(t){return Object(r.a)({url:"/user/user_level/create_task",method:"get",params:t})}function _(t){return Object(r.a)({url:"user/user_level/create",method:"get",params:t})}function O(t){return Object(r.a)({url:"user/give_level/".concat(t),method:"get"})}function w(t){return Object(r.a)({url:"user/user_group/list",method:"get",params:t})}function j(t){return Object(r.a)({url:"user/user_group/add/".concat(t),method:"get"})}function y(t){return Object(r.a)({url:"setting/update_admin",method:"PUT",data:t})}function k(t){return Object(r.a)({url:"user/set_group",method:"post",data:t})}function F(t){return Object(r.a)({url:"user/user_label",method:"get",params:t})}function x(t,e){return Object(r.a)({url:"user/user_label/add/".concat(t),method:"get",params:e})}function P(t){return Object(r.a)({url:"user/user_label_cate/all",method:"get",params:t})}function $(t){return Object(r.a)({url:"user/user_label_cate/".concat(t,"/edit"),method:"get"})}function D(t){return Object(r.a)({url:"user/user_label_cate/create",method:"get"})}function I(t){return Object(r.a)({url:"/user/member_batch/index",method:"get",params:t})}function L(t,e){return Object(r.a)({url:"/user/member_batch/save/".concat(t),method:"post",data:e})}function S(t,e){return Object(r.a)({url:"/user/member_batch/set_value/".concat(t),method:"get",params:e})}function C(t,e){return Object(r.a)({url:"/user/member_card/index/".concat(t),method:"get",params:e})}function M(t,e){return Object(r.a)({url:"/export/memberCard/".concat(t),method:"get",params:e})}function T(){return Object(r.a)({url:"/user/member/ship",method:"get"})}function W(t,e){return Object(r.a)({url:"/user/member_ship/save/".concat(t),method:"post",data:e})}function E(){return Object(r.a)({url:"/user/user/syncUsers",method:"get"})}function z(){return Object(r.a)({url:"/user/user/create",method:"get"})}function R(){return Object(r.a)({url:"/user/member_scan",method:"get"})}function B(t,e){return Object(r.a)({url:"user/label/".concat(t),method:"post",data:e})}function U(t){return Object(r.a)({url:"user/member_right/save/".concat(t.id),method:"post",data:t})}function N(){return Object(r.a)({url:"user/member/right",method:"get"})}function A(t){return Object(r.a)({url:"/user/member/record",method:"get",params:t})}function J(){return Object(r.a)({url:"user/member/ship_select",method:"get"})}function K(t){return Object(r.a)({url:"user/member_card/set_status",method:"get",params:t})}function q(t){return Object(r.a)({url:"user/member_ship/set_ship_status",method:"get",params:t})}function G(t,e){return Object(r.a)({url:"user/member_agreement/save/".concat(t),method:"post",data:e})}function H(){return Object(r.a)({url:"user/member/agreement",method:"get"})}function Q(t){return Object(r.a)({url:"user/give_level_time/".concat(t),method:"get"})}function V(t){return Object(r.a)({url:"user/label/".concat(t),method:"get"})}function X(t){return Object(r.a)({url:"user/save_set_label",method:"put",data:t})}function Y(t){return Object(r.a)({url:"setting/info",method:"get"})}function Z(t){return Object(r.a)({url:"user/visit_list/".concat(t.id),method:"get",params:t.datas})}function tt(t){return Object(r.a)({url:"user/spread_list/".concat(t.id),method:"get",params:t.datas})}function et(t){return Object(r.a)({url:"user/user/".concat(t.uid),method:"put",data:t})}function nt(t,e){return Object(r.a)({url:"agent/set_agent_agreement/".concat(t),method:"post",data:e})}function rt(){return Object(r.a)({url:"agent/get_agent_agreement",method:"get"})}function ot(){return Object(r.a)({url:"user/synchro/work/label",method:"get"})}function st(t){return Object(r.a)({url:"user/user/extend_info/".concat(t),method:"get"})}function at(t){return Object(r.a)({url:"user/batch_process",method:"post",data:t})}}}]);
|