| | |
| | | userflag:true, |
| | | usernumber:0, |
| | | userStatus:false, |
| | | isUpdateShowInput:false, |
| | | }; |
| | | }, |
| | | watch: { |
| | |
| | | message: "请输入登录账号", |
| | | trigger: "blur" |
| | | }], |
| | | disabled: this.isUpdateShowInput, |
| | | }, |
| | | { |
| | | label: "用户平台", |
| | |
| | | multiple: true, |
| | | type: "tree", |
| | | dicData: [], |
| | | disabled:this.userStatus, |
| | | disabled: this.isUpdateShowInput, |
| | | props: { |
| | | label: "title" |
| | | }, |
| | |
| | | beforeOpen(done, type) { |
| | | // console.log(type) |
| | | if(type === "edit"){ |
| | | this.userStatus = true; |
| | | this.isUpdateShowInput = true; |
| | | }else { |
| | | this.userStatus = false; |
| | | this.isUpdateShowInput = false; |
| | | } |
| | | //console.log(type) |
| | | // console.log('this.tenantId',this.tenantId) |