工作流起始接口以及动态获取view功能
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user