| | |
| | | placeholder="请输入登录人谷歌验证码" |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item |
| | | v-if="isShow == 6" |
| | | label="限制流水" |
| | |
| | | placeholder="0.0" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <div v-if="isShow == 6" style="margin: 10px; color: #278927"> |
| | | |
| | | <el-form-item label-width="120px" |
| | | v-if="isShow == 13" |
| | | label="交割合约赢率" |
| | | prop="futuresMostPrfitLevel" |
| | | > |
| | | <el-input |
| | | type="number" |
| | | v-model="dataForm.futuresMostPrfitLevel" |
| | | placeholder="0.0" |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | <div v-if="isShow == 6 || isShow == 13" style="margin: 10px; color: #278927"> |
| | | 增加请输入正数,减少请输入负数 |
| | | </div> |
| | | <!-- <el-form-item label="原密码" prop="password"> |
| | |
| | | googleAuthCode: "", //登录人谷歌验证器 |
| | | newSafeword: "", //新资金密码 |
| | | withdrawLimitAmount: "", //限制提现流水 |
| | | futuresMostPrfitLevel: "", //交割合约赢率 |
| | | password: "", |
| | | newPassword: "", |
| | | confirmPassword: "", |
| | |
| | | this.title = m; |
| | | this.isShow = val; |
| | | this.dataForm.withdrawLimitAmount = this.row.withdrawLimitAmount; |
| | | this.dataForm.futuresMostPrfitLevel = this.row.futuresMostPrfitLevel; |
| | | this.visible = true; |
| | | this.options.value = this.options[0].value; |
| | | this.optionsTwo.value = this.optionsTwo[0].value; |
| | |
| | | googleAuthCode: "", //登录人谷歌验证器 |
| | | newSafeword: "", //新资金密码 |
| | | withdrawLimitAmount: "", //限制提现流水 |
| | | futuresMostPrfitLevel: "", //交割合约赢率 |
| | | password: "", |
| | | newPassword: "", |
| | | confirmPassword: "", |
| | |
| | | }); |
| | | } |
| | | }); |
| | | }else if (this.isShow == 13) { |
| | | //设置交割合约赢率 |
| | | this.$http({ |
| | | url: this.$http.adornUrl("/user/updateFuturesMostPrfitLevel"), |
| | | method: "post", |
| | | data: this.$http.adornData({ |
| | | futuresMostPrfitLevel: this.dataForm.futuresMostPrfitLevel, |
| | | userId: this.userId, |
| | | }), |
| | | }).then(({ data }) => { |
| | | if (data.code == 0) { |
| | | this.$message({ |
| | | message: "修改成功", |
| | | type: "success", |
| | | duration: 1000, |
| | | onClose: () => { |
| | | this.visible = false; |
| | | this.$nextTick(() => { |
| | | this.$emit("refreshDataList"); |
| | | }); |
| | | }, |
| | | }); |
| | | } else { |
| | | this.$message({ |
| | | message: data.msg, |
| | | type: "error", |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }); |