From 5df99f8aaf126f74ac00f0ef06664dcdc77282b6 Mon Sep 17 00:00:00 2001 From: duan Date: Mon, 1 Aug 2022 14:01:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(src/views/reagent/report/record/index.vue)?= =?UTF-8?q?:=20=E5=AE=8C=E6=88=90=20=E5=85=A5=E5=BA=93=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E3=80=81=E9=A2=86=E7=94=A8=E8=AE=B0=E5=BD=95=E3=80=81=E5=BD=92?= =?UTF-8?q?=E8=BF=98=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/report.js | 18 ++ src/router/index.js | 14 ++ src/views/reagent/report/index.vue | 8 +- .../reagent/report/inventoryconsum/index.vue | 2 +- .../reagent/report/reagentconsum/index.vue | 2 +- .../reagent/report/reagentinfo/index.vue | 2 +- src/views/reagent/report/record/index.vue | 178 ++++++++++++++++++ src/views/reagent/report/storeinfo/index.vue | 2 +- src/views/reagent/report/userconsum/index.vue | 2 +- .../reagent/report/warehousinginfo/index.vue | 2 +- 10 files changed, 220 insertions(+), 10 deletions(-) create mode 100644 src/views/reagent/report/record/index.vue diff --git a/src/api/report.js b/src/api/report.js index 32b152b..b7bbea1 100644 --- a/src/api/report.js +++ b/src/api/report.js @@ -44,3 +44,21 @@ export function drug_user_use_expend(data) { data }) } + +// /api/report/use_frequency +export function use_frequency(data) { + return request({ + url: '/api/report/use_frequency', + method: 'post', + data + }) +} + +// /api/report/drug_log_type_info +export function drug_log_type_info(data) { + return request({ + url: '/api/report/drug_log_type_info', + method: 'post', + data + }) +} diff --git a/src/router/index.js b/src/router/index.js index 94b1b52..dadb4d2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -121,6 +121,20 @@ export const constantRoutes = [ component: () => import('@/views/reagent/report/userconsum/index'), hidden: true, meta: { title: '人员用量消耗', icon: '报表统计' } + }, + { + path: 'usefrequencyinfo', + name: 'UseFrequencyInfo', + component: () => import('@/views/reagent/report/usefrequency/index'), + hidden: true, + meta: { title: '使用频率', icon: '报表统计' } + }, + { + path: 'recordinfo/:t', + name: 'RecordInfo', + component: () => import('@/views/reagent/report/record/index'), + hidden: true, + meta: { title: '记录', icon: '报表统计' } } ] }, diff --git a/src/views/reagent/report/index.vue b/src/views/reagent/report/index.vue index 3c0ff6e..8c3d489 100644 --- a/src/views/reagent/report/index.vue +++ b/src/views/reagent/report/index.vue @@ -12,7 +12,7 @@
试剂使用统计
-