Commit f7270c74 authored by XieZhiXiong's avatar XieZhiXiong

chore: 格式化操作时间

parent 855fb125
......@@ -2,11 +2,12 @@
* @Author: XieZhiXiong
* @Date: 2021-06-23 18:04:15
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-23 18:04:15
* @LastEditTime: 2021-09-26 14:54:19
* @Description: 内部流转记录
*/
import React, { HTMLAttributes } from 'react';
import { Badge } from 'antd';
import moment from 'moment';
import FlowRecords from '@/components/FlowRecords';
import { EditableColumns } from '@/components/PolymericTable/interface';
......@@ -99,6 +100,7 @@ const InnerFlowRecords: React.FC<IProps> = (props) => {
dataIndex: 'createTime',
align: 'center',
ellipsis: true,
render: (text) => text ? moment(text).format('YYYY-MM-DD HH:mm:ss') : '',
},
{
title: '审核意见',
......
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