diff --git a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/components/AlarmPanel.vue b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/components/AlarmPanel.vue new file mode 100644 index 0000000..ad74379 --- /dev/null +++ b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/components/AlarmPanel.vue @@ -0,0 +1,86 @@ + + + + + 告警面板{{ props?.subscribe ? '(' + props.subscribe + ')' : '' }} + + + {{ a.severity }} + {{ a.title }} {{ a.device }} · {{ a.time }} + + {{ a.acked ? '已确认' : '确认' }} + + + + + + + diff --git a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/components/KpiCard.vue b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/components/KpiCard.vue new file mode 100644 index 0000000..6eb677f --- /dev/null +++ b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/components/KpiCard.vue @@ -0,0 +1,82 @@ + + + + + {{ kpi.label || '指标' }} + + {{ kpi.value ?? '--' }}{{ kpi.unit }} + + {{ level }} + + + + diff --git a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/components/ProcessFlow.vue b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/components/ProcessFlow.vue new file mode 100644 index 0000000..c9f3fba --- /dev/null +++ b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/components/ProcessFlow.vue @@ -0,0 +1,109 @@ + + + + + {{ props?.src ? '四状态工艺流程(' + props.src + ')' : '四状态工艺流程' }} + + + + + + {{ s.name || s.id }} + {{ s.device }} + {{ stageState(i) }} + + → + + + + {{ (props?.src as string) || '流程图资源' }}(流程节点由模板 stages 声明) + + + + + + + diff --git a/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/index.vue b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/index.vue new file mode 100644 index 0000000..946e321 --- /dev/null +++ b/deploy/fba/fba-ui-src/apps/web-antdv-next/src/views/iaop/cockpit/index.vue @@ -0,0 +1,137 @@ + + + + + + {{ planTitle }} + + + {{ inferOnline ? '● 推理服务在线' : '○ 推理服务离线' }} + + 行业模板:海绵钛(Ti) + + + + + + + + + + + + + + + + + + + + + +