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 @@