mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 补充Task的业务扩展字段
This commit is contained in:
10
src/typings/api/workflow.api.d.ts
vendored
10
src/typings/api/workflow.api.d.ts
vendored
@ -219,7 +219,7 @@ declare namespace Api {
|
|||||||
/** 业务编码 */
|
/** 业务编码 */
|
||||||
businessCode: string;
|
businessCode: string;
|
||||||
/** 业务名称 */
|
/** 业务名称 */
|
||||||
businessName: string;
|
businessTitle: string;
|
||||||
/** 节点类型 */
|
/** 节点类型 */
|
||||||
nodeType: WorkflowNodeType;
|
nodeType: WorkflowNodeType;
|
||||||
/** 节点编码 */
|
/** 节点编码 */
|
||||||
@ -370,6 +370,10 @@ declare namespace Api {
|
|||||||
flowCode: string;
|
flowCode: string;
|
||||||
/** 流程版本号 */
|
/** 流程版本号 */
|
||||||
version: string;
|
version: string;
|
||||||
|
/** 业务编码 */
|
||||||
|
businessCode: string;
|
||||||
|
/** 业务名称 */
|
||||||
|
businessTitle: string;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
/** 任务列表 */
|
/** 任务列表 */
|
||||||
@ -470,6 +474,10 @@ declare namespace Api {
|
|||||||
runDuration: string;
|
runDuration: string;
|
||||||
/** 附件 */
|
/** 附件 */
|
||||||
attachmentList: Api.System.Oss[];
|
attachmentList: Api.System.Oss[];
|
||||||
|
/** 业务编码 */
|
||||||
|
businessCode: string;
|
||||||
|
/** 业务名称 */
|
||||||
|
businessTitle: string;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
/** 历史任务列表 */
|
/** 历史任务列表 */
|
||||||
|
@ -74,7 +74,7 @@ const baseColumns = ref<NaiveUI.TableColumn<Api.Workflow.Instance>[]>([
|
|||||||
width: 120
|
width: 120
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'businessName',
|
key: 'businessTitle',
|
||||||
title: '业务名称',
|
title: '业务名称',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 120
|
width: 120
|
||||||
|
@ -40,6 +40,8 @@ const waitingStatusOptions = ref<WaitingStatusOption[]>([
|
|||||||
|
|
||||||
const commonColumns: NaiveUI.TableColumn<Api.Workflow.TaskOrHisTask>[] = [
|
const commonColumns: NaiveUI.TableColumn<Api.Workflow.TaskOrHisTask>[] = [
|
||||||
{ type: 'selection', align: 'center', width: 50 },
|
{ 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: 'flowName', title: '流程定义名称', align: 'center', width: 120 },
|
||||||
{ key: 'flowCode', title: '流程定义编码', align: 'center', width: 120 },
|
{ key: 'flowCode', title: '流程定义编码', align: 'center', width: 120 },
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,18 @@ const {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 64
|
width: 64
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '业务编码',
|
||||||
|
key: 'businessCode',
|
||||||
|
align: 'center',
|
||||||
|
width: 120
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '业务名称',
|
||||||
|
key: 'businessTitle',
|
||||||
|
align: 'center',
|
||||||
|
width: 120
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '流程定义名称',
|
title: '流程定义名称',
|
||||||
key: 'flowName',
|
key: 'flowName',
|
||||||
|
@ -51,6 +51,18 @@ const {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 64
|
width: 64
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '业务编码',
|
||||||
|
key: 'businessCode',
|
||||||
|
align: 'center',
|
||||||
|
width: 120
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '业务名称',
|
||||||
|
key: 'businessTitle',
|
||||||
|
align: 'center',
|
||||||
|
width: 120
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '流程定义名称',
|
title: '流程定义名称',
|
||||||
key: 'flowName',
|
key: 'flowName',
|
||||||
|
@ -51,6 +51,18 @@ const {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 64
|
width: 64
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '业务编码',
|
||||||
|
key: 'businessCode',
|
||||||
|
align: 'center',
|
||||||
|
width: 120
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '业务名称',
|
||||||
|
key: 'businessTitle',
|
||||||
|
align: 'center',
|
||||||
|
width: 120
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '流程定义名称',
|
title: '流程定义名称',
|
||||||
key: 'flowName',
|
key: 'flowName',
|
||||||
|
Reference in New Issue
Block a user