| | |
| | | <template> |
| | | <template> |
| | | <el-dialog |
| | | :title="!row ? '新增' : '修改'" |
| | | :close-on-click-modal="false" |
| | |
| | | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="登录人资金密码" prop="loginSafeword"> |
| | | <el-input v-model="dataForm.loginSafeword" type="password" placeholder="请输入登录人资金密码"></el-input> |
| | | </el-form-item></el-col> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | ], |
| | | eth: [ |
| | | { required: true, message: "奖励ETH数量不能为空", trigger: "blur" }, |
| | | ], |
| | | loginSafeword: [ |
| | | { required: true, message: '登录人资金密码不能为空', trigger: 'blur' }, |
| | | ], |
| | | }, |
| | | tempKey: -666666, // 临时key, 用于解决tree半选中状态项不能传给后台接口问题. # 待优化 |
| | |
| | | title :this.dataForm.title, |
| | | titleImg :this.dataForm.titleImg, |
| | | usdt :this.dataForm.usdt, |
| | | userCode :this.dataForm.userCode, |
| | | loginSafeword:encrypt(this.dataForm.loginSafeword) |
| | | } |
| | | userCode :this.dataForm.userCode} |
| | | }else{ |
| | | url = `/pledgeConfig/update`; |
| | | data = { |
| | |
| | | titleImg :this.dataForm.titleImg, |
| | | usdt :this.dataForm.usdt, |
| | | userCode :this.dataForm.userCode, |
| | | id:this.dataForm.id, |
| | | loginSafeword:encrypt(this.dataForm.loginSafeword) |
| | | } |
| | | id:this.dataForm.id} |
| | | } |
| | | this.$refs["dataForm"].validate((valid) => { |
| | | if (valid) { |