Skip to content

Commit e726c1d

Browse files
committed
【代码评审】Bpm:数据报表
1 parent 107b1d3 commit e726c1d

File tree

1 file changed

+2
-1
lines changed
  • src/views/bpm/processInstance/report

1 file changed

+2
-1
lines changed

src/views/bpm/processInstance/report/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
>
107107
<!-- TODO 可以根据formField的type进行展示方式的控制,现在全部以字符串 -->
108108
<template #default="scope">
109-
{{ scope.row.variables.find(variable => variable.key === item.field)?.value }}
109+
{{ scope.row.variables.find((variable) => variable.key === item.field)?.value }}
110110
</template>
111111
</el-table-column>
112112
</el-table>
@@ -157,6 +157,7 @@ const getList = async () => {
157157
const data = await ProcessInstanceApi.getProcessInstanceReportPage(queryParams)
158158
list.value = data.pageResult.list
159159
total.value = data.pageResult.total
160+
// TODO @lesan:不确定,能不能通过 processDefinitionId 获取流程定义哈,从而拿到 formFields;
160161
formFieldsList.value = data.formFields
161162
} finally {
162163
loading.value = false

0 commit comments

Comments
 (0)