@@ -32,7 +32,7 @@ export default {
},
// 客户动态
dynamicsList(query) {
- return micro_request.postRequest(basePath, 'Customer', 'DynamicsList', query)
+ return micro_request.postRequest(basePath, 'Customer', 'GetDynamicsList', query)
// 客户归属记录
getBelongs(query) {
@@ -410,7 +410,7 @@
type: 'warning',
})
.then(async () => {
- const [err, res] = await to(api.deleteContact({ Id: row.id, custId: parseInt(this.id) }))
+ const [err, res] = await to(api.deleteContact({ Ids: [row.id], custId: parseInt(this.id) }))
if (err) return
if (res.code == 200) {
this.$message({
@@ -328,7 +328,7 @@
- const [err, res] = await to(api.deleteCustomer({ Id: row.id }))
+ const [err, res] = await to(api.deleteCustomer({ Ids: [row.id] }))