Commit e726c1dc by YunaiV

【代码评审】Bpm:数据报表

parent 107b1d37
...@@ -106,7 +106,7 @@ ...@@ -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 () => { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment