| | |
| | | placeholder="请输入用户重置资金密码" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | <!-- <el-form-item |
| | | v-if=" |
| | | isShow == 1 || |
| | | isShow == 8 || |
| | |
| | | v-model="dataForm.safePassword" |
| | | placeholder="请输入登录人资金密码" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | </el-form-item> --> |
| | | <!-- <el-form-item |
| | | v-if="isShow == 8 || isShow == 7 || isShow == 9 || isShow == 10" |
| | | label="登录人谷歌验证器" |
| | | prop="googleAuthCode" |
| | |
| | | v-model="dataForm.googleAuthCode" |
| | | placeholder="请输入登录人谷歌验证码" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-form-item> --> |
| | | <el-form-item |
| | | v-if="isShow == 6" |
| | | label="限制流水" |
| | |
| | | userId: "", |
| | | dataForm: { |
| | | moneyRevise: "", //账变金额 |
| | | safePassword: "", //登录人资金密码 |
| | | googleAuthCode: "", //登录人谷歌验证器 |
| | | // safePassword: "", //登录人资金密码 |
| | | // googleAuthCode: "", //登录人谷歌验证器 |
| | | newSafeword: "", //新资金密码 |
| | | withdrawLimitAmount: "", //限制提现流水 |
| | | password: "", |
| | |
| | | optionsTwo: [ |
| | | { |
| | | value: "usdt", |
| | | label: "usdt", |
| | | label: "USD", |
| | | }, |
| | | { |
| | | value: "btc", |
| | | label: "btc", |
| | | value: "eur", |
| | | label: "EUR", |
| | | }, |
| | | { |
| | | value: "eth", |
| | | label: "eth", |
| | | value: "gbp", |
| | | label: "GBP", |
| | | }, |
| | | { |
| | | value: "usdc", |
| | | label: "usdc", |
| | | }, |
| | | // { |
| | | // value: "btc", |
| | | // label: "btc", |
| | | // }, |
| | | // { |
| | | // value: "eth", |
| | | // label: "eth", |
| | | // }, |
| | | // { |
| | | // value: "usdc", |
| | | // label: "usdc", |
| | | // }, |
| | | ], |
| | | dataRule: { |
| | | password: [ |
| | |
| | | { required: true, message: "账变金额不能为空", trigger: "blur" }, |
| | | { validator: vaBignumber, trigger: "blur" }, |
| | | ], |
| | | safePassword: [ |
| | | { |
| | | required: true, |
| | | message: "登录人资金密码不能为空", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | googleAuthCode: [ |
| | | { |
| | | required: true, |
| | | message: "登录人谷歌验证码不能为空", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | // safePassword: [ |
| | | // { |
| | | // required: true, |
| | | // message: "登录人资金密码不能为空", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | // googleAuthCode: [ |
| | | // { |
| | | // required: true, |
| | | // message: "登录人谷歌验证码不能为空", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | newPassword: [ |
| | | { required: true, message: "新密码不能为空", trigger: "blur" }, |
| | | ], |
| | |
| | | // this.row = ""; |
| | | this.dataForm = { |
| | | moneyRevise: "", //账变金额 |
| | | safePassword: "", //登录人资金密码 |
| | | googleAuthCode: "", //登录人谷歌验证器 |
| | | // safePassword: "", //登录人资金密码 |
| | | // googleAuthCode: "", //登录人谷歌验证器 |
| | | newSafeword: "", //新资金密码 |
| | | withdrawLimitAmount: "", //限制提现流水 |
| | | password: "", |
| | |
| | | }, |
| | | // 表单提交 |
| | | dataFormSubmit: Debounce(function () { |
| | | console.log(this.dataForm.safePassword); |
| | | // console.log(this.dataForm.safePassword); |
| | | this.$refs["dataForm"].validate((valid) => { |
| | | if (valid) { |
| | | if (this.isShow == 1) { |
| | |
| | | moneyRevise: this.dataForm.moneyRevise, |
| | | coinType: this.optionsTwo.value, |
| | | accountType: this.options.value, |
| | | safePassword: encrypt(this.dataForm.safePassword), |
| | | // safePassword: encrypt(this.dataForm.safePassword), |
| | | userId: this.userId, |
| | | }), |
| | | }).then(({ data }) => { |
| | |
| | | url: this.$http.adornUrl("/user/restLoginPasswrod"), |
| | | method: "post", |
| | | data: this.$http.adornData({ |
| | | googleAuthCode: this.dataForm.googleAuthCode, |
| | | loginSafeword: encrypt(this.dataForm.safePassword), |
| | | // googleAuthCode: this.dataForm.googleAuthCode, |
| | | // loginSafeword: encrypt(this.dataForm.safePassword), |
| | | password: encrypt(this.dataForm.password), |
| | | userId: this.userId, |
| | | }), |
| | |
| | | url: this.$http.adornUrl("/user/restSafePassword"), |
| | | method: "post", |
| | | data: this.$http.adornData({ |
| | | googleAuthCode: this.dataForm.googleAuthCode, |
| | | loginSafeword: encrypt(this.dataForm.safePassword), |
| | | // googleAuthCode: this.dataForm.googleAuthCode, |
| | | // loginSafeword: encrypt(this.dataForm.safePassword), |
| | | newSafeword: encrypt(this.dataForm.newSafeword), |
| | | userId: this.userId, |
| | | }), |
| | |
| | | url: this.$http.adornUrl("/user/resetUserLoginState"), |
| | | method: "post", |
| | | data: this.$http.adornData({ |
| | | loginSafeword: encrypt(this.dataForm.safePassword), |
| | | googleAuthCode: this.dataForm.googleAuthCode, |
| | | // loginSafeword: encrypt(this.dataForm.safePassword), |
| | | // googleAuthCode: this.dataForm.googleAuthCode, |
| | | userId: this.userId, |
| | | }), |
| | | }).then(({ data }) => { |
| | |
| | | url: this.$http.adornUrl("/user/resetExchange"), |
| | | method: "post", |
| | | data: this.$http.adornData({ |
| | | loginSafeword: encrypt(this.dataForm.safePassword), |
| | | // loginSafeword: encrypt(this.dataForm.safePassword), |
| | | id: this.userId, |
| | | changeType: "change", |
| | | moneyRevise: this.dataForm.moneyRevise, |