工作流台账对接完成

This commit is contained in:
aixianling
2022-08-11 14:24:49 +08:00
parent 509379e704
commit d5c1bfe913

View File

@@ -9,12 +9,11 @@
@change="page.current=1,getTableData()"/>
</template>
</ai-search-bar>
<ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size"
@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="showProcess(row.config)">查看进度</el-button>
<el-button type="text" @click="showProcess(row.workflowConfig)">查看进度</el-button>
</template>
</el-table-column>
</ai-table>
@@ -46,8 +45,9 @@ export default {
page: {current: 1, size: 10, total: 0},
tableData: [],
colConfigs: [
{prop: "name", label: "流程名称"},
{prop: "app", label: "对应应用"}
{prop: "pid", label: "流程ID"},
{prop: "bid", label: "业务ID"},
{prop: "createUserName", label: "创建者"},
],
dialog: false,
process: null
@@ -55,7 +55,7 @@ export default {
},
methods: {
getTableData() {
this.instance.post("/app/appworkflowmanage/list", null, {
this.instance.post("/app/appworkflowlog/list", null, {
params: {...this.page, ...this.search}
}).then(res => {
if (res?.data) {
@@ -80,5 +80,6 @@ export default {
<style lang="scss" scoped>
.workflowLogs {
height: 100%;
}
</style>