Browse Source

表格内容展示条数自适应

dev
汤建军 2 years ago
parent
commit
8b4d02a8d5
  1. 2
      src/views/accessrecords/LndustrialExplosiveCome.vue
  2. 2
      src/views/accessrecords/LndustrialExplosiveEnter.vue
  3. 2
      src/views/accessrecords/ProcessMaterialWarehousingRecord.vue
  4. 2
      src/views/accessrecords/ProcessMaterialsDeliveryRecord.vue
  5. 2
      src/views/accessrecords/ProcessMaterialsPlanRecord.vue
  6. 2
      src/views/activiti/ModelList.vue
  7. 2
      src/views/activiti/ProcessModelList.vue
  8. 2
      src/views/activiti/ProcessUserModelList.vue
  9. 2
      src/views/description/ProcessDescriptionList.vue
  10. 2
      src/views/gunpowder/ProcessIndustrialCachelibraryList.vue
  11. 2
      src/views/gunpowder/ProcessIndustrialDescriptionList.vue
  12. 2
      src/views/gunpowder/ProcessIndustrialExplosiveLists.vue
  13. 2
      src/views/gunpowder/ProcessIndustrialScrapLists.vue
  14. 2
      src/views/gunpowder/ProcessIndustrialSupplierList.vue
  15. 2
      src/views/industrial/ProcessIndustrialList.vue
  16. 2
      src/views/materialstorage/ProcessMaterialStorageList.vue
  17. 1
      src/views/merchandisenews/ProcessMerchandiseNewsList.vue
  18. 2
      src/views/modules/message/SysMessageList.vue
  19. 2
      src/views/modules/message/SysMessageTemplateList.vue
  20. 2
      src/views/modules/oss/OSSFileList.vue
  21. 2
      src/views/office/OfficeConfig.vue
  22. 2
      src/views/regime/ProcessElegantList.vue
  23. 2
      src/views/regime/ProcessRegimeList.vue
  24. 4
      src/views/regime/modules/ProcessRegimeForm.vue
  25. 2
      src/views/supplier/ProcessSupplierList.vue
  26. 4
      src/views/suppliesstronger/ProcessSuppliesStrongerList.vue
  27. 1
      src/views/system/DataLogList.vue
  28. 2
      src/views/system/DictList.vue
  29. 2
      src/views/system/LogList.vue
  30. 1
      src/views/system/QuartzJobList.vue
  31. 2
      src/views/system/RoleUserList.vue
  32. 2
      src/views/system/SysAnnouncementList.vue
  33. 2
      src/views/system/SysCategoryList.vue
  34. 2
      src/views/system/SysPositionList.vue
  35. 2
      src/views/system/UserAnnouncementList.vue
  36. 2
      src/views/system/UserList.vue
  37. 2
      src/views/unitwaste/ProcessUnitWasteWarehouseCodeList.vue
  38. 2
      src/views/waste/ProcessWasteList.vue
  39. 2
      src/views/wastematerials/ProcessWasteMaterialsList.vue

2
src/views/accessrecords/LndustrialExplosiveCome.vue

@ -46,7 +46,7 @@
size="middle"
bordered
rowKey="id"
:scroll="{y:460}"
:scroll="{y:innerHeight / 1.5}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"

2
src/views/accessrecords/LndustrialExplosiveEnter.vue

@ -100,7 +100,7 @@
size="middle"
bordered
rowKey="id"
:scroll="{y:460}"
:scroll="{y:innerHeight / 1.5}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"

2
src/views/accessrecords/ProcessMaterialWarehousingRecord.vue

@ -98,7 +98,7 @@ aq<template>
size="middle"
bordered
rowKey="id"
:scroll="{y:460}"
:scroll="{y:innerHeight /1.5}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"

2
src/views/accessrecords/ProcessMaterialsDeliveryRecord.vue

@ -48,7 +48,7 @@
ref="table"
size="middle"
bordered
:scroll="{y:460}"
:scroll="{y:innerHeight / 1.5}"
rowKey="id"
:columns="columns"
:dataSource="dataSource"

