| | |
| | | return this.$store.state.selectedNode |
| | | }, |
| | | nodeProps() { |
| | | console.log("this.$store.state.selectedNode.props",this.$store.state.selectedNode.props) |
| | | return this.$store.state.selectedNode.props |
| | | }, |
| | | select() { |
| | | console.log("this.config--select", this.config) |
| | | return this.config.assignedUser |
| | | }, |
| | | |
| | |
| | | this.selectedNode.props.groups.splice(index, 1) |
| | | }, |
| | | addConditionGroup() { |
| | | console.log("this.config", this.config) |
| | | this.config.groups.push({ |
| | | }) |
| | | }, |
| | | selected(select, type) { |
| | | debugger |
| | | console.log("this.config.props",this.config) |
| | | this.nodeProps.assignedUser = [] |
| | | if (type === 'group') { |
| | | this.nodeProps.staffGroup = {} |
| | |
| | | } |
| | | ) |
| | | } |
| | | console.log("输出选中select", this.nodeProps) |
| | | this.orgPickerSelected.length = 0 |
| | | this.$forceUpdate() |
| | | |
| | | }, |
| | | removeOrgItem(index) { |
| | | this.select.splice(index, 1) |