diff --git a/pages/customer/allot/index.js b/pages/customer/allot/index.js index b3f64a8..7970d25 100644 --- a/pages/customer/allot/index.js +++ b/pages/customer/allot/index.js @@ -151,7 +151,7 @@ Page({ }) let params = {}; params['ids'] = that.data.ids; - params['dmin_id'] = that.data.dmin_id; + params['admin_id'] = that.data.admin_id; _.apiQuery.putAppCustomersAdmins(params).then(res => { wx.showToast({ @@ -160,9 +160,10 @@ Page({ duration: 2000 }) that.setData({ - submitFlag: false, + isShowEmployees:false, + submitFlag:false, }) - that.getAppCustomersList() + that.onPullDownRefresh() }).catch(res=>{ that.setData({ diff --git a/pages/customer/allot/index.wxml b/pages/customer/allot/index.wxml index 9c6ea2e..e242ffc 100644 --- a/pages/customer/allot/index.wxml +++ b/pages/customer/allot/index.wxml @@ -3,7 +3,7 @@ - +