| | |
| | | <template> |
| | | <template> |
| | | <el-dialog |
| | | title="删除配置" |
| | | :close-on-click-modal="false" |
| | |
| | | ref="dataForm" |
| | | @keyup.enter.native="dataFormSubmit()" |
| | | label-width="150px" |
| | | > |
| | | <el-form-item label="登录人资金密码" prop="loginSafeword"> |
| | | <el-input v-model="dataForm.loginSafeword" type="password" placeholder="请输入登录人资金密码"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | > |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="visible = false">取消</el-button> |
| | | <el-button type="primary" @click="dataFormSubmit()">确定</el-button> |
| | |
| | | }, |
| | | ], |
| | | dataRule: { |
| | | loginSafeword: [ |
| | | { required: true, message: '登录人资金密码不能为空', trigger: 'blur' }, |
| | | ], |
| | | }, |
| | | }, |
| | | tempKey: -666666, // 临时key, 用于解决tree半选中状态项不能传给后台接口问题. # 待优化 |
| | | }; |
| | | }, |
| | |
| | | url: this.$http.adornUrl( `/pledgeConfig/delete`), |
| | | method: "post", |
| | | data: this.$http.adornData({ |
| | | loginSafeword:encrypt(this.dataForm.loginSafeword), |
| | | id:this.dataForm.id |
| | | }), |
| | | }).then(({ data }) => { |