流程台账界面完成

This commit is contained in:
aixianling
2022-08-10 17:41:42 +08:00
parent bf1348fa63
commit 55da7871ee
4 changed files with 104 additions and 13 deletions

View File

@@ -17,7 +17,9 @@
@getList="getTableData" :col-configs="colConfigs" :dict="dict">
<el-table-column slot="options" label="操作" fixed="right" align="center" width="300">
<template slot-scope="{row}">
<el-button type="text" @click="handleAdd(row.id)">编辑</el-button><el-button type="text" @click="handleDelete(row.id)">删除</el-button>
<el-button type="text" @click="handleAdd(row.id)">编辑</el-button>
<el-button type="text" @click="handleLogs(row.id)">台账</el-button>
<el-button type="text" @click="handleDelete(row.id)">删除</el-button>
</template>
</el-table-column>
</ai-table>
@@ -39,7 +41,10 @@ export default {
search: {name: ""},
page: {current: 1, size: 10, total: 0},
tableData: [],
colConfigs: [{"prop":"name","label":"流程名称","isTable":true,"isDetail":true},{"prop":"app","label":"对应应用","isTable":true,"isDetail":true}],
colConfigs: [
{prop: "name", label: "流程名称"},
{prop: "app", label: "对应应用"}
],
}
},
methods: {
@@ -56,6 +61,9 @@ export default {
handleAdd(id) {
this.$router.push({hash: "#add", query: {id}})
},
handleLogs(id) {
this.$router.push({hash: "#logs", query: {id}})
},
handleDelete(ids) {
this.$confirm("是否要删除?").then(() => {
this.instance.post("/app/appworkflowmanage/delete", null, {