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

@@ -128,6 +128,16 @@
</a-button>
</div> -->
</div>
<div
style="
width: 2%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
">
<a-divider style="height: 100%" type="vertical" />
</div>
<div class="mainRight">
<a-table
:columns="columns"
@@ -1794,7 +1804,6 @@
}
.mainLeft {
width: 19%;
margin-right: 1%;
position: relative;
height: 100%;
border: 1px solid #f2f2f2;
@@ -1823,8 +1832,7 @@
}
}
.mainRight {
width: 80%;
border-left: 1px solid #f2f2f2;
width: 79%;
}
}

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: '编辑',