提交 6036d05a 编写于 作者: yi.li's avatar yi.li

选择居民样式优化

上级 ffd81ea6
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
style="width: 100%;margin-top: 10px;" style="width: 100%;margin-top: 10px;"
height="250" height="250"
:row-key="getRowKeys" :row-key="getRowKeys"
class="spe-table"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column <el-table-column
type="selection" type="selection"
...@@ -460,8 +461,8 @@ ...@@ -460,8 +461,8 @@
handleCurrentChangePre(val) { handleCurrentChangePre(val) {
this.paginationSet.pageNum = val this.paginationSet.pageNum = val
this.getPatientsList() this.getPatientsList()
// document.querySelector('.el-table__header-wrapper').scrollTop = '-10'; //控制切换页码的时候,滚动条滚到最上面
console.log('滚动条置顶',document.querySelector('.el-table__header-wrapper').scrollTop) this.$refs.multipleTable.bodyWrapper.scrollTop = 0;
}, },
clickClose(){ clickClose(){
this.$emit('closeSelectPatient',false) this.$emit('closeSelectPatient',false)
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册