mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-08 16:32:43 +08:00
【代码评审】Bpm:数据报表
This commit is contained in:
parent
107b1d3778
commit
e726c1dcba
@ -106,7 +106,7 @@
|
|||||||
>
|
>
|
||||||
<!-- TODO 可以根据formField的type进行展示方式的控制,现在全部以字符串 -->
|
<!-- TODO 可以根据formField的type进行展示方式的控制,现在全部以字符串 -->
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
{{ scope.row.variables.find(variable => variable.key === item.field)?.value }}
|
{{ scope.row.variables.find((variable) => variable.key === item.field)?.value }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@ -157,6 +157,7 @@ const getList = async () => {
|
|||||||
const data = await ProcessInstanceApi.getProcessInstanceReportPage(queryParams)
|
const data = await ProcessInstanceApi.getProcessInstanceReportPage(queryParams)
|
||||||
list.value = data.pageResult.list
|
list.value = data.pageResult.list
|
||||||
total.value = data.pageResult.total
|
total.value = data.pageResult.total
|
||||||
|
// TODO @lesan:不确定,能不能通过 processDefinitionId 获取流程定义哈,从而拿到 formFields;
|
||||||
formFieldsList.value = data.formFields
|
formFieldsList.value = data.formFields
|
||||||
} finally {
|
} finally {
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user