|
@@ -6,7 +6,7 @@
|
|
|
<el-button type="primary" class="add" style="margin-bottom:10px ;" @click="albumNewlyIncreased()">新增
|
|
|
</el-button>
|
|
|
<!-- :height="tableH" -->
|
|
|
- <el-table :data="albumTableData" border :height="tableH" stripe
|
|
|
+ <el-table :data="albumTableData" ref='multipleTable' border :height="tableH" stripe
|
|
|
:header-cell-style="{ background: '#e5e8ed', color: '#666', textAlign: 'center' }"
|
|
|
:cell-style="tableStyle" style="cursor: default" @sort-change="sortChange">
|
|
|
<el-table-column width="100" label="序号">
|
|
@@ -57,7 +57,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- :height="tableH" -->
|
|
|
- <el-table :data="tableData" :height="tableHs" border stripe
|
|
|
+ <el-table :data="tableData" ref='multipleTable' :height="tableHs" border stripe
|
|
|
:header-cell-style="{ background: '#e5e8ed', color: '#666', textAlign: 'center' }"
|
|
|
:cell-style="tableStyle" style="cursor: default" @sort-change="sortChange">
|
|
|
<el-table-column width="50" label="序号">
|
|
@@ -67,7 +67,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="pictureTitle" label="作品名称" :show-overflow-tooltip="true" width="120">
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="pictureAuthor" label="作品作者" width="100"></el-table-column>
|
|
|
+ <el-table-column prop="pictureAuthor" label="作品作者" :show-overflow-tooltip="true" width="100"></el-table-column>
|
|
|
<el-table-column prop="uploaderPhone" label="作者电话" :show-overflow-tooltip="true" width="120">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="pictureDescription" label="作品描述" width="200" :show-overflow-tooltip="true">
|
|
@@ -648,6 +648,7 @@ export default {
|
|
|
},
|
|
|
handleCurrentChange(currentPage) {
|
|
|
this.currentPage = currentPage;
|
|
|
+ this.$refs.multipleTable.bodyWrapper.scrollTop = 0;
|
|
|
if (this.column == null) {
|
|
|
let params = {
|
|
|
page: this.currentPage,
|
|
@@ -829,6 +830,7 @@ export default {
|
|
|
handleCurrentChanges(currentPage) {
|
|
|
this.currentPage = currentPage;
|
|
|
this.getalbum();
|
|
|
+ this.$refs.multipleTable.bodyWrapper.scrollTop = 0;
|
|
|
},
|
|
|
//保存修改
|
|
|
saveModifyWork() {
|