feat:项目管理-审计内容1-优化八项规定相关内容
This commit is contained in:
@@ -348,31 +348,36 @@ export const columns3 = [
|
|||||||
{
|
{
|
||||||
title: '审计内容',
|
title: '审计内容',
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
key: '',
|
key: 'title',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
customCell: (_, index) => {
|
width: 120,
|
||||||
if (index === 0) return { rowSpan: 8 };
|
// customCell: (_, index) => {
|
||||||
else if (index === 8) return { rowSpan: 30 };
|
// // 保持原有的行合并逻辑
|
||||||
return { rowSpan: 0 };
|
// if (index === 0) return { rowSpan: 8 };
|
||||||
}
|
// else if (index === 8) return { rowSpan: 30 };
|
||||||
|
// return { rowSpan: 0 };
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '审计内容',
|
title: '审计内容',
|
||||||
dataIndex: 'content',
|
dataIndex: 'content',
|
||||||
key: '',
|
key: 'content',
|
||||||
align: 'center'
|
align: 'center',
|
||||||
|
width: 200
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '检查的证据及测试内容',
|
title: '检查的证据及测试内容',
|
||||||
dataIndex: 'testContent',
|
dataIndex: 'testContent',
|
||||||
key: '',
|
key: 'testContent',
|
||||||
align: 'center'
|
align: 'center',
|
||||||
|
width: 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '测试结果',
|
title: '测试结果',
|
||||||
dataIndex: 'result',
|
dataIndex: 'result',
|
||||||
key: '',
|
key: 'result',
|
||||||
align: 'center'
|
align: 'center',
|
||||||
|
width: 100
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '工作底稿索引',
|
title: '工作底稿索引',
|
||||||
|
|||||||
@@ -1306,7 +1306,7 @@
|
|||||||
const mapEightRegData = (data: any[]) => {
|
const mapEightRegData = (data: any[]) => {
|
||||||
return data.map((item, index) => ({
|
return data.map((item, index) => ({
|
||||||
key: index,
|
key: index,
|
||||||
title: item.title || '',
|
title: item.categoryOrder || item.title || '',
|
||||||
content: item.content || '',
|
content: item.content || '',
|
||||||
testContent: item.testContent || '',
|
testContent: item.testContent || '',
|
||||||
result: item.result || '待检查',
|
result: item.result || '待检查',
|
||||||
|
|||||||
Reference in New Issue
Block a user