(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-feee3160"],{"32d8":function(t,e,a){"use strict";a.r(e);var s=a("82bb"),i={data:()=>({formData:{groupTalk:0,circleTalk:0,kefuTalk:0,userTalk:0,payStatus:0,videoArticleStatus:0}}),methods:{onSubmitFrom(t){this.$refs[t].validate().then(t=>{1==t&&Object(s.k)(this.formData).then(t=>{1==t.code?this.$message.success("保存成功!"):this.$message.error("保存失败!")})}).catch(t=>{})},getVestConfig(){Object(s.l)().then(t=>{this.formData=t.data})}},mounted(){this.getVestConfig()}},o=a("2877"),r=Object(o.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ls-card"},[a("el-alert",{attrs:{title:"温馨提示：该功能可以用来全局关闭群聊、聊天、视频贴、支付功能",type:"info",closable:!1,"show-icon":""}})],1),a("el-form",{ref:"form",attrs:{model:t.formData,"label-width":"120px",size:"small"}},[a("div",{staticClass:"ls-card m-t-16"},[a("div",{staticClass:"card-title"},[t._v("审核开关")]),a("div",{staticClass:"card-content m-t-24"},[a("el-form-item",{attrs:{prop:"groupTalk",label:"群聊"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.formData.groupTalk,callback:function(e){t.$set(t.formData,"groupTalk",e)},expression:"formData.groupTalk"}})],1),a("el-form-item",{attrs:{prop:"circleTalk",label:"圈子聊天"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.formData.circleTalk,callback:function(e){t.$set(t.formData,"circleTalk",e)},expression:"formData.circleTalk"}})],1),a("el-form-item",{attrs:{prop:"kefuTalk",label:"客服聊天"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.formData.kefuTalk,callback:function(e){t.$set(t.formData,"kefuTalk",e)},expression:"formData.kefuTalk"}})],1),a("el-form-item",{attrs:{prop:"userTalk",label:"用户聊天"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.formData.userTalk,callback:function(e){t.$set(t.formData,"userTalk",e)},expression:"formData.userTalk"}})],1),a("el-form-item",{attrs:{prop:"payStatus",label:"支付状态"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.formData.payStatus,callback:function(e){t.$set(t.formData,"payStatus",e)},expression:"formData.payStatus"}})],1),a("el-form-item",{attrs:{prop:"videoArticleStatus",label:"视频贴子状态"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.formData.videoArticleStatus,callback:function(e){t.$set(t.formData,"videoArticleStatus",e)},expression:"formData.videoArticleStatus"}})],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",type:"primary"},on:{click:function(e){return t.onSubmitFrom("form")}}},[t._v("保存")])],1)])],1)}),[],!1,null,null,null);e.default=r.exports},"82bb":function(t,e,a){"use strict";a.d(e,"j",(function(){return o})),a.d(e,"i",(function(){return r})),a.d(e,"d",(function(){return l})),a.d(e,"c",(function(){return n})),a.d(e,"b",(function(){return c})),a.d(e,"a",(function(){return u})),a.d(e,"e",(function(){return f})),a.d(e,"f",(function(){return m})),a.d(e,"g",(function(){return p})),a.d(e,"h",(function(){return g})),a.d(e,"k",(function(){return d})),a.d(e,"l",(function(){return v}));var s=a("f175"),i=a("6b2d");const o=()=>s.a.get("/settings.shop.shop_setting/getShopInfo"),r=t=>s.a.post("/settings.shop.shop_setting/setShopInfo",t),l=()=>s.a.get("/settings.shop.shop_setting/getRecordInfo"),n=t=>s.a.post("/settings.shop.shop_setting/setRecordInfo",t),c=()=>s.a.get("/settings.shop.shop_setting/getPolicyAgreement"),u=t=>s.a.post("/settings.shop.shop_setting/setPolicyAgreement",t),f=t=>i.a.post("/settings.shop.chat_setting/setChatInfo",t),m=t=>i.a.get("/settings.shop.chat_setting/getChatInfo",{params:t}),p=t=>i.a.post("/settings.index.login/setConfig",t),g=t=>i.a.get("/settings.index.login/getConfig",{params:t}),d=t=>i.a.post("/settings.VestSetting/setConfig",t),v=t=>i.a.get("/settings.VestSetting/getConfig",{params:t})}}]);