diff --git a/src/api/reagent/client.js b/src/api/reagent/client.js index 64b898c..fd8fd3d 100644 --- a/src/api/reagent/client.js +++ b/src/api/reagent/client.js @@ -8,3 +8,21 @@ export function get_list(data) { data }) } + +// /api/client/add_or_update +export function add_or_update(data) { + return request({ + url: '/api/client/add_or_update', + method: 'post', + data + }) +} + +// /api/client/update_status +export function update_status(data) { + return request({ + url: '/api/client/update_status', + method: 'post', + data + }) +} diff --git a/src/views/reagent/client/index.vue b/src/views/reagent/client/index.vue index d88d552..14bf8c4 100644 --- a/src/views/reagent/client/index.vue +++ b/src/views/reagent/client/index.vue @@ -4,11 +4,15 @@