(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6b6c8f07"],{"263f":function(e,t,a){"use strict";a.d(t,"e",(function(){return s})),a.d(t,"b",(function(){return n})),a.d(t,"d",(function(){return l})),a.d(t,"f",(function(){return u})),a.d(t,"c",(function(){return o})),a.d(t,"g",(function(){return i})),a.d(t,"j",(function(){return c})),a.d(t,"i",(function(){return m})),a.d(t,"k",(function(){return d})),a.d(t,"h",(function(){return f})),a.d(t,"l",(function(){return b})),a.d(t,"a",(function(){return p}));var r=a("6b2d");const s=e=>r.a.get("/user.labelGroup/list",{params:e}),n=e=>r.a.post("/user.labelGroup/create",e),l=e=>r.a.get("/user.labelGroup/detail",{params:e}),u=e=>r.a.post("/user.labelGroup/update",e),o=e=>r.a.get("/user.labelGroup/del",{params:e}),i=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})},f2f3:function(e,t,a){"use strict";a.r(t);var r=a("263f"),s=a("b3ad"),n=(a("b6c4"),{data:()=>({form:{max_label_num:""}}),components:{MaterialSelect:s.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()}}),l=a("2877"),u=Object(l.a)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"ls-card"},[a("el-page-header",{attrs:{content:"个性标签设置"},on:{back:function(t){return e.$router.go(-1)}}})],1),a("div",{staticClass:"ls-card m-t-16"},[a("div",{staticClass:"card-title"},[e._v("个性标签设置")]),a("div",{staticClass:"card-content m-t-24"},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"160px"}},[a("el-form-item",{attrs:{required:"",prop:"max_label_num",label:"用户最大选择标签数量"}},[a("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)]),a("div",{staticClass:"bg-white ls-fixed-footer"},[a("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[a("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("取消")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.submitForm("form")}}},[e._v("保存")])],1)])])}),[],!1,null,null,null);t.default=u.exports}}]);