zhangyanpeng
2024-03-04 6a72e9e44dc7278e18d55ccd5637b81a1cb2f047
src/views/common/process/config/ApprovalNodeConfig.vue
@@ -118,11 +118,9 @@
      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
    },
@@ -160,13 +158,10 @@
      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 = {}
@@ -185,9 +180,7 @@
            }
        )
      }
      console.log("输出选中select", this.nodeProps)
      this.orgPickerSelected.length = 0
      this.$forceUpdate()
    },
    removeOrgItem(index) {
      this.select.splice(index, 1)