diff --git a/src/components/dashboard/DeviceSection.vue b/src/components/dashboard/DeviceSection.vue
new file mode 100644
index 0000000..6c49a60
--- /dev/null
+++ b/src/components/dashboard/DeviceSection.vue
@@ -0,0 +1,156 @@
+
+
+ {{ t('deviceOverview.title') }}
+
+
+ {{ deviceData.totalDevices }}
+ {{ t('deviceOverview.totalDevices') }}
+
+
+ {{ deviceData.runningCount }}
+ {{ t('deviceOverview.runningCount') }}
+
+
+ {{ deviceData.standbyCount }}
+ {{ t('deviceOverview.standbyCount') }}
+
+
+ {{ deviceData.faultCount }}
+ {{ t('deviceOverview.faultCount') }}
+
+
+
+
+ {{ deviceData.offlineCount }}
+ {{ t('deviceOverview.offlineCount') }}
+
+
+ {{ deviceData.utilizationRate }}
+ {{ t('deviceOverview.utilizationRate') }}
+
+
+ {{ deviceData.bootRate }}
+ {{ t('deviceOverview.bootRate') }}
+
+
+ {{ deviceData.faultRate }}
+ {{ t('deviceOverview.faultRate') }}
+
+
+
+
+
+
+
+
diff --git a/src/locales/en-US.js b/src/locales/en-US.js
index 97b8328..ab004f6 100644
--- a/src/locales/en-US.js
+++ b/src/locales/en-US.js
@@ -90,6 +90,17 @@ export default {
saturday: 'Sat',
sunday: 'Sun'
},
+ deviceOverview: {
+ title: 'Device Overview',
+ totalDevices: 'Total',
+ runningCount: 'Running',
+ standbyCount: 'Standby',
+ faultCount: 'Fault',
+ offlineCount: 'Offline',
+ utilizationRate: 'Utilization',
+ bootRate: 'Boot Rate',
+ faultRate: 'Fault Rate'
+ },
taskList: {
taskType: 'Task Type',
orderDate: 'Order Date',
diff --git a/src/locales/zh-CN.js b/src/locales/zh-CN.js
index 3e6fc8a..bb75150 100644
--- a/src/locales/zh-CN.js
+++ b/src/locales/zh-CN.js
@@ -90,6 +90,17 @@ export default {
saturday: '周六',
sunday: '周日'
},
+ deviceOverview: {
+ title: '设备概括',
+ totalDevices: '设备总数',
+ runningCount: '运行',
+ standbyCount: '待机',
+ faultCount: '故障',
+ offlineCount: '离线',
+ utilizationRate: '利用率',
+ bootRate: '开机率',
+ faultRate: '故障率'
+ },
taskList: {
taskType: '任务类型',
orderDate: '下单日期',
diff --git a/src/pages/index.vue b/src/pages/index.vue
index 1d46ebc..9f89080 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -9,6 +9,8 @@
+
+
@@ -26,6 +28,7 @@ import BannerSection from '@/components/dashboard/BannerSection.vue'
import NavSection from '@/components/dashboard/NavSection.vue'
import StatsSection from '@/components/dashboard/StatsSection.vue'
import PlanSection from '@/components/dashboard/PlanSection.vue'
+import DeviceSection from '@/components/dashboard/DeviceSection.vue'
const scrollTop = ref(0)
const currentScrollTop = ref(0)