diff --git a/src/components/semri/process/QueryProcessList.data.ts b/src/components/semri/process/QueryProcessList.data.ts index b61e9f9..66ca9bf 100644 --- a/src/components/semri/process/QueryProcessList.data.ts +++ b/src/components/semri/process/QueryProcessList.data.ts @@ -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'