| | |
| | | codeRuleOidName: "", |
| | | //存储的业务类型 |
| | | btmTypeName: "", |
| | | codeKeyAttrValue:false, |
| | | isParticipateCheck:0 |
| | | codeKeyAttrValue:true, |
| | | isParticipateCheck:1 |
| | | }, |
| | | rules: { |
| | | id: [ |
| | |
| | | // switch |
| | | switchChange(){ |
| | | this.TreeAddform.isParticipateCheck = this.TreeAddform.codeKeyAttrValue ? 1 : 0; |
| | | console.log(this.TreeAddform.isParticipateCheck) |
| | | // console.log(this.TreeAddform.isParticipateCheck) |
| | | }, |
| | | //存储的业务类型关闭 |
| | | BtmEscHandler() { |
| | |
| | | TreeEscHandler() { |
| | | this.TreeAddform = {}; |
| | | this.TreeAddFormVisible = false; |
| | | this.TreeAddform.codeKeyAttrValue = true; |
| | | this.TreeAddform.isParticipateCheck = 1; |
| | | // 关闭弹窗清空校验 |
| | | this.$refs.myForm.clearValidate(); |
| | | }, |
| | |
| | | }); |
| | | Object.keys(this.TreeAddform).forEach(key => { |
| | | this.TreeAddform[key] = ""; |
| | | this.TreeAddform.codeKeyAttrValue = false; |
| | | this.TreeAddform.isParticipateCheck = 0; |
| | | this.TreeAddform.codeKeyAttrValue = true; |
| | | this.TreeAddform.isParticipateCheck = 1; |
| | | }); |
| | | this.getAttr(); |
| | | this.TreeAddFormVisible = false; |
| | |
| | | } |
| | | this.TreeList = res3.data.data; |
| | | if(!this.TreeList.isParticipateCheck){ |
| | | this.$set(this.TreeList,"isParticipateCheck",0) |
| | | this.$set(this.TreeList,"isParticipateCheck",1) |
| | | return |
| | | } |
| | | } catch (error) { |