yxk-20260807

督办系统-查询督办流程列表
优化列表排序和展示字段
This commit is contained in:
ye1023
2026-08-07 16:04:17 +08:00
parent 34ef5cecbc
commit af4a1dc176
@@ -68,16 +68,17 @@ export const columns: BasicColumn[] = [
// align: "center",
// dataIndex: 'sourceId'
// },
{
title: '是否紧急',
title: '要求完成日期',
align: 'center',
dataIndex: 'urgencyLevel',
width: 90,
customRender: ({ text, record }) => {
return getTranslatedText(record, 'urgencyLevel_dictText', text, 'yn');
dataIndex: 'requireFinishDate',
width: 120,
customRender: ({ text }) => {
text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text;
return text;
},
},
// {
// title: '自定义分组',
// align: "center",
@@ -148,16 +149,7 @@ export const columns: BasicColumn[] = [
// align: "center",
// dataIndex: 'followerNames'
// },
{
title: '要求完成日期',
align: 'center',
dataIndex: 'requireFinishDate',
width: 120,
customRender: ({ text }) => {
text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text;
return text;
},
},
// {
// title: '截止时间(精确到时分,与 require_finish_date 互补)',
@@ -178,15 +170,23 @@ export const columns: BasicColumn[] = [
width: 160,
ellipsis: true,
},
{
title: '流程实例ID',
title: '是否紧急',
align: 'center',
dataIndex: 'processInstId',
width: 220,
ellipsis: true,
dataIndex: 'urgencyLevel',
width: 90,
customRender: ({ text, record }) => {
return getTranslatedText(record, 'urgencyLevel_dictText', text, 'yn');
},
},
// {
// title: '流程实例ID',
// align: 'center',
// dataIndex: 'processInstId',
// width: 220,
// ellipsis: true,
// },
// {
// title: '是否已逾期',
// align: "center",
// dataIndex: 'isOverdue'