|
|
|
|
@ -19,7 +19,7 @@
|
|
|
|
|
<template v-if="!isFirstNode">
|
|
|
|
|
<el-step
|
|
|
|
|
v-for="step in config.logs"
|
|
|
|
|
v-if="step.flow_node_id !== node.id"
|
|
|
|
|
v-if="(step.flow_node_id !== node.id && step.status !== -1)"
|
|
|
|
|
:title="step.node.name"
|
|
|
|
|
:status="step.status !== -1 ? 'success' : 'error'"
|
|
|
|
|
icon="el-icon-circle-check"
|
|
|
|
|
@ -276,6 +276,7 @@ import {
|
|
|
|
|
import { deepCopy } from "@/utils";
|
|
|
|
|
import { validation, validationName } from "@/utils/validate";
|
|
|
|
|
import { print } from "@/utils/print";
|
|
|
|
|
import JSONBigint from 'json-bigint'
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
DesktopForm,
|
|
|
|
|
@ -575,7 +576,7 @@ export default {
|
|
|
|
|
if (typeof item[key] === 'string') {
|
|
|
|
|
try {
|
|
|
|
|
// 尝试解析字符串为 JSON 对象
|
|
|
|
|
const parsedValue = JSON.parse(item[key]);
|
|
|
|
|
const parsedValue = JSONBigint.parse(item[key]);
|
|
|
|
|
// 如果解析成功,替换原始字符串
|
|
|
|
|
item[key] = parsedValue;
|
|
|
|
|
} catch (e) {
|
|
|
|
|
@ -675,7 +676,7 @@ export default {
|
|
|
|
|
if (typeof item[key] === 'string') {
|
|
|
|
|
try {
|
|
|
|
|
// 尝试解析字符串为 JSON 对象
|
|
|
|
|
const parsedValue = JSON.parse(item[key]);
|
|
|
|
|
const parsedValue = JSONBigint.parse(item[key]);
|
|
|
|
|
// 如果解析成功,替换原始字符串
|
|
|
|
|
item[key] = parsedValue;
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|