Commit 7c91c264 by 黄冷

update: dist

parent eefaa92f
......@@ -1366,9 +1366,10 @@ export default {
if(this.search!=''){
params.search=this.search;
}
console.log(params)
listEntepriseWeimobCoupon(params)
.then(res => {
console.log(res.result)
// console.log(res.result)
const {result,totalPage,currentPage} = res.result;
this.totalPage=totalPage;
this.currentPage=currentPage;
......@@ -1383,6 +1384,7 @@ export default {
});
},
remoteMethod(val){
console.log(val)
this.search=val;
this.currentPage=1;
this.weimobDemoCodeList[this.idx].cardList = [];
......@@ -1397,16 +1399,20 @@ export default {
this.listEntepriseWeimobCoupon();
},
getMore(){
if(this.currentPage<this.totalPage){
if(this.currentPage<this.totalPage ){
this.currentPage++
this.listEntepriseWeimobCoupon();
}
},
handleBlur(){
this.search='';
this.currentPage=1;
this.weimobDemoCodeList[this.idx].cardList = [];
this.listEntepriseWeimobCoupon();
console.log('失焦')
if(this.search){
this.search='';
this.currentPage=1;
this.weimobDemoCodeList[this.idx].cardList = [];
this.listEntepriseWeimobCoupon();
}
},
// ---------微盟店铺结束--------
// ------微盟适用商品开始-------
......
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