Commit 651b6558 authored by zhengke's avatar zhengke

修改

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