|
|
@ -185,10 +185,11 @@ export default { |
|
|
|
let params = { |
|
|
|
ids: ids |
|
|
|
}; |
|
|
|
|
|
|
|
this.$http.get(`oper/crm/customer/delete`, { params: params }).then(({ data: res }) => { |
|
|
|
this.$http.post('oper/crm/customer/delete', params).then(({ data: res }) => { |
|
|
|
console.log(res); |
|
|
|
if (res.code === 0) { |
|
|
|
return this.$message.info(res.data); |
|
|
|
this.$message.info(res.data); |
|
|
|
this.$refs.table.loadData(); |
|
|
|
} else { |
|
|
|
return this.$message.error(res.internalMsg); |
|
|
|
} |
|
|
|