mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 12:01:57 +08:00
Bugfix/procces error (#540)
* Correcting errors in the processes and reports The process was successful but it was throwing undefined Uuid error * delete console.log Co-authored-by: elsiosanchez <elsiosanches@gmial.com>
This commit is contained in:
parent
b5ffa87141
commit
fdc81386fc
@ -74,10 +74,11 @@ const reportControl = {
|
||||
processId,
|
||||
processUuid,
|
||||
instanceUuid,
|
||||
printFormatUuid
|
||||
printFormatUuid,
|
||||
tableName
|
||||
}) {
|
||||
return new Promise(resolve => {
|
||||
requestListReportsViews({ processUuid })
|
||||
requestListReportsViews({ processUuid, tableName })
|
||||
.then(reportViewResponse => {
|
||||
const reportViewList = reportViewResponse.reportViewsList.map(reportViewItem => {
|
||||
return {
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { isEmptyValue } from '../valueUtils.js'
|
||||
import { convertReportOutput } from './report.js'
|
||||
|
||||
export function convertProcessLog(processLogToConvert) {
|
||||
@ -13,6 +14,6 @@ export function convertProcessLog(processLogToConvert) {
|
||||
// return convertEntity(parameter)
|
||||
// }),
|
||||
paramenters: [],
|
||||
output: convertReportOutput(processLogToConvert.output)
|
||||
output: isEmptyValue(processLogToConvert.output) ? {} : convertReportOutput(processLogToConvert.output)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user