Commit 61dee5e8 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复状态文本不显示的问题

parent 5eb7d90a
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-04 18:22:57
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-24 10:55:25
* @LastEditTime: 2021-01-19 20:30:44
* @Description: 内、外部流转记录
*/
import React from 'react';
......@@ -108,10 +108,10 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({ outerHistory = [], innerHisto
},
{
title: '状态',
dataIndex: 'statusName',
dataIndex: 'status',
align: 'center',
render: (text, record) => (
<Badge color={REPAIR_INNER_STATUS_BADGE_MAP[record.status]} text={text} />
<Badge color={REPAIR_INNER_STATUS_BADGE_MAP[record.statusCode] || '#606266'} text={text} />
),
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment