|
...
|
...
|
@@ -13,6 +13,7 @@ Page({ |
|
|
|
data: {
|
|
|
|
list:[],
|
|
|
|
hasMore:true,
|
|
|
|
hasSalesman:false,
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -21,6 +22,11 @@ Page({ |
|
|
|
enter_params: {},
|
|
|
|
onLoad: function (options) {
|
|
|
|
this.enter_params = util.cache('enter_params');
|
|
|
|
App.Reserve.SellerInfo(this.enter_params).then(res=>{
|
|
|
|
this.setData({
|
|
|
|
hasSalesman:res.data.hasSalesman==1
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.seller_id=options.seller_id||this.enter_params.seller_id;
|
|
|
|
this.getMembers();
|
|
|
|
},
|
|
...
|
...
|
@@ -80,4 +86,15 @@ Page({ |
|
|
|
this.setData(obj)
|
|
|
|
})
|
|
|
|
},
|
|
|
|
sendSalesmanMsg(e){
|
|
|
|
let openid=util.attr(e,'openid')
|
|
|
|
App.Reserve.SendSalesmanMsg({
|
|
|
|
openid:openid
|
|
|
|
}).then(res=>{
|
|
|
|
if(res.ret!=200){
|
|
|
|
return util.toast(res.msg,'none')
|
|
|
|
}
|
|
|
|
util.toast('已发送')
|
|
|
|
})
|
|
|
|
},
|
|
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|