工作流起始接口以及动态获取view功能

This commit is contained in:
pixel
2020-11-10 17:39:29 +08:00
parent b12bbc74ff
commit f4709f00ab
27 changed files with 874 additions and 368 deletions

View File

@@ -56,6 +56,7 @@
<el-table-column label="按钮组">
<template slot-scope="scope">
<el-button class="table-button" @click="useWorkflowProcess(scope.row)" size="success" >使用</el-button>
<el-button class="table-button" @click="updateWorkflowProcess(scope.row)" size="small" type="primary">变更</el-button>
<el-button class="table-button" @click="viewWorkflowProcess(scope.row)" size="small" type="warning">查看</el-button>
<el-popover placement="top" width="160" v-model="scope.row.visible">
@@ -159,6 +160,14 @@ export default {
}
});
},
async useWorkflowProcess(row){
this.$router.push({
name: "workflowUse",
query: {
id: row.id
}
});
},
async viewWorkflowProcess(row) {
this.$router.push({
name: "workflowCreate",