feat:项目管理-审计内容1-优化八项规定相关内容

This commit is contained in:
2025-11-23 18:09:17 +08:00
parent 61468904ff
commit 96ae9709cd
2 changed files with 23 additions and 18 deletions

View File

@@ -345,34 +345,39 @@ export const columns2 = [
]; ];
export const columns3 = [ 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: '工作底稿索引',

View File

@@ -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 || '待检查',