2
src/views/accessrecords/ProcessMaterialsPlanRecord.vue

@ -48,7 +48,7 @@
ref="table"
size="middle"
bordered
:scroll="{y:460}"
:scroll="{y:innerHeight / 1.5}"
rowKey="id"
:columns="columns"
:dataSource="dataSource"

2
src/views/activiti/ModelList.vue

@ -41,7 +41,7 @@
</div>
<!-- table区域-begin -->
<a-table :scroll="{x:1280,y:600}" bordered
<a-table :scroll="{x:1280,y:innerHeight/1.5}" bordered
ref="table"
size="middle"
rowKey="id"

2
src/views/activiti/ProcessModelList.vue

@ -52,7 +52,7 @@
</div>
<!-- table区域-begin -->
<a-table :scroll="{x:1200,y:500}" bordered
<a-table :scroll="{x:1200,y:innerHeight/1.5}" bordered
ref="table"
size="middle"
rowKey="id"

2
src/views/activiti/ProcessUserModelList.vue

@ -51,7 +51,7 @@
</div>
<!-- table区域-begin -->
<a-table :scroll="{x:1200,y:500}" bordered
<a-table :scroll="{x:1200,y:innerHeight / 1.5}" bordered
ref="table"
size="middle"
rowKey="id"

2
src/views/description/ProcessDescriptionList.vue

@ -68,7 +68,7 @@
<a-table
ref="table"
size="middle"
:scroll="{y:460}"
:scroll="{y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/gunpowder/ProcessIndustrialCachelibraryList.vue

@ -63,7 +63,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
:scroll="{x:true,y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/gunpowder/ProcessIndustrialDescriptionList.vue

@ -63,7 +63,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
:scroll="{x:true,y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/gunpowder/ProcessIndustrialExplosiveLists.vue

@ -61,7 +61,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
:scroll="{x:true,y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/gunpowder/ProcessIndustrialScrapLists.vue

@ -61,7 +61,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
:scroll="{x:true,y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/gunpowder/ProcessIndustrialSupplierList.vue

@ -67,7 +67,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
:scroll="{x:true,y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/industrial/ProcessIndustrialList.vue

@ -76,7 +76,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
:scroll="{x:true,y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/materialstorage/ProcessMaterialStorageList.vue

@ -74,7 +74,7 @@
<a-table
ref="table"
size="middle"
:scroll="{ y:460}"
:scroll="{y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

1
src/views/merchandisenews/ProcessMerchandiseNewsList.vue

@ -142,6 +142,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:1200,y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/modules/message/SysMessageList.vue

@ -70,7 +70,7 @@
ref="table"
size="middle"
bordered
:scroll="{y:460}"
:scroll="{y:innerHeight / 1.5}"
rowKey="id"
:columns="columns"
:dataSource="dataSource"

2
src/views/modules/message/SysMessageTemplateList.vue

@ -76,7 +76,7 @@
ref="table"
size="middle"
bordered
:scroll="{y:460}"
:scroll="{y:innerHeight / 1.5}"
rowKey="id"
:columns="columns"
:dataSource="dataSource"

2
src/views/modules/oss/OSSFileList.vue

@ -84,7 +84,7 @@
size="middle"
bordered
rowKey="id"
:scroll="{y:660}"
:scroll="{y:innerHeight / 1.5}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"

2
src/views/office/OfficeConfig.vue

@ -35,6 +35,7 @@
<a-table
ref="table"
:scroll="{y:innerHeight/1.5}"
bordered
size="middle"
rowKey="id"
@ -43,7 +44,6 @@
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
:scroll="{ y: 450 }"
@change="handleTableChange"
>

2
src/views/regime/ProcessElegantList.vue

@ -86,7 +86,7 @@
size="middle"
bordered
rowKey="id"
:scroll="{y:660}"
:scroll="{y:innerHeight / 1.5}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"

2
src/views/regime/ProcessRegimeList.vue

@ -66,7 +66,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:true, y: 600}"
:scroll="{x:true, y: innerHeight / 1.5}"
bordered
rowKey="id"
:columns="columns"

