yxk-20260518-待办列表增加deadline字段,从task表获取数据

This commit is contained in:
ye1023
2026-05-18 09:46:56 +08:00
parent 0d4d3b0c09
commit 1d74213d35
2 changed files with 124 additions and 117 deletions
@@ -10,10 +10,20 @@ export const columns: BasicColumn[] = [
// align: "center", // align: "center",
// dataIndex: 'flowCode' // dataIndex: 'flowCode'
// }, // },
{
title: '督办标题',
align: "center",
dataIndex: 'title',
},
{
title: '督办内容',
align: "center",
dataIndex: 'content',
},
{ {
title: '流程名称', title: '流程名称',
align: "center", align: "center",
dataIndex: 'flowName' dataIndex: 'flowName',
}, },
{ {
title: '流程实例ID', title: '流程实例ID',
@@ -45,51 +55,42 @@ export const columns: BasicColumn[] = [
align: "center", align: "center",
dataIndex: 'businessTablename' dataIndex: 'businessTablename'
}, },
{ // {
title: '外部来源 ID', // title: '外部来源 ID',
align: "center", // align: "center",
dataIndex: 'sourceId' // dataIndex: 'sourceId'
}, // },
{
title: '任务标题',
align: "center",
dataIndex: 'title'
},
{
title: '任务内容',
align: "center",
dataIndex: 'content'
},
{ {
title: '紧急程度(一般/紧急/特急)', title: '紧急程度(一般/紧急/特急)',
align: "center", align: "center",
dataIndex: 'urgencyLevel_dictText' dataIndex: 'urgencyLevel_dictText'
}, },
{ // {
title: '自定义分组', // title: '自定义分组',
align: "center", // align: "center",
dataIndex: 'customGroup' // dataIndex: 'customGroup'
}, // },
{ // {
title: '所属任务清单 ID', // title: '所属任务清单 ID',
align: "center", // align: "center",
dataIndex: 'taskListId' // dataIndex: 'taskListId'
}, // },
{ // {
title: '所属任务清单名称', // title: '所属任务清单名称',
align: "center", // align: "center",
dataIndex: 'taskListName' // dataIndex: 'taskListName'
}, // },
{ // {
title: '是否为里程碑节点', // title: '是否为里程碑节点',
align: "center", // align: "center",
dataIndex: 'milestone' // dataIndex: 'milestone'
}, // },
{ // {
title: '任务完成方式', // title: '任务完成方式',
align: "center", // align: "center",
dataIndex: 'finishMethod' // dataIndex: 'finishMethod'
}, // },
{ {
title: '被督办部门id', title: '被督办部门id',
align: "center", align: "center",
@@ -100,36 +101,36 @@ export const columns: BasicColumn[] = [
align: "center", align: "center",
dataIndex: 'deptName' dataIndex: 'deptName'
}, },
{ // {
title: '部门负责人id', // title: '部门负责人id',
align: "center", // align: "center",
dataIndex: 'deptLeaderId_dictText' // dataIndex: 'deptLeaderId_dictText'
}, // },
{ // {
title: '部门负责人姓名(冗余)', // title: '部门负责人姓名(冗余)',
align: "center", // align: "center",
dataIndex: 'deptLeaderName' // dataIndex: 'deptLeaderName'
}, // },
{ // {
title: '部门经办人id(负责人指派后填入)', // title: '部门经办人id(负责人指派后填入)',
align: "center", // align: "center",
dataIndex: 'deptHandlerId_dictText' // dataIndex: 'deptHandlerId_dictText'
}, // },
{ // {
title: '部门经办人姓名(冗余)', // title: '部门经办人姓名(冗余)',
align: "center", // align: "center",
dataIndex: 'deptHandlerName' // dataIndex: 'deptHandlerName'
}, // },
{ // {
title: '关注人 ID 列表', // title: '关注人 ID 列表',
align: "center", // align: "center",
dataIndex: 'followerIds' // dataIndex: 'followerIds'
}, // },
{ // {
title: '关注人姓名列表,冗余', // title: '关注人姓名列表,冗余',
align: "center", // align: "center",
dataIndex: 'followerNames' // dataIndex: 'followerNames'
}, // },
{ {
title: '要求完成日期(业务层面的硬性要求)', title: '要求完成日期(业务层面的硬性要求)',
align: "center", align: "center",
@@ -170,46 +171,46 @@ export const columns: BasicColumn[] = [
align: "center", align: "center",
dataIndex: 'duration' dataIndex: 'duration'
}, },
{ // {
title: '子任务完成进度(0.00~100.00,参考飞书子任务进度)', // title: '子任务完成进度(0.00~100.00,参考飞书子任务进度)',
align: "center", // align: "center",
dataIndex: 'subTaskProgress' // dataIndex: 'subTaskProgress'
}, // },
{ // {
title: '父任务 ID', // title: '父任务 ID',
align: "center", // align: "center",
dataIndex: 'parentTaskId' // dataIndex: 'parentTaskId'
}, // },
{ // {
title: '前置任务 ID 列表,逗号分隔', // title: '前置任务 ID 列表,逗号分隔',
align: "center", // align: "center",
dataIndex: 'preTaskIds' // dataIndex: 'preTaskIds'
}, // },
{ // {
title: '后置任务 ID 列表,逗号分隔', // title: '后置任务 ID 列表,逗号分隔',
align: "center", // align: "center",
dataIndex: 'nextTaskIds' // dataIndex: 'nextTaskIds'
}, // },
{ // {
title: '子任务数', // title: '子任务数',
align: "center", // align: "center",
dataIndex: 'subTaskCount' // dataIndex: 'subTaskCount'
}, // },
{ // {
title: '流程序列号', // title: '流程序列号',
align: "center", // align: "center",
dataIndex: 'processCodenumber' // dataIndex: 'processCodenumber'
}, // },
{ // {
title: '表单组件路径', // title: '表单组件路径',
align: "center", // align: "center",
dataIndex: 'formUrl' // dataIndex: 'formUrl'
}, // },
{ // {
title: '流程变量', // title: '流程变量',
align: "center", // align: "center",
dataIndex: 'jsonDataString' // dataIndex: 'jsonDataString'
}, // },
]; ];
// 高级查询数据 // 高级查询数据
@@ -28,11 +28,6 @@ export const columns: BasicColumn[] = [
dataIndex: 'processDefinitionName', dataIndex: 'processDefinitionName',
ellipsis: true, ellipsis: true,
}, },
{
title: '流程实例',
align: 'center',
dataIndex: 'processInstanceId',
},
{ {
title: '发起人', title: '发起人',
width: 110, width: 110,
@@ -40,10 +35,21 @@ export const columns: BasicColumn[] = [
dataIndex: 'processApplyUserName', dataIndex: 'processApplyUserName',
}, },
{ {
title: '开始时间', title: '转入时间',
align: 'center', align: 'center',
dataIndex: 'taskBeginTime', dataIndex: 'taskBeginTime',
}, },
{
title: '事项截止时间',
align: 'center',
width: 170,
dataIndex: 'deadline',
},
{
title: '流程实例',
align: 'center',
dataIndex: 'processInstanceId',
},
{ {
title: '流程编号', title: '流程编号',
align: 'center', align: 'center',