webpackJsonp([69],{BkLu:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=t("pafL"),l={mixins:[t("Z4qH").a],data:function(){return{dialogTitle:"新建配置",rules:{code:[{required:!0,message:"请输入币种类型",trigger:"blur"}],description:[{required:!0,message:"请输入描述",trigger:"blur"}],status:[{required:!0,message:"请输入状态",trigger:"blur"}]},ruleForm:{code:"",description:"",status:""}}},watch:{dialogType:function(n){this.dialogTitle=1===n?"新建配置":"编辑配置"}},methods:{createCallback:function(){return r.a.createCoinType(this.ruleForm)},updateCallback:function(){return r.a.updateCoinType(this.ruleForm)}}},o={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("el-dialog",{attrs:{title:n.dialogTitle,visible:n.dialogVisible},on:{"update:visible":function(e){n.dialogVisible=e},close:n.closeDialog}},[t("el-form",{ref:"ruleForm",attrs:{model:n.ruleForm,rules:n.rules,"label-width":"150px"}},[t("el-form-item",{attrs:{label:"币种类型",prop:"code"}},[t("el-input",{staticClass:"form-input",model:{value:n.ruleForm.code,callback:function(e){n.$set(n.ruleForm,"code",e)},expression:"ruleForm.code"}})],1),n._v(" "),t("el-form-item",{attrs:{label:"描述",prop:"description"}},[t("el-input",{staticClass:"form-input",model:{value:n.ruleForm.description,callback:function(e){n.$set(n.ruleForm,"description",e)},expression:"ruleForm.description"}})],1),n._v(" "),t("el-form-item",{attrs:{label:"状态",prop:"status"}},[t("el-select",{attrs:{placeholder:"状态"},model:{value:n.ruleForm.status,callback:function(e){n.$set(n.ruleForm,"status",e)},expression:"ruleForm.status"}},[t("el-option",{attrs:{label:"禁用",value:0}}),n._v(" "),t("el-option",{attrs:{label:"启用",value:1}})],1)],1)],1),n._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(e){n.dialogVisible=!1}}},[n._v("取 消")]),n._v(" "),t("el-button",{attrs:{type:"primary"},on:{click:function(e){n.submitForm("ruleForm")}}},[n._v("确 定")])],1)],1)},staticRenderFns:[]};var i=t("rCDr")(l,o,!1,function(n){t("aXmj")},"data-v-1e3d44f0",null);e.default=i.exports},aXmj:function(n,e,t){var r=t("g5xh");"string"==typeof r&&(r=[[n.i,r,""]]),r.locals&&(n.exports=r.locals);t("Xatw")("38a3cce2",r,!0)},g5xh:function(n,e,t){(n.exports=t("uszS")(!1)).push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])}});