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