@ -139,33 +139,20 @@ export function useTable() {
. . . COLUMN_WIDTH_CONFIG [ 'state' ] ,
. . . COLUMN_WIDTH_CONFIG [ 'state' ] ,
render : ( row ) = >
render : ( row ) = >
row . releaseState === 'ONLINE'
row . releaseState === 'ONLINE'
? t ( 'project.workflow.up_line' )
? h (
: t ( 'project.workflow.down_line' )
NTag ,
} ,
{ type : 'success' , size : 'small' } ,
{
title : t ( 'project.workflow.create_time' ) ,
key : 'createTime' ,
. . . COLUMN_WIDTH_CONFIG [ 'time' ]
} ,
{
title : t ( 'project.workflow.update_time' ) ,
key : 'updateTime' ,
. . . COLUMN_WIDTH_CONFIG [ 'time' ]
} ,
{
title : t ( 'project.workflow.description' ) ,
key : 'description' ,
. . . COLUMN_WIDTH_CONFIG [ 'note' ]
} ,
{
{
title : t ( 'project.workflow.create_user' ) ,
default : ( ) = > t ( 'project.workflow.up_line' )
key : 'userName' ,
}
. . . COLUMN_WIDTH_CONFIG [ 'userName' ]
)
} ,
: h (
NTag ,
{ type : 'warning' , size : 'small' } ,
{
{
title : t ( 'project.workflow.modify_user' ) ,
default : ( ) = > t ( 'project.workflow.down_line' )
key : 'modifyBy' ,
}
. . . COLUMN_WIDTH_CONFIG [ 'userName' ]
)
} ,
} ,
{
{
title : t ( 'project.workflow.schedule_publish_status' ) ,
title : t ( 'project.workflow.schedule_publish_status' ) ,
@ -193,6 +180,31 @@ export function useTable() {
}
}
}
}
} ,
} ,
{
title : t ( 'project.workflow.create_time' ) ,
key : 'createTime' ,
. . . COLUMN_WIDTH_CONFIG [ 'time' ]
} ,
{
title : t ( 'project.workflow.update_time' ) ,
key : 'updateTime' ,
. . . COLUMN_WIDTH_CONFIG [ 'time' ]
} ,
{
title : t ( 'project.workflow.description' ) ,
key : 'description' ,
. . . COLUMN_WIDTH_CONFIG [ 'note' ]
} ,
{
title : t ( 'project.workflow.create_user' ) ,
key : 'userName' ,
. . . COLUMN_WIDTH_CONFIG [ 'userName' ]
} ,
{
title : t ( 'project.workflow.modify_user' ) ,
key : 'modifyBy' ,
. . . COLUMN_WIDTH_CONFIG [ 'userName' ]
} ,
{
{
title : t ( 'project.workflow.operation' ) ,
title : t ( 'project.workflow.operation' ) ,
key : 'operation' ,
key : 'operation' ,
@ -289,7 +301,7 @@ export function useTable() {
} )
} )
}
}
const batchCopyWorkflow = ( ) = > { }
const batchCopyWorkflow = ( ) = > { }
const releaseWorkflow = ( row : any ) = > {
const releaseWorkflow = ( row : any ) = > {
const data = {
const data = {