webpackJsonp([104],{"4ye2":function(e,t){},"6j9f":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),i=a("P9l9"),n={name:"unreview",data:function(){return{storeSwitch:!1,clerkChangeFlag:!1,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:""}},methods:{postData:function(e){var t={wxEnterpriseId:this.wxEnterpriseId,auditFlag:this.storeSwitch,clerkChangeFlag:this.clerkChangeFlag};Object(i.g)("/haoban-manage3-web/audit/open-or-close",t).then(function(e){var t=e.data;1!=t.errorCode?r.a.errorMsg(t):s.a.showmsg("操作成功","success")}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getData:function(e){var t=this,a={wxEnterpriseId:this.wxEnterpriseId};Object(i.b)("/haoban-manage3-web/audit/find-setting",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.storeSwitch=a.result.auditFlag,void(t.clerkChangeFlag=a.result.clerkChangeFlag);r.a.errorMsg(a)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab",3),this.getData()}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:e.storeSwitch,callback:function(t){e.storeSwitch=t},expression:"storeSwitch"}},[e._v("开启门店资料修改审核")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("开启后，所有门店在小程序端修改门店资料需要审核通过后才能修改")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:e.clerkChangeFlag,callback:function(t){e.clerkChangeFlag=t},expression:"clerkChangeFlag"}},[e._v("门店导购变更审核")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("开启后，企业微信成员在好办小程序店长删除或新增导购需要进行审核")])],1),e._v(" "),a("div",{staticClass:"m-t-46 m-l-25"},[e.$getButtonLimit(e.$buttonCode.saveApplySetting)?a("el-button",{attrs:{"limit-code":e.$buttonCode.saveApplySetting,type:"primary",loading:e.loading},on:{click:e.postData}},[e._v("保 存")]):e._e()],1)])])])},staticRenderFns:[]};var l=a("VU/8")(n,o,!1,function(e){a("4ye2")},"data-v-386819a0",null);t.default=l.exports}});