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", // align: "center",
// dataIndex: 'sourceId' // dataIndex: 'sourceId'
// }, // },
{ {
title: '是否紧急', title: '要求完成日期',
align: 'center', align: 'center',
dataIndex: 'urgencyLevel', dataIndex: 'requireFinishDate',
width: 90, width: 120,
customRender: ({ text, record }) => { customRender: ({ text }) => {
return getTranslatedText(record, 'urgencyLevel_dictText', text, 'yn'); text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text;
return text;
}, },
}, },
// { // {
// title: '自定义分组', // title: '自定义分组',
// align: "center", // align: "center",
@@ -148,16 +149,7 @@ export const columns: BasicColumn[] = [
// align: "center", // align: "center",
// dataIndex: 'followerNames' // 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 互补)', // title: '截止时间(精确到时分,与 require_finish_date 互补)',
@@ -178,15 +170,23 @@ export const columns: BasicColumn[] = [
width: 160, width: 160,
ellipsis: true, ellipsis: true,
}, },
{ {
title: '流程实例ID', title: '是否紧急',
align: 'center', align: 'center',
dataIndex: 'processInstId', dataIndex: 'urgencyLevel',
width: 220, width: 90,
ellipsis: true, customRender: ({ text, record }) => {
return getTranslatedText(record, 'urgencyLevel_dictText', text, 'yn');
},
}, },
// { // {
// title: '流程实例ID',
// align: 'center',
// dataIndex: 'processInstId',
// width: 220,
// ellipsis: true,
// },
// {
// title: '是否已逾期', // title: '是否已逾期',
// align: "center", // align: "center",
// dataIndex: 'isOverdue' // dataIndex: 'isOverdue'