webpackJsonp([65],{"6zFj":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3Xzz"),s=a("3E4D"),r=a("Ch4/"),c=a("PI0u"),i=a("P9l9"),o={name:"contactPermission",data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"通讯录信息",path:"/staffDetails"},{name:"通讯录控制",path:""}],hideChecked:!1}},methods:{saveSet:Object(c.a)(function(){var e=this,t={brandId:e.hideChecked};Object(i.e)("/haoban-manage-web/brand/saveStoreAuth",t).then(function(e){var t=e.data;1!=t.errorCode?r.a.errorMsg(t):s.a.showmsg("保存成功","success")}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},300),getSetData:function(){var e=this;Object(i.e)("/haoban-manage-web/brand/saveStoreAuth",{}).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):e.hideChecked=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.getBrandData()},components:{navCrumb:n.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"storePermission-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{background:"unset",padding:"0"}},[a("div",{},[a("div",{staticClass:"check-box-wrap inline-block vertical-top"},[a("el-checkbox",{model:{value:e.hideChecked,callback:function(t){e.hideChecked=t},expression:"hideChecked"}},[e._v("隐藏通讯录模块")])],1),e._v(" "),a("div",{staticClass:"tip-text-wrap w-440 inline-block vertical-top"},[e._v("注：隐藏后，APP将不展示通讯录，通讯录仍可用，但无法进行通讯录及门店管理，以及添加员工操作。所有通讯录内容仅可在PC管理后台进行操作和管理。")])]),e._v(" "),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:e.saveSet}},[e._v("保 存")])],1)])]),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var h=a("VU/8")(o,d,!1,function(e){a("t9e8")},"data-v-3433e07a",null);t.default=h.exports},t9e8:function(e,t){}});