(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-23490ed4"],{"263f":function(e,t,s){"use strict";s.d(t,"e",(function(){return a})),s.d(t,"b",(function(){return n})),s.d(t,"d",(function(){return o})),s.d(t,"f",(function(){return i})),s.d(t,"c",(function(){return u})),s.d(t,"g",(function(){return l})),s.d(t,"j",(function(){return c})),s.d(t,"i",(function(){return m})),s.d(t,"k",(function(){return d})),s.d(t,"h",(function(){return f})),s.d(t,"l",(function(){return b})),s.d(t,"a",(function(){return p}));var r=s("6b2d");const a=e=>r.a.get("/user.labelGroup/list",{params:e}),n=e=>r.a.post("/user.labelGroup/create",e),o=e=>r.a.get("/user.labelGroup/detail",{params:e}),i=e=>r.a.post("/user.labelGroup/update",e),u=e=>r.a.get("/user.labelGroup/del",{params:e}),l=e=>r.a.post("/user.labelItem/create",e),c=e=>r.a.get("/user.labelItem/list",{params:e}),m=e=>r.a.get("/user.labelItem/detail",{params:e}),d=e=>r.a.post("/user.labelItem/update",e),f=e=>r.a.get("/user.labelItem/del",{params:e}),b=e=>r.a.post("/settings.user.userLabel/setConfig",e),p=e=>r.a.get("/settings.user.userLabel/getConfig",{params:e})},"6b2d":function(e,t,s){"use strict";var r=s("0613"),a=s("bc3a"),n=s.n(a),o=s("d70b"),i=s("afbc"),u=s("5c96"),l=s("6ddb");const c={baseURL:o.a.baseURL+"/adminapi",headers:{"content-type":"application/json"}},m=(Object(l.g)(()=>(r.a.commit("setToken",""),r.a.commit("setUserInfo",{}),r.a.commit("setPermission",{}),i.b.push("/account/login"),Promise.reject())),n.a.create(c));m.interceptors.request.use(e=>{const t=r.a.getters.token;return t&&(e.headers.token=t),e.headers.version=o.a.version,e},e=>Promise.reject(e)),m.interceptors.response.use(e=>e.data,e=>(Object(u.Message)({type:"error",message:"系统错误，请稍候再试"}),Promise.reject(e))),t.a=m},f2f3:function(e,t,s){"use strict";s.r(t);var r=s("263f"),a=s("b3ad"),n=(s("b6c4"),{data:()=>({form:{max_label_num:""}}),components:{MaterialSelect:a.a},methods:{submitForm(e){this.$refs[e].validate(e=>{if(!e)return!1;this.setValues()})},setValues(){Object(r.l)(this.form).then(e=>{1==e.code?(this.$message.success("设置保存成功!"),this.getValues()):this.$message.error(e.msg)})},getValues(){Object(r.a)().then(e=>{1==e.code?this.form=e.data:this.$message.error(e.msg)})}},mounted(){this.getValues()}}),o=s("2877"),i=Object(o.a)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"ls-card"},[s("el-page-header",{attrs:{content:"个性标签设置"},on:{back:function(t){return e.$router.go(-1)}}})],1),s("div",{staticClass:"ls-card m-t-16"},[s("div",{staticClass:"card-title"},[e._v("个性标签设置")]),s("div",{staticClass:"card-content m-t-24"},[s("el-form",{ref:"form",attrs:{model:e.form,"label-width":"160px"}},[s("el-form-item",{attrs:{required:"",prop:"max_label_num",label:"用户最大选择标签数量"}},[s("el-input",{model:{value:e.form.max_label_num,callback:function(t){e.$set(e.form,"max_label_num",t)},expression:"form.max_label_num"}})],1)],1)],1)]),s("div",{staticClass:"bg-white ls-fixed-footer"},[s("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[s("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("取消")]),s("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.submitForm("form")}}},[e._v("保存")])],1)])])}),[],!1,null,null,null);t.default=i.exports}}]);