| | |
| | | typeof: String, |
| | | default: '流程审批' |
| | | }, |
| | | // 参数:选择的id,多个以数组方式传递:['id','id'],模板id,模板用途,流程名字,流程模板 |
| | | // 参数:选择的id,多个以数组方式传递:['id','id'],模板id,模板用途,流程名字,流程模板, |
| | | // flowTemplate: |
| | | // vars:object格式,名字为vars,里面key键值,自己随意 |
| | | parameter: { |
| | | typeof: Object, |
| | | default: () => { } |
| | |
| | | processName: this.parameter[this.parameterKeys.flowTemplate], |
| | | topName: this.title, |
| | | ids: this.parameter[this.parameterKeys.ids], |
| | | vars:this.parameter['vars'] |
| | | } |
| | | }, |
| | | userIndex(arr1) { |
| | |
| | | message: "请选择节点!" |
| | | }); |
| | | } else { |
| | | console.log('baoc') |
| | | const response = await personnelSave({ ...this.saveParam, flowTaskUsers: this.collectParam.flowTaskUsers }) |
| | | const {modelKey,modelName,processDesc,processName,templateId,topName,vars} = this.saveParam |
| | | const vals= {modelKey,modelName,processDesc,processName,templateId,topName,...vars} |
| | | const response = await personnelSave({ variables:vals, flowTaskUsers: this.collectParam.flowTaskUsers, }) |
| | | if (response.status === 200) { |
| | | console.log(response) |
| | | this.$message({ |