diff --git a/src/app/components/Sidebar.vue b/src/app/components/Sidebar.vue index 90d49f1..a438054 100644 --- a/src/app/components/Sidebar.vue +++ b/src/app/components/Sidebar.vue @@ -48,8 +48,7 @@ const menuGroups = [ ]}, { title: '授权', items: [ { path: '/licenses', label: '授权管理', icon: Key }, - { path: '/activation', label: '激活管理', icon: Key }, - ]}, + ]}, { title: '配置', items: [ { path: '/config-files', label: '配置管理', icon: FileCode }, ]}, @@ -58,7 +57,6 @@ const menuGroups = [ ]}, { title: '维修', items: [ { path: '/repair', label: '维修工单', icon: Wrench }, - { path: '/repair/stats', label: '维修统计', icon: Wrench }, { path: '/scrap', label: '报废回收', icon: Wrench }, ]}, ] diff --git a/src/app/pages/ActivationManagement.vue b/src/app/pages/ActivationManagement.vue deleted file mode 100644 index 96af4cc..0000000 --- a/src/app/pages/ActivationManagement.vue +++ /dev/null @@ -1,247 +0,0 @@ - - - diff --git a/src/app/pages/Dashboard.vue b/src/app/pages/Dashboard.vue index 85fdd66..931e196 100644 --- a/src/app/pages/Dashboard.vue +++ b/src/app/pages/Dashboard.vue @@ -87,7 +87,7 @@ const metrics = [ { label: '维修中', value: '23', trend: 'down' as const, trendValue: '-12.3%', color: '#FF4D4F', icon: Wrench, link: '/repair' }, { label: '报废', value: '56', color: '#FA8C16', icon: Target, link: '/scrap' }, { label: '授权即将到期', value: '45', color: '#FAAD14', icon: Clock, link: '/licenses' }, - { label: '升级中', value: '8', color: '#13C2C2', icon: Upload, link: '/firmware' }, + { label: '可升级', value: '8', color: '#13C2C2', icon: Upload, link: '/firmware' }, ] const deviceStatusData = [ @@ -116,8 +116,8 @@ const taskGroups = [ { title: '固件升级通知', count: 8, link: '/firmware', tasks: [ - { deviceSN: 'SN2024030710', description: '固件版本v2.3.5可用', time: '1天前', link: '/firmware' }, - { deviceSN: 'SN2024030711', description: '固件版本v2.3.5可用', time: '1天前', link: '/firmware' }, + { deviceSN: 'GD-30 Supreme', description: '固件版本v2.3.5可用', time: '1天前', link: '/firmware' }, + { deviceSN: 'GD-10 Supreme', description: '固件版本v2.3.5可用', time: '1天前', link: '/firmware' }, ], }, { diff --git a/src/app/pages/DeviceDetail.vue b/src/app/pages/DeviceDetail.vue index d96e1b3..d7845c3 100644 --- a/src/app/pages/DeviceDetail.vue +++ b/src/app/pages/DeviceDetail.vue @@ -68,28 +68,6 @@ - -
-

硬件拓扑

-
- -
-
-

授权信息

@@ -100,12 +78,7 @@
授权状态
- - 已激活 - + 已激活
授权类型
@@ -123,14 +96,91 @@
剩余天数
317天
+ + +
+
授权功能模块
+
+ {{ m }} +
+
+
+
授权文件:
+ +
+ + + +
+

装配记录

+
-
授权功能模块
-
1D(SP/VES/IP) / 2D(SP/ERT/IP) / 3D(SP/ERT/IP)
+
装配工单
+
ASM-2025-000001
-
授权文件
- +
装配人员
+
张工程师
+
+
装配日期
+
2025-01-15
+
+
+
测试人员
+
李工程师
+
+
+
测试结果
+ 通过 +
+
+
Checklist完成
+
22/22 项
+
+
+ +
+
装配Checklist摘要
+
+
+ + {{ item.name }} +
+
+
+
+ + +
+

子设备列表

+
+ + + + + + + + + + + + + + + + + + + + + +
板卡类型SN号硬件版本固件版本校准状态状态
{{ sub.type }}{{ sub.sn }}{{ sub.hwVersion }}{{ sub.fwVersion }} + {{ sub.calibration }} + + {{ sub.status }} +
@@ -220,4 +270,20 @@ const maintenanceHistory = [ { date: '2024-02-15', type: '主板更换', operator: '李工程师', description: '更换主控板(旧:MB20231215001 → 新:MB20240215001)' }, { date: '2024-01-20', type: '常规保养', operator: '张工程师', description: '清洁设备,检查线路连接,测试功能正常' }, ] + +const authModules = ['1D SP', '2D SP', '3D SP', '1D VES', '2D ERT', '3D ERT', '1D IP', '2D IP', '3D IP'] + +const checklistSummary = [ + { name: '主板SN扫码绑定主机' }, { name: '采集板SN录入' }, { name: '发射板SN录入' }, + { name: '内置升压模块检查' }, { name: 'GPS/北斗检测' }, { name: '电池安装与容量检测' }, + { name: '系统启动正常' }, { name: '采集APP连接' }, { name: 'IP66防护与密封' }, { name: '出厂装箱核对' }, +] + +const subDevices = [ + { type: '主板', sn: 'MB20240308001', hwVersion: 'A1', fwVersion: 'v2.3.5', calibration: '无需校准', status: '正常' }, + { type: '采集板', sn: 'RX20240308002', hwVersion: 'A1', fwVersion: 'v1.8.2', calibration: '已校准', status: '正常' }, + { type: '发射板', sn: 'TX20240308003', hwVersion: 'A1', fwVersion: 'v1.5.0', calibration: '无需校准', status: '正常' }, + { type: '测控板', sn: 'MC20240308004', hwVersion: 'A1', fwVersion: 'v1.5.1', calibration: '无需校准', status: '正常' }, + { type: '升压板', sn: 'BO20240308005', hwVersion: 'A1', fwVersion: 'v1.0.0', calibration: '无需校准', status: '正常' }, +] diff --git a/src/app/pages/DeviceList.vue b/src/app/pages/DeviceList.vue index 7e3273e..8f8b142 100644 --- a/src/app/pages/DeviceList.vue +++ b/src/app/pages/DeviceList.vue @@ -123,7 +123,6 @@
-