webpackJsonp([35],{"2OpK":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("pafL"),r=t("JFZm"),o={mixins:[t("Z4qH").a],data:function(){return{select:r.a,dialogTitle:"新建创新交易配置",rules:{name:[{required:!0,message:"请输入名称"}],title:[{required:!0,message:"请输入标题"}],sort:[{required:!0,message:"请输入排序"}],status:[{required:!0,message:"请选择状态"}]},ruleForm:{name:"",title:"",sort:"",status:""}}},watch:{dialogType:function(n){this.dialogTitle=1===n?"新建创新交易币种配置":"编辑创新交易币种配置"}},methods:{createCallback:function(){return l.b.addForexCoin(this.ruleForm)},updateCallback:function(){return l.b.editForexCoin(this.ruleForm)}}},s={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("el-dialog",{attrs:{title:n.dialogTitle,visible:n.dialogVisible,width:"50%"},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":"100px"}},[t("el-form-item",{attrs:{label:"名称",prop:"name"}},[t("el-input",{staticClass:"form-input",attrs:{disabled:2==n.dialogType},model:{value:n.ruleForm.name,callback:function(e){n.$set(n.ruleForm,"name",e)},expression:"ruleForm.name"}})],1),n._v(" "),t("el-form-item",{attrs:{label:"标题",prop:"title"}},[t("el-input",{staticClass:"form-input",attrs:{disabled:2==n.dialogType},model:{value:n.ruleForm.title,callback:function(e){n.$set(n.ruleForm,"title",e)},expression:"ruleForm.title"}})],1),n._v(" "),t("el-form-item",{attrs:{label:"排序",prop:"sort"}},[t("el-input-number",{staticClass:"form-input",model:{value:n.ruleForm.sort,callback:function(e){n.$set(n.ruleForm,"sort",e)},expression:"ruleForm.sort"}})],1),n._v(" "),t("el-form-item",{attrs:{label:"状态",prop:"status"}},[t("el-select",{staticClass:"form-input",model:{value:n.ruleForm.status,callback:function(e){n.$set(n.ruleForm,"status",e)},expression:"ruleForm.status"}},n._l(n.select.status,function(n,e){return t("el-option",{key:e,attrs:{label:n,value:e}})}))],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 a=t("rCDr")(o,s,!1,function(n){t("dow7")},"data-v-d285008c",null);e.default=a.exports},SCh0: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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},dow7:function(n,e,t){var l=t("SCh0");"string"==typeof l&&(l=[[n.i,l,""]]),l.locals&&(n.exports=l.locals);t("Xatw")("797c6ca0",l,!0)}});