Browse Source

fix review btn

voice
刘嘉炜 4 years ago
parent
commit
635e035b65
  1. 6
      src/pages/employee/review_list/review_list.vue

6
src/pages/employee/review_list/review_list.vue

@ -46,6 +46,9 @@ export default {
} }
}, },
onLoad(){ onLoad(){
},
onShow(){
this.getUserList(); this.getUserList();
}, },
methods: { methods: {
@ -90,6 +93,7 @@ export default {
mobile: _user.mobile, mobile: _user.mobile,
} }
}else{ }else{
query['type'] = 'multipleReview';
query['userArr'] = _selectedList.map(ele=>ele.id); query['userArr'] = _selectedList.map(ele=>ele.id);
} }
@ -107,7 +111,7 @@ export default {
url: API.employee.employeeGrant, url: API.employee.employeeGrant,
data: { data: {
brand_id: brandInfo.brand.id, brand_id: brandInfo.brand.id,
ids: _selectedList.map(e=>e.id) || [],
ids: _selectedList.map(e=>e.id).join(',') || '',
status: 0 status: 0
}, },
isDefaultGet: false, isDefaultGet: false,

Loading…
Cancel
Save