| | |
| | | tags: [], |
| | | typeName: [], |
| | | collectParam: {}, |
| | | saveParam: this.saveParam(), |
| | | saveParam: this.setSaveParam(), |
| | | users: [], |
| | | rules: { |
| | | processName: [ |
| | |
| | | // this.apiDict() |
| | | }, |
| | | methods: { |
| | | saveParam() { |
| | | setSaveParam() { |
| | | return { |
| | | processName: this.parameter[this.parameterKeys.flowTemplate], |
| | | topName: this.title, |
| | |
| | | message: "请选择节点!" |
| | | }); |
| | | } else { |
| | | const {modelKey,modelName,processDesc,processName,templateId,topName,vars} = this.saveParam |
| | | const vals= {modelKey,modelName,processDesc,processName,templateId,topName,...vars} |
| | | const {modelKey,modelName,processDesc,processName,templateId,topName,vars,ids} = this.saveParam |
| | | const vals= {modelKey,modelName,processDesc,processName,templateId,topName,ids,...vars} |
| | | const response = await personnelSave({ variables:vals, flowTaskUsers: this.collectParam.flowTaskUsers, }) |
| | | if (response.status === 200) { |
| | | console.log(response) |