Files
coin-manager-new/admin/static/js/58.5a470eecc347471e44d0.js
2026-01-03 13:23:46 +08:00

1 line
3.0 KiB
JavaScript

webpackJsonp([58],{Ae1f:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=t("JFZm"),s=t("pafL"),l={mixins:[t("Z4qH").a],data:function(){return{select:r.a,dialogTitle:"新建钱包归集地址",rules:{coinType:[{required:!0,message:"请选择币种类型"}],address:[{required:!0,message:"请输入钱包地址"}],keystore:[],pwd:[],status:[{required:!0,message:"请选择状态"}]},ruleForm:{coinId:"",coinType:"",address:"",keystore:"",pwd:"",status:""}}},watch:{dialogType:function(n){this.dialogTitle=1===n?"新建钱包归集地址":"编辑钱包归集地址"}},methods:{createCallback:function(){return s.a.addAdminAddress(this.ruleForm)},updateCallback:function(){return s.a.editAdminAddress(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,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:"address"}},[t("el-input",{staticClass:"form-input",model:{value:n.ruleForm.address,callback:function(e){n.$set(n.ruleForm,"address",e)},expression:"ruleForm.address"}})],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.adminAddressStatus,function(n,e){return t("el-option",{key:e,attrs:{label:n,value:e}})}))],1),n._v(" "),t("el-form-item",{attrs:{label:"密钥",prop:"keystore"}},[t("el-input",{staticClass:"form-input",attrs:{placeholder:"私钥或者keystore(eth系列币必须填写keystore,暂不支持私钥)"},model:{value:n.ruleForm.keystore,callback:function(e){n.$set(n.ruleForm,"keystore",e)},expression:"ruleForm.keystore"}})],1),n._v(" "),t("el-form-item",{attrs:{label:"密码",prop:"pwd"}},[t("el-input",{staticClass:"form-input",attrs:{placeholder:"只有eth,etc系列需要填写密码"},model:{value:n.ruleForm.pwd,callback:function(e){n.$set(n.ruleForm,"pwd",e)},expression:"ruleForm.pwd"}})],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("Iim3")(l,o,!1,function(n){t("JP8G")},"data-v-4fc80bbd",null);e.default=a.exports},JP8G:function(n,e,t){var r=t("Ld/p");"string"==typeof r&&(r=[[n.i,r,""]]),r.locals&&(n.exports=r.locals);t("Xatw")("767f416b",r,!0)},"Ld/p":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\n\n\n\n\n\n\n\n\n",""])}});