添加流转接口 设计流转表

This commit is contained in:
pixel
2020-11-12 18:21:03 +08:00
parent 86afc0ddf4
commit 4863b2c5be
10 changed files with 85 additions and 18 deletions

View File

@@ -0,0 +1,28 @@
<template>
<div class="workflow-use">
</div>
</template>
<script>
import {findWorkflowStep} from "@/api/workflowProcess.js"
export default {
name:"WorklowUse",
data(){
return{
}
},
async created(){
const workflowId = this.$route.query.workflowId
const actionId = this.$route.query.actionId
const businessId = this.$route.query.businessId
if(workflowId){
const res = await findWorkflowStep({id:workflowId})
if(res.code == 0){
this.workflow = res.data.workflow
this.node = res.data.workflow.node[0]
}
}
}
}
</script>