webpackJsonp([50],{aSkV:function(e,t){},ae7D:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("WSiR"),i=a("AKaA"),n=a("8V46"),c={components:{"v-nav":s.a},data:function(){return{navpath:[{name:"首页",path:""},{name:"微信会员",path:"/wechatmembers"},{name:"会员设置",path:""}],value:!1,projectName:"member",actionUrl:"/api-plug/upload-img",dilogVisible:!1,maxlength:5,dilogImageUrl:""}},methods:{uploadOnSuccess:function(e){e.file.url=e.res.result[0].qcloudImageUrl,this.imageList.push(e.file)},deleteImage:function(e){this.imageList.splice(e,1)},saveSet:function(e){var t=this;Object(i.a)("/api-member/members-setting",{optype:e,appStatus:this.value?1:0}).then(function(a){0===a.data.errorCode?(1==a.data.result.appStatus&&(t.value=!0),2==e&&(t.$message({message:"设置成功！",type:"success"}),setTimeout(function(){t.$router.push({path:"/wechatmembers"})},1e3))):Object(n.a)(a.data.message)})},sortImg:function(e){this.imageList=e}},created:function(){this.saveSet(1),this.$store.commit("mutations-slide",!0)}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"member-setting"},[a("div",{staticClass:"minheight"},[a("div",{staticClass:"setting-con"},[a("div",{staticClass:"setting-container"},[a("el-switch",{model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),e._v(" "),a("span",{staticClass:"member-setting-txt"},[e._v("是否允许好办通过会员姓名、手机号和卡号搜索查询全品牌会员")])],1),e._v(" "),a("div",{staticClass:"save-btn"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.saveSet(2)}}},[e._v("保存")])],1)])])])},staticRenderFns:[]};var u=a("VU/8")(c,r,!1,function(e){a("aSkV")},"data-v-54360f10",null);t.default=u.exports}});