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 @@
-
-
-
-
-
-
-
-
-
-
-
-
APP激活流程说明
-
- APP读取设备UID → 与后台SN匹配 → 下载授权文件和配置 → 生成设备配置 →
- 激活设备。激活成功后,设备每次开机会自动检测授权文件更新。
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
激活记录
-
-
-
-
-
- | 设备SN号 |
- 型号 |
- 激活日期 |
- 操作人员 |
- 状态 |
- 操作 |
-
-
-
-
- | {{ record.sn }} |
- {{ record.model }} |
- {{ record.activationDate }} |
- {{ record.operator }} |
-
-
- {{ record.status }}
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
APP激活流程 & 开机授权检测
-
-
-
①
-
读取UID
-
APP读取设备UID
-
-
→
-
-
→
-
-
→
-
-
→
-
-
-
-
-
-
-
-
-
开机授权检测机制
-
- 设备每次开机 → APP自动连接 → 检测授权文件是否有更新 → 有更新则自动下载
-
-
-
-
-
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 @@
-
-
-
硬件拓扑
-
-
-
-
-
-
{{ board.name }}
-
{{ board.version }}
-
-
{{ board.sn }}
-
-
→
-
-
-
-
-
授权信息
@@ -100,12 +78,7 @@
授权类型
@@ -123,14 +96,91 @@
剩余天数
317天
+
+
+
+
+
授权文件:
+
+
+
+
+
+
+
装配记录
+
-
授权功能模块
-
1D(SP/VES/IP) / 2D(SP/ERT/IP) / 3D(SP/ERT/IP)
+
装配工单
+
ASM-2025-000001
-
授权文件
-
+
装配人员
+
张工程师
+
+
+
+
+
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 @@
-
|
diff --git a/src/app/pages/ScrapManagement.vue b/src/app/pages/ScrapManagement.vue
index 690bc6e..6645020 100644
--- a/src/app/pages/ScrapManagement.vue
+++ b/src/app/pages/ScrapManagement.vue
@@ -16,7 +16,7 @@ interface ScrapDevice {
const scrapDevices: ScrapDevice[] = [
{
sn: 'GD30-2023-001234',
- model: 'GD30 地质探测仪',
+ model: 'GD-30 Supreme',
scrapDate: '2024-03-01',
status: '已回收',
sourceOrder: 'WO-2024-0001',
@@ -24,15 +24,15 @@ const scrapDevices: ScrapDevice[] = [
},
{
sn: 'GT20-2023-000567',
- model: 'GT20 物探仪',
+ model: 'GT-20 瞬变电磁仪',
scrapDate: '2024-03-05',
status: '已审批',
sourceOrder: 'WO-2024-0025',
reason: '多个核心部件损坏',
},
{
- sn: 'GTXD-2023-000890',
- model: 'GTXD 探测仪',
+ sn: 'GM10-2023-000890',
+ model: 'GM10 大地电磁仪',
scrapDate: '2024-03-08',
status: '待审批',
sourceOrder: 'WO-2024-0048',
@@ -71,13 +71,6 @@ const getStatusStyle = (status: ScrapDevice['status']) => {
报废管理
-