|
|
@@ -231,12 +231,16 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<br>
|
|
|
- <el-pagination
|
|
|
- background
|
|
|
- :total="pageination.total"
|
|
|
- :page-size="pageination.pageItem"
|
|
|
- @current-change="pageChange"
|
|
|
- ></el-pagination>
|
|
|
+ <div class="pagination" v-if="pageshow">
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="pageChange"
|
|
|
+ :current-page.sync="cur_page"
|
|
|
+ :page-size="pageination.pageItem"
|
|
|
+ :total="pageination.total">
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<el-dialog :title="dialogTitle" :visible.sync="dialogMemberVisible" width="1200px">
|
|
|
@@ -353,6 +357,8 @@
|
|
|
dialogValue: [],
|
|
|
start: 0,
|
|
|
draw: 1,
|
|
|
+ cur_page: 1,
|
|
|
+ pageshow: true,
|
|
|
// panel 配置项目
|
|
|
panel: {
|
|
|
name: '',
|
|
|
@@ -433,7 +439,7 @@
|
|
|
this.form.btnType = 1;
|
|
|
|
|
|
this.form.shopId = row.Id;
|
|
|
- this.dialogMemberVisible = true
|
|
|
+ this.dialogMemberVisible = true;
|
|
|
this.dialogTitle = '编辑会员'
|
|
|
},
|
|
|
// 禁用
|
|
|
@@ -1003,6 +1009,7 @@
|
|
|
let that = this;
|
|
|
this.draw = 1;
|
|
|
this.start = 0;
|
|
|
+ this.cur_page = 1;//cur_page 当前页
|
|
|
that.serachBtnStatus = true;
|
|
|
let totalTime = 2;
|
|
|
let clock = window.setInterval(() => {
|
|
|
@@ -1013,6 +1020,10 @@
|
|
|
}
|
|
|
}, 1000);
|
|
|
this.getTableQuery();
|
|
|
+ this.pageshow = false;//让分页隐藏
|
|
|
+ this.$nextTick(() => {//重新渲染分页
|
|
|
+ this.pageshow = true;
|
|
|
+ });
|
|
|
this.$message.success('查询完毕');
|
|
|
},
|
|
|
clearForm() {
|
|
|
@@ -1045,7 +1056,7 @@
|
|
|
that.loading = false;
|
|
|
if (json.Rs) {
|
|
|
that.allTableData = json.Rs;
|
|
|
- that.recordsTotal = parseInt(json.PageCount) * 100;
|
|
|
+ that.recordsTotal = parseInt(json.AllCount);
|
|
|
} else {
|
|
|
that.allTableData = [];
|
|
|
that.recordsTotal = 0;
|