This commit is contained in:
fks-xuxinyue
2024-08-30 11:12:06 +08:00
parent 15e6e51f1b
commit cfba387285
5 changed files with 58 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
<template>
<!-- 首页 -->
<div v-if="isMainPage">
<ns-view-list-table v-bind="tableConfig" :model="data" ref="mainRef" />
<ns-view-list-table v-bind="tableConfig" :scroll="{ x: 750 }" :model="data" ref="mainRef" />
</div>
<!-- 填报页 -->
<div v-if="fillInPage" style="height: 100%">
@@ -191,37 +191,45 @@
columns: [
{
title: '序号',
width: 50,
customRender: (text: any) => {
return text.index + 1;
},
},
{
title: '企业名称',
width: 130,
dataIndex: 'enterpriseName',
},
{
title: '报告名称',
width: 100,
dataIndex: 'reportName',
},
{
title: '报告年度',
width: 70,
dataIndex: 'reportYear',
},
{
title: '适用标准',
width: 100,
dataIndex: 'genericStandard',
},
{
title: '更新人',
width: 100,
dataIndex: 'updateUser',
},
{
title: '更新时间',
width: 100,
dataIndex: 'updateTime',
},
],
columnActions: {
title: '操作',
width: 100,
actions: [
{
label: '编辑',