| | |
| | | v-model="dataForm.cycle_close" |
| | | placeholder="可解锁周期" |
| | | ><template v-slot:append> |
| | | <span>天</span> |
| | | <span>分钟</span> |
| | | </template></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="登录人资金密码" prop="login_safeword"> |
| | | <el-input v-model="dataForm.login_safeword" type="password" placeholder="请输入登录人资金密码"></el-input> |
| | | </el-form-item> |
| | | |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="visible = false">取消</el-button> |
| | |
| | | </el-dialog> |
| | | </template> |
| | | <script> |
| | | import { encrypt } from "@/utils/crypto"; |
| | | import { Debounce } from "@/utils/debounce"; |
| | | export default { |
| | | data() { |
| | |
| | | dataRule: { |
| | | roleName: [ |
| | | { required: true, message: "角色名称不能为空", trigger: "blur" }, |
| | | ], |
| | | login_safeword: [ |
| | | { required: true, message: '登录人资金密码不能为空', trigger: 'blur' }, |
| | | ], |
| | | }, |
| | | tempKey: -666666, // 临时key, 用于解决tree半选中状态项不能传给后台接口问题. # 待优化 |
| | |
| | | url: this.$http.adornUrl(`/normal/adminMinerAction!update.action`), |
| | | method: "get", |
| | | params: this.$http.adornParams({ |
| | | ...this.dataForm, |
| | | login_safeword:encrypt(this.dataForm.login_safeword) |
| | | ...this.dataForm |
| | | }), |
| | | }).then(({ data }) => { |
| | | console.log("data => " + JSON.stringify(data)); |