添加测试数据

This commit is contained in:
2025-10-20 19:50:03 +08:00
parent 823f2b43c6
commit f1a72c334e

View File

@@ -155,7 +155,7 @@
AI生成
</a-button>
</template>
<a-table :columns="item.columns" bordered></a-table>
<a-table :columns="item.columns" bordered :data-source="item.data"></a-table>
<!-- <div v-if="item.description" class="section-description">-->
<!-- {{ item.description }}-->
<!-- </div>-->
@@ -310,18 +310,18 @@
},
{
title: '决策事项金额',
dataIndex: 'content',
key: 'content'
dataIndex: 'amount',
key: 'amount'
},
{
title: '程序程序',
dataIndex: 'content',
key: 'content'
dataIndex: 'progress',
key: 'progress'
},
{
title: '执行情况(是/否)',
dataIndex: 'content',
key: 'content'
dataIndex: 'done',
key: 'done'
},
{
title: '执行效果(是否实现决策目标)',
@@ -329,17 +329,14 @@
{
title: '好',
dataIndex: 'goods',
key: 'goods'
},
{
title: '一般',
dataIndex: 'goods',
key: 'goods'
dataIndex: 'normal',
},
{
title: '差',
dataIndex: 'goods',
key: 'goods'
dataIndex: 'bad'
}
]
}
@@ -394,7 +391,20 @@
formCommit: 30,
rows: 8,
generating: false,
columns: columns.value
columns: columns.value,
data: [
{
index: '1',
name: '测试',
content: '测试内容',
amount: '9999',
progress: '这是程序',
done: '是',
goods: '',
normal: '是',
bad: '',
}
]
},
{
number: '四',