(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0a4f5b"],{"0951":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("el-alert",{staticClass:"mb20",attrs:{type:"warning",closable:!1,"show-icon":""}},[e._t("title",[n("div",{staticClass:"acea-row"},[n("div",[e._v("关闭会员后,需要在页面设计中隐藏「我的等级」;")]),e._v(" "),n("el-link",{attrs:{type:"primary"},on:{click:function(t){return e.handlerToLink("/page/design/viewDesign")}}},[e._v("立即前往")])],1)])],2),e._v(" "),n("el-alert",{staticClass:"mb35",attrs:{type:"warning",closable:!1,"show-icon":""}},[e._t("title",[n("div",{staticClass:"acea-row"},[n("div",[e._v("签到可获得经验值,在「签到配置」页面操作;")]),e._v(" "),n("el-link",{attrs:{type:"primary"},on:{click:function(t){return e.handlerToLink("/marketing/sign/config")}}},[e._v("立即前往")])],1)])],2),e._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"form-data"},[!e.loading&&e.checkPermi(["platform:finance:merchant:closing:config"])?n("z-b-parser",{attrs:{"is-create":1,"form-conf":e.formConf,"edit-data":e.editData,"form-name":e.formName,"key-num":e.keyNum},on:{submit:e.handlerSubmit}}):e._e()],1)],1)],1)},i=[],o=n("c24f"),s=n("e350"),r={name:"levelConfig",data:function(){return{formConf:{fields:[]},loading:!1,keyNum:0,editData:{},formName:"userlevelConfig"}},created:function(){this.getConfigInfo()},methods:{checkPermi:s["a"],handlerToLink:function(e){var t=this.$router.resolve({path:e}),n=t.href;window.open(n)},handlerSubmit:function(e){var t=this;Object(s["a"])(["platform:system:user:level:config:update"])?Object(o["q"])(e).then((function(e){t.$message.success("操作成功"),t.getConfigInfo()})).catch((function(){t.loading=!1})):this.$message.warning("暂无操作权限")},getConfigInfo:function(){var e=this;this.keyNum+=1,this.loading=!0,Object(o["o"])().then((function(t){e.editData=t,e.loading=!1})).catch((function(){e.loading=!1}))}}},c=r,l=n("2877"),f=Object(l["a"])(c,a,i,!1,null,"1602fcff",null);t["default"]=f.exports}}]);