From b19a24842dde42e719217d6af6595e94f9dbde01 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Fri, 17 Mar 2023 16:48:21 +0000 Subject: [PATCH] medfeed edit processing --- src/views/medfeeds/MedFeedsEdit.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/medfeeds/MedFeedsEdit.vue b/src/views/medfeeds/MedFeedsEdit.vue index 30e2712..6fd1763 100644 --- a/src/views/medfeeds/MedFeedsEdit.vue +++ b/src/views/medfeeds/MedFeedsEdit.vue @@ -160,7 +160,16 @@ export default { this.$emit('closetab','list') }, saveMedFeed(medfeed) { - console.log(medfeed) + let url = this.$api_url + "/customers/medicated-feeds/" + this.mf.id + "/save" + axios.put(url,{ + medfeed: medfeed + }) + .then(resp => { + console.log(resp) + }) + .catch(err => { + console.log(err) + }) }, searchCustomers() { this.searching[1] = true