mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-13 23:20:12 +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,
|
processId,
|
||||||
processUuid,
|
processUuid,
|
||||||
instanceUuid,
|
instanceUuid,
|
||||||
printFormatUuid
|
printFormatUuid,
|
||||||
|
tableName
|
||||||
}) {
|
}) {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
requestListReportsViews({ processUuid })
|
requestListReportsViews({ processUuid, tableName })
|
||||||
.then(reportViewResponse => {
|
.then(reportViewResponse => {
|
||||||
const reportViewList = reportViewResponse.reportViewsList.map(reportViewItem => {
|
const reportViewList = reportViewResponse.reportViewsList.map(reportViewItem => {
|
||||||
return {
|
return {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { isEmptyValue } from '../valueUtils.js'
|
||||||
import { convertReportOutput } from './report.js'
|
import { convertReportOutput } from './report.js'
|
||||||
|
|
||||||
export function convertProcessLog(processLogToConvert) {
|
export function convertProcessLog(processLogToConvert) {
|
||||||
@ -13,6 +14,6 @@ export function convertProcessLog(processLogToConvert) {
|
|||||||
// return convertEntity(parameter)
|
// return convertEntity(parameter)
|
||||||
// }),
|
// }),
|
||||||
paramenters: [],
|
paramenters: [],
|
||||||
output: convertReportOutput(processLogToConvert.output)
|
output: isEmptyValue(processLogToConvert.output) ? {} : convertReportOutput(processLogToConvert.output)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user