Commit 651b6558 authored by zhengke's avatar zhengke

修改

parent 67767090
......@@ -123,7 +123,7 @@
</el-table-column>
</el-table>
</template>
<el-pagination style="text-align:center" background @current-change="handleCurrentChange" :page-size="msg.pageSize"
<el-pagination style="text-align:center" background :current-page.sync="currentPage" @current-change="handleCurrentChange" :page-size="msg.pageSize"
layout="prev, pager, next" :total="total">
</el-pagination>
</div>
......@@ -145,6 +145,7 @@
Title: "",
},
activeName: "1",
currentPage:1,
total: 0,
selectRow: [],
selectRow1: [],
......@@ -162,6 +163,8 @@
handleClick() {
this.msg.Name = '';
this.msg.pageIndex = 1;
this.currentPage = 1;
this.travelMsg.pageIndex = 1;
if (this.activeName == '1') {
this.getHotelPage();
}
......@@ -278,7 +281,11 @@
this.selectRow.push(JSON.parse(JSON.stringify(row)));
},
handleCurrentChange(val) {
if(this.activeName == '4'){
this.travelMsg.pageIndex = val;
}else{
this.msg.pageIndex = val;
}
this.getCommonSerch();
},
//父组件调用方法
......
......@@ -849,7 +849,7 @@
id: x.TCID,
name: x.Title,
picUrl: x.CoverImg,
price: x.B2BPrice,
price: x.SalePrice,
goodType: x.goodType,
subname: x.ProductRecommend,
imglist: x.ImgList
......
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