-
-
{{ alert.type }}
-
{{ alert.time }}
+
@@ -72,6 +180,48 @@ import { useGlobalStore } from '../../stores/global'
const store = useGlobalStore()
+const viewMode = ref('map') // 'map' or 'grid'
+const selectedCommunity = ref(null)
+
+const communities = ref([
+ {
+ name: '青和园社区',
+ location: 'A区 3号楼 102单元',
+ robots: 12,
+ status: 'normal',
+ time: '刚刚',
+ image: 'https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?q=80&w=400&auto=format&fit=crop',
+ x: 45, y: 35 // Map coordinates in %
+ },
+ {
+ name: '锦绣华府',
+ location: '西门 康复广场',
+ robots: 8,
+ status: 'normal',
+ time: '2分钟前',
+ image: 'https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=400&auto=format&fit=crop',
+ x: 35, y: 55
+ },
+ {
+ name: '长青护理院',
+ location: '2层 走廊尽头',
+ robots: 15,
+ status: 'normal',
+ time: '刚刚',
+ image: 'https://images.unsplash.com/photo-1586023492125-27b2c045efd7?q=80&w=400&auto=format&fit=crop',
+ x: 55, y: 45
+ },
+ {
+ name: '云栖养老中心',
+ location: '15号 独栋小院',
+ robots: 6,
+ status: 'normal',
+ time: '5分钟前',
+ image: 'https://images.unsplash.com/photo-1501785888041-af3ef285b470?q=80&w=400&auto=format&fit=crop',
+ x: 42, y: 65
+ }
+])
+
const kpis = ref([
{ label: '覆盖社区数', value: '128', trend: '12%', trendUp: true },
{ label: '在线机器人', value: '1,042', trend: '5%', trendUp: true },
@@ -81,6 +231,22 @@ const kpis = ref([
diff --git a/src/views/agency/Records.vue b/src/views/agency/Records.vue
new file mode 100644
index 0000000..a72045d
--- /dev/null
+++ b/src/views/agency/Records.vue
@@ -0,0 +1,340 @@
+
+
+
+
+
护理记录档案
+
基于区块链存证的标准化护理记录,确保服务可追溯、不可篡改
+
+
+
+
+
+
+
+
{{ stat.label }}
+
+
{{ stat.value }}
+
{{ stat.trend }}
+
+
+
+
+
+
+
+
+ 🔍
+
+
+
+
+
+ 数据状态:
+
+
+ 链上同步正常
+
+
+
+
+
+
+
+
+ 📅 日常护理日志
+
+
+
+
+
+
+
+
+
+
+
+ {{ record.avatar }}
+
+
+
{{ record.elder }}
+
{{ record.room }}
+
+
+
+
+
+
+
+
+
+ {{ record.type }}
+
+ {{ record.title }}
+
+
{{ record.content }}
+
+
+
+
+
+
+
Entry Time
+
{{ record.time }}
+
+
+
+
Chain Hash
+
{{ record.hash }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 🔗 区块链实时存证流
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ log.hash }}
+
+
+
{{ log.time }}
+
+
+ {{ log.desc }}
+
+
+
+
+
+
+ {{ ['🛡️', '🔑', '⛓️'][i-1] }}
+
+
+
Validated Block
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
新增护理记录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 🔗
+
+ 提交后将自动生成 SHA-256 存证哈希并固化至区块链,记录一旦生成将永久可查且不可修改。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/agency/Workspace.vue b/src/views/agency/Workspace.vue
index 716b55e..896d1c0 100644
--- a/src/views/agency/Workspace.vue
+++ b/src/views/agency/Workspace.vue
@@ -1,116 +1,336 @@
+
+
+
+
+ {{ stat.icon }}
+
+
+
{{ stat.label }}
+
{{ stat.value }}
+
+
+
+
-
-
+
+
-
常规巡护 (Routine)
-
12
+
+
+
常规巡护任务
+
+
{{ routineTasks.length }}
-
-
+
-
-
+
+
-
需关注 (Attention)
-
2
+
+
+
需关注事项
+
+
{{ attentionTasks.length }}
-
-
+
-
-
+
+
-
紧急告警 (Critical)
-
1
+
+
+
紧急医疗告警
+
+
+ {{ criticalTasks.length }}
+
-