4
src/views/regime/modules/ProcessRegimeForm.vue

@ -13,8 +13,8 @@
<j-upload v-decorator="['fileId']" :trigger-change="true" style="z-index: 999"></j-upload>
<!-- <br/>-->
<span v-for="item in ossFileList">
<a :href="item.url" >{{item.name}}</a>
</span>
<a :href="item.url" >{{item.name}}</a>
</span>
<!-- <FileList v-decorator="['ossFileList']" ></FileList>-->
</a-form-item>

2
src/views/supplier/ProcessSupplierList.vue

@ -93,7 +93,7 @@
<a-table
ref="table"
size="middle"
:scroll="{ y:460}"
:scroll="{y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

4
src/views/suppliesstronger/ProcessSuppliesStrongerList.vue

@ -57,9 +57,10 @@
</div>
<a-table
id="aaa"
ref="table"
size="middle"
:scroll="{y:600}"
:scroll="{y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"
@ -253,6 +254,7 @@
created() {
this.getSuperFieldList();
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;

1
src/views/system/DataLogList.vue

@ -40,6 +40,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:1200,y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/system/DictList.vue

@ -39,7 +39,7 @@
ref="table"
rowKey="id"
size="middle"
:scroll="{y:460}"
:scroll="{y:innerHeight / 1.5}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"

2
src/views/system/LogList.vue

@ -61,7 +61,7 @@
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:scroll="{x: false, y: 470 }"
:scroll="{x:false,y:innerHeight/1.5}" bordered
@change="handleTableChange">
<!-- 表格+号展开-->

1
src/views/system/QuartzJobList.vue

@ -57,6 +57,7 @@
<a-table
ref="table"
size="middle"
:scroll="{x:1200,y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/system/RoleUserList.vue

@ -56,7 +56,7 @@
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:scroll="{y:460}"
:scroll="{y:innerHeight/1.5}"
:rowSelection="{selectedRowKeys: selectedRowKeys1, onChange: onSelectChange1, type:'radio'}"
@change="handleTableChange">
<span slot="action" slot-scope="text, record">

2
src/views/system/SysAnnouncementList.vue

@ -60,7 +60,7 @@
size="middle"
bordered
rowKey="id"
:scroll="{y:460}"
:scroll="{y:innerHeight /1.5}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"

2
src/views/system/SysCategoryList.vue

@ -27,7 +27,7 @@
ref="table"
size="middle"
rowKey="id"
:scroll="{y:460}"
:scroll="{y:innerHeight / 1.5}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"

2
src/views/system/SysPositionList.vue

@ -74,7 +74,7 @@
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:scroll="{x: false, y: 460 }"
:scroll="{x: false, y: innerHeight/1.5 }"
@change="handleTableChange">
<span slot="action" slot-scope="text, record">

2
src/views/system/UserAnnouncementList.vue

@ -40,7 +40,7 @@
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:scroll="{y:460}"
:scroll="{y:innerHeight / 1.5}"
@change="handleTableChange">
<span slot="action" slot-scope="text, record">
<a @click="showAnnouncement(record)">查看</a>

2
src/views/system/UserList.vue

@ -138,7 +138,7 @@
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
:scroll="{ y: 450 }"
:scroll="{y:innerHeight/1.5}"
@change="handleTableChange"
>

2
src/views/unitwaste/ProcessUnitWasteWarehouseCodeList.vue

@ -85,7 +85,7 @@
<a-table
ref="table"
size="middle"
:scroll="{y:460}"
:scroll="{y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/waste/ProcessWasteList.vue

@ -77,7 +77,7 @@
<a-table
ref="table"
size="middle"
:scroll="{y:460}"
:scroll="{y:innerHeight/1.5}"
bordered
rowKey="id"
:columns="columns"

2
src/views/wastematerials/ProcessWasteMaterialsList.vue

@ -66,7 +66,7 @@
ref="table"
size="middle"
bordered
:scroll="{ y:470}"
:scroll="{y:innerHeight/1.5}"
rowKey="id"
:columns="columns"
:dataSource="dataSource"

Loading…
Cancel
Save