zhiyong.zhou
2024-03-04 88063d681ca4d692c31a162ef5bf8b9bd41e5d11
src/views/common/process/nodes/ApprovalNode.vue
@@ -34,16 +34,13 @@
    },
    content(){
      const config = this.config.props
      console.log("content:config.assignedUser",config)
      let texts = []
      config.assignedUser.forEach(org => texts.push(org.name))
      return String(texts).replaceAll(',', '、')||"aaa"
      return String(texts).replaceAll(',', '、')
    },
  },
  created() {
    console.log("加载ApprovalNode.vue")
    this.content
  },
  methods: {
    getFormItemById(id){
@@ -95,11 +92,11 @@
      return true;
    },
    validate_FORM_USER(err){
     if (this.config.props.formUser === ''){
       this.errorInfo = '请指定表单中的人员组件'
       err.push(`${this.config.name} 审批人为表单中人员,但未指定`)
       return false
     }
      if (this.config.props.formUser === ''){
        this.errorInfo = '请指定表单中的人员组件'
        err.push(`${this.config.name} 审批人为表单中人员,但未指定`)
        return false
      }
      return true;
    },
    validate_REFUSE(err){