| | |
| | | }, |
| | | watch:{ |
| | | referConfigOption (){ |
| | | console.log(111) |
| | | if(func.notEmpty(this.referConfigOption.referConfig) || func.notEmpty(this.referConfigOption.referBtmId)){ |
| | | this.openReconfigInterFace(this.referConfigOption); |
| | | }else{ |
| | | this.openTipsChooseOrCust(); |
| | | } |
| | | |
| | | }, |
| | | }, |
| | | methods: { |
| | | echoReferConfig(value) { |
| | | this.emitData = value; |
| | | }, |
| | | // 当前已存在编辑过的参照配置,所以直接打开参照配置界面 |
| | | openReconfigInterFace(preReferConfigForm){ |
| | | const form = preReferConfigForm; |
| | |
| | | echoReferConfig(content){ |
| | | this.$emit('setReferConfigValue', content) // 触发update:data将子组件值传递给父组件 |
| | | }, |
| | | |
| | | }, |
| | | } |
| | | </script> |