feat(projects): 补充Task的业务扩展字段

This commit is contained in:
AN
2025-09-05 13:53:07 +08:00
parent bc44d2cddc
commit 1eb0a3dac2
6 changed files with 48 additions and 2 deletions

View File

@ -219,7 +219,7 @@ declare namespace Api {
/** 业务编码 */
businessCode: string;
/** 业务名称 */
businessName: string;
businessTitle: string;
/** 节点类型 */
nodeType: WorkflowNodeType;
/** 节点编码 */
@ -370,6 +370,10 @@ declare namespace Api {
flowCode: string;
/** 流程版本号 */
version: string;
/** 业务编码 */
businessCode: string;
/** 业务名称 */
businessTitle: string;
}>;
/** 任务列表 */
@ -470,6 +474,10 @@ declare namespace Api {
runDuration: string;
/** 附件 */
attachmentList: Api.System.Oss[];
/** 业务编码 */
businessCode: string;
/** 业务名称 */
businessTitle: string;
}>;
/** 历史任务列表 */

View File

@ -74,7 +74,7 @@ const baseColumns = ref<NaiveUI.TableColumn<Api.Workflow.Instance>[]>([
width: 120
},
{
key: 'businessName',
key: 'businessTitle',
title: '业务名称',
align: 'center',
width: 120

View File

@ -40,6 +40,8 @@ const waitingStatusOptions = ref<WaitingStatusOption[]>([
const commonColumns: NaiveUI.TableColumn<Api.Workflow.TaskOrHisTask>[] = [
{ type: 'selection', align: 'center', width: 50 },
{ key: 'businessCode', title: '业务编码', align: 'center', width: 120 },
{ key: 'businessTitle', title: '业务名称', align: 'center', width: 120 },
{ key: 'flowName', title: '流程定义名称', align: 'center', width: 120 },
{ key: 'flowCode', title: '流程定义编码', align: 'center', width: 120 },
{

View File

@ -51,6 +51,18 @@ const {
align: 'center',
width: 64
},
{
title: '业务编码',
key: 'businessCode',
align: 'center',
width: 120
},
{
title: '业务名称',
key: 'businessTitle',
align: 'center',
width: 120
},
{
title: '流程定义名称',
key: 'flowName',

View File

@ -51,6 +51,18 @@ const {
align: 'center',
width: 64
},
{
title: '业务编码',
key: 'businessCode',
align: 'center',
width: 120
},
{
title: '业务名称',
key: 'businessTitle',
align: 'center',
width: 120
},
{
title: '流程定义名称',
key: 'flowName',

View File

@ -51,6 +51,18 @@ const {
align: 'center',
width: 64
},
{
title: '业务编码',
key: 'businessCode',
align: 'center',
width: 120
},
{
title: '业务名称',
key: 'businessTitle',
align: 'center',
width: 120
},
{
title: '流程定义名称',
key: 'flowName',