添加流转接口 设计流转表
This commit is contained in:
28
web/src/view/workflow/workflowUse/workflowUse.vue
Normal file
28
web/src/view/workflow/workflowUse/workflowUse.vue
Normal 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>
|
Reference in New Issue
Block a user