diff --git a/src/icons/svg/手.svg b/src/icons/svg/手.svg
new file mode 100644
index 0000000..617781a
--- /dev/null
+++ b/src/icons/svg/手.svg
@@ -0,0 +1,2 @@
+
\ No newline at end of file
diff --git a/src/icons/svg/皇冠.svg b/src/icons/svg/皇冠.svg
new file mode 100644
index 0000000..096f056
--- /dev/null
+++ b/src/icons/svg/皇冠.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 0025792..94d0959 100644
--- a/src/views/reagent/report/index.vue
+++ b/src/views/reagent/report/index.vue
@@ -19,10 +19,10 @@
使用频率
-
5,037
-
合计使用频率(次)
-
已领用183次,归还180次
-
乙醇
+
{{ use_avg_info.avg_use_number }}
+
平均使用频率(次/种)
+
使用最高频试剂:{{ use_avg_info.max_name }}
+
单个试剂最高频次:已使用{{ use_avg_info.max_number }}次
@@ -143,6 +143,9 @@ export default {
},
recordConsume: {
count_number: 0
+ },
+ use_avg_info: {
+
},
userData: []
}
@@ -162,7 +165,8 @@ export default {
},
methods: {
initDataFunc() {
- const { drug_stock_expend, drug_use_type_data, user_use_expend } = this.pageData
+ const { drug_stock_expend, drug_use_type_data, user_use_expend, use_avg_info } = this.pageData
+ this.use_avg_info = use_avg_info
this.pdc = drug_stock_expend.count_number
this.userData = user_use_expend
const instock = drug_stock_expend.data.find(item => item.status === 1)
@@ -183,7 +187,6 @@ export default {
document.getElementById('mychart')
)
const data = this.pageData.drug_use_expend.map(item => {
- console.log(item)
item.value = item.count_num
return item
})