工作流台账对接完成
This commit is contained in:
@@ -9,12 +9,11 @@
|
|||||||
@change="page.current=1,getTableData()"/>
|
@change="page.current=1,getTableData()"/>
|
||||||
</template>
|
</template>
|
||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
|
|
||||||
<ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size"
|
<ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size"
|
||||||
@getList="getTableData" :col-configs="colConfigs" :dict="dict">
|
@getList="getTableData" :col-configs="colConfigs" :dict="dict">
|
||||||
<el-table-column slot="options" label="操作" fixed="right" align="center" width="300">
|
<el-table-column slot="options" label="操作" fixed="right" align="center" width="300">
|
||||||
<template slot-scope="{row}">
|
<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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</ai-table>
|
</ai-table>
|
||||||
@@ -46,8 +45,9 @@ export default {
|
|||||||
page: {current: 1, size: 10, total: 0},
|
page: {current: 1, size: 10, total: 0},
|
||||||
tableData: [],
|
tableData: [],
|
||||||
colConfigs: [
|
colConfigs: [
|
||||||
{prop: "name", label: "流程名称"},
|
{prop: "pid", label: "流程ID"},
|
||||||
{prop: "app", label: "对应应用"}
|
{prop: "bid", label: "业务ID"},
|
||||||
|
{prop: "createUserName", label: "创建者"},
|
||||||
],
|
],
|
||||||
dialog: false,
|
dialog: false,
|
||||||
process: null
|
process: null
|
||||||
@@ -55,7 +55,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getTableData() {
|
getTableData() {
|
||||||
this.instance.post("/app/appworkflowmanage/list", null, {
|
this.instance.post("/app/appworkflowlog/list", null, {
|
||||||
params: {...this.page, ...this.search}
|
params: {...this.page, ...this.search}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
@@ -80,5 +80,6 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.workflowLogs {
|
.workflowLogs {
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user