Commit 7ddedfe7 authored by huangjie's avatar huangjie

*

parent e33b04fa
...@@ -1244,3 +1244,9 @@ ...@@ -1244,3 +1244,9 @@
overflow-y: clip; overflow-y: clip;
} }
} }
.el-table__fixed {
.el-table__body {
padding-bottom: 16px;
}
}
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
</div> </div>
<skeleton v-if="isSkeleton"></skeleton> <skeleton v-if="isSkeleton"></skeleton>
<el-table v-if="!isSkeleton&&tableData.total > 0" class="fixed-table" <el-table v-if="!isSkeleton&&tableData.total > 0" class="fixed-table" max-height="640"
:data="tableData.rows" :data="tableData.rows"
stripe border stripe border
style="width: 100%"> style="width: 100%">
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<template slot-scope="scope">{{ queryParams.pageNum * queryParams.pageSize - queryParams.pageSize + scope.$index + 1 }}</template> <template slot-scope="scope">{{ queryParams.pageNum * queryParams.pageSize - queryParams.pageSize + scope.$index + 1 }}</template>
</el-table-column> </el-table-column>
<template v-for="item in forData"> <template v-for="item in forData">
<el-table-column <el-table-column max-height="640"
:label="item.label" :label="item.label"
:prop="item.prop" :prop="item.prop"
:width="item.width" :width="item.width"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div class="p2">抱歉,你还未添加相关数据,快去添加吧</div> <div class="p2">抱歉,你还未添加相关数据,快去添加吧</div>
<div class="btn btn_primary h36 w102" @click="opennew" v-if="isDisableds == false">新增联系人</div> <div class="btn btn_primary h36 w102" @click="opennew" v-if="isDisableds == false">新增联系人</div>
</div> </div>
<el-table class="fixed-table" v-else <el-table class="fixed-table" v-else max-height="640"
:data="tableData" :data="tableData"
stripe border stripe border
style="width: 100%" style="width: 100%"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<div class="p2">建议调整关键词或添加相关企业,重新搜索</div> <div class="p2">建议调整关键词或添加相关企业,重新搜索</div>
<div class="btn btn_primary h36 w102" @click="opennew" v-if="isDisableds==false">新增相关企业</div> <div class="btn btn_primary h36 w102" @click="opennew" v-if="isDisableds==false">新增相关企业</div>
</div> </div>
<el-table v-else-if="!isSkeleton" class="fixed-table" <el-table v-else-if="!isSkeleton" class="fixed-table" max-height="640"
:data="tableData.rows" :data="tableData.rows"
style="width: 100%" style="width: 100%"
:default-sort = "{prop: 'depth', order: 'descending'}" :default-sort = "{prop: 'depth', order: 'descending'}"
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
上传文档 上传文档
</el-upload></div> </el-upload></div>
</div> </div>
<el-table v-else-if="!isSkeleton" class="fixed-table" <el-table v-else-if="!isSkeleton" class="fixed-table" max-height="640"
:data="fileDatas.rows" :data="fileDatas.rows"
style="width: 100%" style="width: 100%"
:default-sort = "{prop: 'creatTime', order: 'descending'}" :default-sort = "{prop: 'creatTime', order: 'descending'}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment