Skip to content

Commit 5ec67d5

Browse files
committed
导入、审核、数据结构弹出框开启默认延迟加载
1 parent 783326c commit 5ec67d5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Vol.Vue/src/components/basic/ViewGrid.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@
22
<div class="layout-container">
33
<a :href="exportHref"
44
ref="export"></a>
5+
<!--开启懒加载2020.12.06 -->
56
<vol-box :model.sync="viewModel"
67
:height="450"
78
:width="width"
9+
:lazy="true"
810
:title="table.cnName+'数据结构'">
911
<div slot="content">
1012
<Table :columns="viewColumns"
1113
:data="viewData"></Table>
1214
</div>
1315
</vol-box>
16+
<!--开启懒加载2020.12.06 -->
1417
<!--审核(异步点击按钮时才加载待完)-->
1518
<vol-box :model.sync="auditParam.model"
1619
:height="300"
1720
:width="550"
21+
:lazy="true"
1822
:title="table.cnName+'--审核'">
1923
<div slot="content">
2024
<Audit :auditParam="auditParam"></Audit>
@@ -28,10 +32,12 @@
2832

2933
<!--导入excel功能-->
3034
<!--2020.10.31添加导入前的方法-->
35+
<!--开启懒加载2020.12.06 -->
3136
<vol-box v-if="upload.url"
3237
:model.sync="upload.excel"
3338
:height="285"
3439
:width="600"
40+
:lazy="true"
3541
:title="table.cnName+'--导入'">
3642
<UploadExcel ref="upload_excel"
3743
@importExcelAfter="importAfter"

开发版dev/Vue.NetCore/Vol.Vue/src/components/basic/ViewGrid.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@
22
<div class="layout-container">
33
<a :href="exportHref"
44
ref="export"></a>
5+
<!--开启懒加载2020.12.06 -->
56
<vol-box :model.sync="viewModel"
67
:height="450"
78
:width="width"
9+
:lazy="true"
810
:title="table.cnName+'数据结构'">
911
<div slot="content">
1012
<Table :columns="viewColumns"
1113
:data="viewData"></Table>
1214
</div>
1315
</vol-box>
16+
<!--开启懒加载2020.12.06 -->
1417
<!--审核(异步点击按钮时才加载待完)-->
1518
<vol-box :model.sync="auditParam.model"
1619
:height="300"
1720
:width="550"
21+
:lazy="true"
1822
:title="table.cnName+'--审核'">
1923
<div slot="content">
2024
<Audit :auditParam="auditParam"></Audit>
@@ -28,10 +32,12 @@
2832

2933
<!--导入excel功能-->
3034
<!--2020.10.31添加导入前的方法-->
35+
<!--开启懒加载2020.12.06 -->
3136
<vol-box v-if="upload.url"
3237
:model.sync="upload.excel"
3338
:height="285"
3439
:width="600"
40+
:lazy="true"
3541
:title="table.cnName+'--导入'">
3642
<UploadExcel ref="upload_excel"
3743
@importExcelAfter="importAfter"

0 commit comments

Comments
 (0)