kllay 1 dienu atpakaļ
vecāks
revīzija
24f990508c

+ 1 - 0
src/views/system/screenconsole/component/InfoCards.vue

@@ -44,6 +44,7 @@ const infoList = computed(()=>[
   { label: '今日借出', value: props.summaryData.today_borrowed, icon: Avatar },
   { label: '今日归还', value: props.summaryData.today_returned, icon: Folder },
   { label: '累计借用次数', value: props.summaryData.total_borrows, icon: Monitor },
+  { label: '累计借用人数', value: props.summaryData.total_borrowers, icon: User },
 ]);
 function handleClick(item: any) {
   console.log('点击信息卡片:', item.label);

+ 1 - 0
src/views/system/screenconsole/index.vue

@@ -78,6 +78,7 @@ const dataSummary = ref({
 	today_borrowed: 0,
 	today_returned: 0,
 	total_borrows: 0,
+	total_borrowers: 0,
 })
 
 // const apiData = ref({