(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d095b"],{6935:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"divBox"},[n("el-card",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"box-card"},[e.isShow&&e.checkPermi(["platform:integral:get:config","platform:integral:update:config"])?n("z-b-parser",{attrs:{"form-name":e.formName,"is-create":e.isCreate,"edit-data":e.editData},on:{submit:e.handlerSubmit}}):e._e()],1)],1)},a=[],o=n("2b9b"),r=n("61f7"),c=n("e350"),d={name:"integralconfig",data:function(){return{isShow:!1,isCreate:0,editData:{},formName:"积分配置",loading:!1}},mounted:function(){Object(c["a"])(["platform:integral:get:config"])&&this.getFormInfo()},methods:{checkPermi:c["a"],handlerSubmit:Object(r["a"])((function(e){var t=this;Object(o["g"])(e).then((function(e){t.getFormInfo(),t.$message.success("操作成功")}))})),getFormInfo:function(){var e=this;this.loading=!0,Object(o["f"])().then((function(t){e.isShow=!1,e.editData={freezeIntegralDay:t.freezeIntegralDay,integralDeductionMoney:t.integralDeductionMoney,integralDeductionRatio:t.integralDeductionRatio,integralDeductionStartMoney:t.integralDeductionStartMoney,integralDeductionSwitch:t.integralDeductionSwitch,orderGiveIntegral:t.orderGiveIntegral},e.isCreate=1,setTimeout((function(){e.isShow=!0}),20),e.loading=!1}))}}},l=d,s=n("2877"),g=Object(s["a"])(l,i,a,!1,null,"5df75b71",null);t["default"]=g.exports}}]);