(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22668a"],{e911:function(a,t,e){"use strict";e.r(t);var o,s=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("v-container",[e("v-form",{directives:[{name:"loading",rawName:"v-loading",value:a.tload,expression:"tload"}],staticStyle:{"max-width":"600px",margin:"auto"}},[e("p",[a._v("提现设置")]),e("v-radio-group",{attrs:{mandatory:!1,row:""},model:{value:a.formData.cash_type,callback:function(t){a.$set(a.formData,"cash_type",t)},expression:"formData.cash_type"}},[e("v-radio",{attrs:{label:"人工审核提现到银行卡",value:1}}),e("v-radio",{attrs:{label:"自动提现到零钱",value:2}}),e("v-radio",{attrs:{label:"人工审核提现到零钱",value:3}})],1),e("p",[a._v("提现次数")]),e("v-radio-group",{attrs:{mandatory:!1,row:""},model:{value:a.formData.cash_time,callback:function(t){a.$set(a.formData,"cash_time",t)},expression:"formData.cash_time"}},[e("v-radio",{attrs:{label:"每天",value:1}}),e("v-radio",{attrs:{label:"每周",value:2}}),e("v-radio",{attrs:{label:"每月",value:3}})],1),e("v-text-field",{attrs:{label:"填写提现次数"},model:{value:a.formData.cash_number,callback:function(t){a.$set(a.formData,"cash_number",t)},expression:"formData.cash_number"}}),e("v-text-field",{attrs:{label:"跑男一次最少提现金额"},model:{value:a.formData.run_min_cash,callback:function(t){a.$set(a.formData,"run_min_cash",t)},expression:"formData.run_min_cash"}}),e("v-text-field",{attrs:{label:"跑男一次最多提现金额"},model:{value:a.formData.run_max_cash,callback:function(t){a.$set(a.formData,"run_max_cash",t)},expression:"formData.run_max_cash"}}),e("v-text-field",{attrs:{label:"用户一次最少提现金额"},model:{value:a.formData.user_min_cash,callback:function(t){a.$set(a.formData,"user_min_cash",t)},expression:"formData.user_min_cash"}}),e("v-text-field",{attrs:{label:"用户一次最多提现金额"},model:{value:a.formData.user_max_cash,callback:function(t){a.$set(a.formData,"user_max_cash",t)},expression:"formData.user_max_cash"}}),e("v-text-field",{attrs:{label:"代理一次最少提现金额"},model:{value:a.formData.agent_min_cash,callback:function(t){a.$set(a.formData,"agent_min_cash",t)},expression:"formData.agent_min_cash"}}),e("v-text-field",{attrs:{label:"代理一次最多提现金额"},model:{value:a.formData.agent_max_cash,callback:function(t){a.$set(a.formData,"agent_max_cash",t)},expression:"formData.agent_max_cash"}}),e("v-btn",{staticClass:"mt-3 dark",attrs:{loading:a.tload},on:{click:function(t){return a.submit()}}},[a._v("保存")])],1)],1)},n=[],r={props:{load:{type:Boolean,default:!1}},data:function(){return{formData:{cash_type:"",cash_time:"",cash_number:"",run_min_cash:"",run_max_cash:"",user_min_cash:"",user_max_cash:"",agent_min_cash:"",agent_max_cash:""},pageLoad:this.load,tload:!1}},watch:{load:function(a){a&&(this.pageLoad=a)},pageLoad:function(a){a&&this.getConfig()}},mounted:function(){o=this},methods:{getConfig:function(){o.tload=!0,this.$post("config/get",{config_key:"cash"},function(a){o.tload=!1,0==a.errno&&a.data.config_content&&(o.formData=JSON.parse(a.data.config_content))})},submit:function(){this.tload=!0,this.$post("config/update",{config_key:"cash",config_content:JSON.stringify(this.formData)},function(a){o.tload=!1,0===a.errno&&o.$message({showClose:!0,message:a.errmsg,type:"success"})})}}},l=r,c=e("6691"),i=Object(c["a"])(l,s,n,!1,null,null,null);t["default"]=i.exports}}]);
//# sourceMappingURL=chunk-2d22668a.e92ea637.js.map