From e2ad51180257d1181c3076381de06d3c3ff1d796 Mon Sep 17 00:00:00 2001 From: duan Date: Mon, 1 Aug 2022 16:48:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(src/views/reagent/report):=20=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E6=8A=A5=E8=A1=A8=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - src/api/report.js | 9 ++ src/icons/svg/cup.svg | 2 + src/views/reagent/report/index.vue | 168 +++++++++++++++++++++++------ 4 files changed, 145 insertions(+), 35 deletions(-) create mode 100644 src/icons/svg/cup.svg diff --git a/package.json b/package.json index 1aa48a3..62a8626 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ "postcss-px2rem": "^0.3.0", "px2rem-loader": "^0.1.9", "vue": "2.6.10", - "vue-barcode-scanner": "^0.8.1", "vue-router": "3.0.6", "vuex": "3.1.0", "vuex-persistedstate": "^4.1.0" diff --git a/src/api/report.js b/src/api/report.js index b7bbea1..5b2e2a9 100644 --- a/src/api/report.js +++ b/src/api/report.js @@ -62,3 +62,12 @@ export function drug_log_type_info(data) { data }) } + +// /api/report/report_home +export function report_home(data) { + return request({ + url: '/api/report/report_home', + method: 'post', + data + }) +} diff --git a/src/icons/svg/cup.svg b/src/icons/svg/cup.svg new file mode 100644 index 0000000..9a35918 --- /dev/null +++ b/src/icons/svg/cup.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/views/reagent/report/index.vue b/src/views/reagent/report/index.vue index 8c3d489..f2f42d4 100644 --- a/src/views/reagent/report/index.vue +++ b/src/views/reagent/report/index.vue @@ -1,5 +1,9 @@