调度日志任务返回值反序列化展示,以及修复详情窗口报错问题
This commit is contained in:
parent
e08f0e153c
commit
35fff39af1
@ -119,7 +119,13 @@ const tableColumns = reactive<TableColumn[]>([
|
|||||||
{
|
{
|
||||||
field: 'retval',
|
field: 'retval',
|
||||||
label: '任务返回值',
|
label: '任务返回值',
|
||||||
show: true
|
show: true,
|
||||||
|
slots: {
|
||||||
|
default: (data: any) => {
|
||||||
|
const row = data.row
|
||||||
|
return JSON.parse(row.retval)
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'exception',
|
field: 'exception',
|
||||||
|
@ -50,7 +50,7 @@ const detailSchema = reactive<DescriptionsSchema[]>([
|
|||||||
span: 24,
|
span: 24,
|
||||||
slots: {
|
slots: {
|
||||||
default: (data: any) => {
|
default: (data: any) => {
|
||||||
const row = data.row
|
const row = data
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div>{selectDictLabel(execStrategyOptions.value, row.exec_strategy)}</div>
|
<div>{selectDictLabel(execStrategyOptions.value, row.exec_strategy)}</div>
|
||||||
@ -85,7 +85,13 @@ const detailSchema = reactive<DescriptionsSchema[]>([
|
|||||||
{
|
{
|
||||||
field: 'retval',
|
field: 'retval',
|
||||||
label: '任务返回值',
|
label: '任务返回值',
|
||||||
span: 24
|
span: 24,
|
||||||
|
slots: {
|
||||||
|
default: (data: any) => {
|
||||||
|
const row = data
|
||||||
|
return JSON.parse(row.retval)
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'exception',
|
field: 'exception',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user