From f6e876f551a73217cee941c2ccc6ffaae49780ce Mon Sep 17 00:00:00 2001 From: duan Date: Tue, 16 Aug 2022 10:29:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(customform):=20=E5=8A=A8=E6=80=81=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E6=8E=A5=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/reagent/customform.js | 8 ++++++++ src/components/ReagentForm/index.vue | 16 +++++++++++++-- src/views/reagent/management/index.vue | 28 ++++++++++++++++++++++---- 3 files changed, 46 insertions(+), 6 deletions(-) diff --git a/src/api/reagent/customform.js b/src/api/reagent/customform.js index 81f5e0f..58a4755 100644 --- a/src/api/reagent/customform.js +++ b/src/api/reagent/customform.js @@ -23,3 +23,11 @@ export function del(data) { data }) } + +export function get_use(data) { + return request({ + url: '/api/drug_form/get_use', + method: 'get', + data + }) +} diff --git a/src/components/ReagentForm/index.vue b/src/components/ReagentForm/index.vue index 389154f..f6e4023 100644 --- a/src/components/ReagentForm/index.vue +++ b/src/components/ReagentForm/index.vue @@ -1,7 +1,7 @@