|
@@ -10,7 +10,7 @@ const ProjectRecordModal = ({ visible, currentItem, depUserTree, onOk, onClose }
|
|
|
author: '',
|
|
|
s_time: '',
|
|
|
e_time: '',
|
|
|
- pageSize: 1,
|
|
|
+ currentPage: 1,
|
|
|
});
|
|
|
const { data, run, loading } = useRequest(
|
|
|
data => approvalLogProjectsList({ ...data, id: currentItem.id }),
|
|
@@ -24,7 +24,7 @@ const ProjectRecordModal = ({ visible, currentItem, depUserTree, onOk, onClose }
|
|
|
const columns = [
|
|
|
{
|
|
|
title: '提交人',
|
|
|
- dataIndex: 'name',
|
|
|
+ dataIndex: 'author_name',
|
|
|
width: '12%',
|
|
|
},
|
|
|
{
|
|
@@ -34,13 +34,14 @@ const ProjectRecordModal = ({ visible, currentItem, depUserTree, onOk, onClose }
|
|
|
},
|
|
|
{
|
|
|
title: '日志概述',
|
|
|
- dataIndex: 'doc',
|
|
|
+ dataIndex: 'content',
|
|
|
render: doc => <div className={styles.doc}>{doc}</div>,
|
|
|
},
|
|
|
{
|
|
|
title: '提交时间',
|
|
|
- dataIndex: 'time',
|
|
|
+ dataIndex: 'c_time',
|
|
|
width: '20%',
|
|
|
+ render: time => moment(time).format('YYYY-MM-DD HH:mm'),
|
|
|
},
|
|
|
// {
|
|
|
// title: '操作',
|