feat: 完成客户拜访模块全功能开发
本次提交实现了完整的客户拜访业务系统: 1. 新增对象存储上传服务,支持S3兼容协议的RustFS存储 2. 完善客户拜访实体与数据库表结构,补充全业务字段 3. 开发拜访台账与记录的前后端接口,包含增删改查、批量创建、状态流转等能力 4. 新增拜访表单页面与路由,支持父级菜单补全面包屑 5. 新增勘察列表页预填客户ID跳转逻辑 6. 补充UI设计文档与页面截图 7. 调整日志中间件跳过上传路由,优化RBAC权限配置
This commit is contained in:
1 parent
68af363ca9
commit
1c83e09fa1
33 files changed
+6920
-587
No files matched your search
@@ -0,0 +1,200 @@
|
||||
---
|
||||
name: Industrial Precision
|
||||
colors:
|
||||
surface: '#ffffff'
|
||||
surface-dim: '#ccdbf1'
|
||||
surface-bright: '#f8f9ff'
|
||||
surface-container-lowest: '#ffffff'
|
||||
surface-container-low: '#eef4ff'
|
||||
surface-container: '#e5efff'
|
||||
surface-container-high: '#dbe9ff'
|
||||
surface-container-highest: '#d5e4fa'
|
||||
on-surface: '#0d1c2c'
|
||||
on-surface-variant: '#424655'
|
||||
inverse-surface: '#233142'
|
||||
inverse-on-surface: '#e9f1ff'
|
||||
outline: '#727787'
|
||||
outline-variant: '#c2c6d8'
|
||||
surface-tint: '#0056d2'
|
||||
primary: '#0054cd'
|
||||
on-primary: '#ffffff'
|
||||
primary-container: '#136bfb'
|
||||
on-primary-container: '#fefcff'
|
||||
inverse-primary: '#b2c5ff'
|
||||
secondary: '#712ae2'
|
||||
on-secondary: '#ffffff'
|
||||
secondary-container: '#8a4cfc'
|
||||
on-secondary-container: '#fffbff'
|
||||
tertiary: '#00685f'
|
||||
on-tertiary: '#ffffff'
|
||||
tertiary-container: '#008378'
|
||||
on-tertiary-container: '#f4fffc'
|
||||
error: '#ba1a1a'
|
||||
on-error: '#ffffff'
|
||||
error-container: '#ffdad6'
|
||||
on-error-container: '#93000a'
|
||||
primary-fixed: '#dae2ff'
|
||||
primary-fixed-dim: '#b2c5ff'
|
||||
on-primary-fixed: '#001847'
|
||||
on-primary-fixed-variant: '#0040a1'
|
||||
secondary-fixed: '#eaddff'
|
||||
secondary-fixed-dim: '#d2bbff'
|
||||
on-secondary-fixed: '#25005a'
|
||||
on-secondary-fixed-variant: '#5a00c6'
|
||||
tertiary-fixed: '#89f5e7'
|
||||
tertiary-fixed-dim: '#6bd8cb'
|
||||
on-tertiary-fixed: '#00201d'
|
||||
on-tertiary-fixed-variant: '#005049'
|
||||
background: '#f8f9ff'
|
||||
on-background: '#0d1c2c'
|
||||
surface-variant: '#d5e4fa'
|
||||
bg-page: '#eef3f8'
|
||||
text-muted: '#5b6b7e'
|
||||
border-rule: '#dbe4ee'
|
||||
status-warn: '#e0852b'
|
||||
status-error: '#dc2626'
|
||||
accent-subtle: rgba(29,111,255,0.08)
|
||||
typography:
|
||||
display-lg:
|
||||
fontFamily: hankenGrotesk
|
||||
fontSize: 32px
|
||||
fontWeight: '700'
|
||||
lineHeight: 40px
|
||||
headline-md:
|
||||
fontFamily: hankenGrotesk
|
||||
fontSize: 23px
|
||||
fontWeight: '700'
|
||||
lineHeight: 28px
|
||||
title-sm:
|
||||
fontFamily: hankenGrotesk
|
||||
fontSize: 17px
|
||||
fontWeight: '700'
|
||||
lineHeight: 24px
|
||||
body-md:
|
||||
fontFamily: hankenGrotesk
|
||||
fontSize: 15px
|
||||
fontWeight: '400'
|
||||
lineHeight: 24px
|
||||
label-bold:
|
||||
fontFamily: hankenGrotesk
|
||||
fontSize: 13px
|
||||
fontWeight: '700'
|
||||
lineHeight: 16px
|
||||
data-mono:
|
||||
fontFamily: jetbrainsMono
|
||||
fontSize: 12px
|
||||
fontWeight: '500'
|
||||
lineHeight: 16px
|
||||
caption-sm:
|
||||
fontFamily: hankenGrotesk
|
||||
fontSize: 12px
|
||||
fontWeight: '700'
|
||||
lineHeight: 14px
|
||||
headline-md-mobile:
|
||||
fontFamily: hankenGrotesk
|
||||
fontSize: 20px
|
||||
fontWeight: '700'
|
||||
lineHeight: 26px
|
||||
rounded:
|
||||
sm: 0.25rem
|
||||
DEFAULT: 0.5rem
|
||||
md: 0.75rem
|
||||
lg: 1rem
|
||||
xl: 1.5rem
|
||||
full: 9999px
|
||||
spacing:
|
||||
base: 4px
|
||||
xs: 8px
|
||||
sm: 12px
|
||||
md: 16px
|
||||
lg: 24px
|
||||
xl: 40px
|
||||
container-max: 1200px
|
||||
gutter: 16px
|
||||
---
|
||||
|
||||
## Brand & Style
|
||||
|
||||
The design system is engineered for the **Xintong Smart Power Operation Management APP**, targeting power engineers and grid operators. The brand personality is **Professional, Efficient, and Industrial Tech**. It emphasizes reliability through a structured, high-density interface that transforms complex electrical data into actionable insights.
|
||||
|
||||
The design style is a blend of **Corporate Modern** and **Information-Dense Minimalism**. It utilizes a "Layered Surface" approach where data is organized into logical card blocks, using subtle elevations and clear semantic color-coding to denote system status. The aesthetic is clean and functional, avoiding decorative elements in favor of technical precision and rapid scanability.
|
||||
|
||||
- **Professionalism:** High-contrast typography and a restrained color palette.
|
||||
- **Efficiency:** Condensed layouts that prioritize data visualization and task status.
|
||||
- **Reliability:** Solid borders, consistent spacing, and clear state indicators.
|
||||
|
||||
## Colors
|
||||
|
||||
The color architecture is strictly functional, mapping specifically to the operation layers of the power management system.
|
||||
|
||||
- **Primary (Deep Blue):** Reserved for core branding, navigation, and "Client" layer interactions.
|
||||
- **Secondary (Purple):** Dedicated to "Gateway" operations and task-specific management.
|
||||
- **Tertiary (Teal):** Used for "Service" layer success states and optimized performance indicators.
|
||||
- **Neutral (Ink):** Used for primary text to ensure maximum legibility against light surfaces.
|
||||
|
||||
**Semantic Usage:**
|
||||
- Use **status-warn (Amber)** for non-critical alerts or data synchronization states.
|
||||
- Use **status-error (Red)** for critical power failures or permission denials.
|
||||
- The **bg-page** provides a soft, low-strain canvas for long-duration monitoring, while **surface** (White) distinguishes interactive cards and data containers.
|
||||
|
||||
## Typography
|
||||
|
||||
This design system uses **Hanken Grotesk** as the primary typeface for its sharp, contemporary feel that bridges the gap between industrial and tech. **JetBrains Mono** is employed for technical data, device IDs, and numerical values to emphasize the system's engineering DNA.
|
||||
|
||||
- **Hierarchy:** Use `display-lg` for dashboard summaries. `title-sm` is the default for card headers.
|
||||
- **Data Visualization:** All tabular data and technical strings must use `data-mono` for character alignment and clarity.
|
||||
- **Mobile Adaptation:** For mobile screens, headlines should scale down to `headline-md-mobile` to maintain visual balance while preserving authority.
|
||||
|
||||
## Layout & Spacing
|
||||
|
||||
The layout utilizes a **Flexible Grid System** with a focus on logical grouping through card-based containment.
|
||||
|
||||
- **Grid:** A 12-column grid is used for desktop views, transitioning to a single-column stacked layout for mobile.
|
||||
- **Rhythm:** An 8px-based spacing scale ensures vertical consistency. Use `lg (24px)` for outer card padding and `md (16px)` for internal element spacing.
|
||||
- **Mobile Margins:** Standard mobile side margins are set to `md (16px)` to maximize screen real estate for dense data tables.
|
||||
- **Sectioning:** Distinct operational modules should be separated by `xl (40px)` of vertical space to prevent cognitive overload.
|
||||
|
||||
## Elevation & Depth
|
||||
|
||||
This design system conveys hierarchy through **Tonal Layering** and **Subtle Ambient Shadows**. We avoid heavy skeuomorphism in favor of a "Flat-Plus" approach.
|
||||
|
||||
- **Base Layer:** The page background (`bg-page`) sits at the lowest elevation.
|
||||
- **Mid Layer (Cards):** UI cards use a white surface with a subtle shadow (`0 4px 14px rgba(0,0,0,.07)`) to appear slightly lifted.
|
||||
- **Interactive Layer:** On hover or active state, cards may transition to a higher elevation (`0 8px 28px rgba(0,0,0,.1)`) with a slight upward translation of -2px.
|
||||
- **Overlays:** Modals and dropdowns use the highest z-index with a distinct backdrop blur to maintain focus on the task at hand.
|
||||
- **Gradients:** Use soft radial gradients in the background (Blue/Purple) to create environmental depth without interfering with content legibility.
|
||||
|
||||
## Shapes
|
||||
|
||||
The shape language is **Rounded**, balancing industrial rigidity with modern software approachability.
|
||||
|
||||
- **Cards & Sections:** Use the standard `rounded-lg (1rem)` for primary containers.
|
||||
- **Nodes & Blocks:** Architecture and data nodes use `rounded (0.5rem)` to fit more compactly within layouts.
|
||||
- **Interactive Elements:** Buttons and tags use a "Pill-shape" (`rounded-xl` or 999px) to distinguish them from structural containers.
|
||||
- **Borders:** Use `1px solid` with the `border-rule` color for most containers. Active states or primary focus areas may increase to `1.5px`.
|
||||
|
||||
## Components
|
||||
|
||||
**Buttons:**
|
||||
- **Primary:** Solid `primary_color` with white text. Pill-shaped.
|
||||
- **Secondary:** Transparent with `primary_color` border or subtle purple tint for operation tasks.
|
||||
- **Danger:** Solid `status-error` for irreversible actions.
|
||||
|
||||
**Cards:**
|
||||
- White background, `1px` border-rule, and `rounded-lg` corners.
|
||||
- Headers should have a `18px` internal padding and a bottom border to separate from the content body.
|
||||
|
||||
**Input Fields:**
|
||||
- Soft white background with `1px` border.
|
||||
- Focused states should use a `primary_color` border with a subtle outer glow.
|
||||
|
||||
**Chips & Tags:**
|
||||
- Used for status (e.g., "Active", "Offline").
|
||||
- Backgrounds should use `8% opacity` versions of the semantic colors (Blue, Green, Red) with bolded text in the 100% opacity color.
|
||||
|
||||
**Data Visualization:**
|
||||
- Charts should use the primary blue and secondary purple as the main data series colors.
|
||||
- Use `data-mono` for all axis labels and tooltips to ensure technical accuracy.
|
||||
|
||||
**Status Indicators:**
|
||||
- Small `7px` circular dots used within lists or architecture nodes to show real-time connectivity status.
|
||||
@@ -0,0 +1,108 @@
|
||||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1.0" name="viewport"><link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=hankenGrotesk:wght@100..900&display=swap" rel="stylesheet"><style>@layer base{html,body{margin:0;padding:0;}body{overscroll-behavior:none;}main>:first-child{margin-top:0!important;}main>:last-child{margin-bottom:0!important;}}::-webkit-scrollbar{display:none;}</style><script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script><script id="tailwind-config">tailwind.config = { darkMode: "class", theme: { extend: { "colors": { "on-error": "#ffffff", "border-rule": "#dbe4ee", "secondary-fixed": "#eaddff", "on-surface": "#0d1c2c", "tertiary": "#00685f", "secondary": "#712ae2", "on-primary-fixed-variant": "#0040a1", "on-tertiary": "#ffffff", "surface-container-low": "#eef4ff", "secondary-fixed-dim": "#d2bbff", "primary-container": "#136bfb", "primary-fixed": "#dae2ff", "on-secondary-fixed-variant": "#5a00c6", "on-tertiary-fixed-variant": "#005049", "tertiary-container": "#008378", "surface": "#ffffff", "text-muted": "#5b6b7e", "on-background": "#0d1c2c", "primary": "#0054cd", "outline-variant": "#c2c6d8", "surface-container-highest": "#d5e4fa", "on-primary-container": "#fefcff", "background": "#f8f9ff", "on-secondary-fixed": "#25005a", "surface-container-high": "#dbe9ff", "surface-container-lowest": "#ffffff", "bg-page": "#f4f7fb", "surface-container": "#e5efff", "on-primary": "#ffffff", "tertiary-fixed": "#89f5e7", "status-warn": "#e0852b", "tertiary-fixed-dim": "#6bd8cb", "outline": "#727787", "accent-subtle": "rgba(29,111,255,0.08)", "on-primary-fixed": "#001847", "inverse-primary": "#b2c5ff", "inverse-surface": "#233142", "on-secondary-container": "#fffbff", "surface-bright": "#f8f9ff", "on-tertiary-container": "#f4fffc", "on-tertiary-fixed": "#00201d", "primary-fixed-dim": "#b2c5ff", "inverse-on-surface": "#e9f1ff", "status-error": "#dc2626", "surface-tint": "#0056d2", "on-secondary": "#ffffff", "error": "#ba1a1a", "on-error-container": "#93000a", "surface-dim": "#ccdbf1", "surface-variant": "#d5e4fa", "secondary-container": "#8a4cfc", "error-container": "#ffdad6", "on-surface-variant": "#424655" }, "borderRadius": { "DEFAULT": "0.25rem", "lg": "0.5rem", "xl": "0.75rem", "full": "9999px" }, "spacing": { "lg": "24px", "base": "4px", "xs": "8px", "container-max": "1200px", "sm": "12px", "xl": "40px", "md": "16px", "gutter": "16px" }, "fontFamily": { "body-md": ["hankenGrotesk"], "caption-sm": ["hankenGrotesk"], "title-sm": ["hankenGrotesk"], "data-mono": ["jetbrainsMono", "monospace"], "label-bold": ["hankenGrotesk"], "headline-md": ["hankenGrotesk"], "headline-md-mobile": ["hankenGrotesk"], "display-lg": ["hankenGrotesk"] }, "fontSize": { "body-md": ["15px", { "lineHeight": "24px", "fontWeight": "400" }], "caption-sm": ["12px", { "lineHeight": "14px", "fontWeight": "700" }], "title-sm": ["17px", { "lineHeight": "24px", "fontWeight": "700" }], "data-mono": ["12px", { "lineHeight": "16px", "fontWeight": "500" }], "label-bold": ["13px", { "lineHeight": "16px", "fontWeight": "700" }], "headline-md": ["23px", { "lineHeight": "28px", "fontWeight": "700" }], "headline-md-mobile": ["20px", { "lineHeight": "26px", "fontWeight": "700" }], "display-lg": ["32px", { "lineHeight": "40px", "fontWeight": "700" }] } } } };</script></head><body class="bg-bg-page font-body-md text-body-md text-on-surface antialiased flex min-h-screen overflow-x-hidden"><!-- Minimal Top Global Navbar -->
|
||||
<aside class="w-64 bg-[#0f172a] text-slate-300 flex-shrink-0 flex flex-col justify-between min-h-screen z-30 shadow-xl border-r border-slate-800">
|
||||
<div>
|
||||
<!-- Brand Logo -->
|
||||
<div class="h-16 flex items-center px-lg border-b border-slate-800/80 gap-sm bg-[#0b1120]">
|
||||
<img alt="XT-POWER Logo" class="h-8 w-auto object-contain" src="https://lh3.googleusercontent.com/aida/AEtjO1WEv-XpuvR6vI25Vg_b5kVa78sajEgqBSsbRjAXtXERG5rnQ0hjJNA7KEvKDG35aTm9975DUcxd1r__Mn0LJ4roIr35JhgLX6FmEDm6uma7hvkH3ptsQUHddesMFTsq5j4A62SGpFYFltxzOmw2H5UHfickwkRfcVPrXmm6JgC_LKoALuxUNakbkFkEh7HiTo1D8nhRvkWnILfZKZHl0yIujUYdbhhBgTw36BARKf_hYtvKLzYjV2tVjek">
|
||||
<div class="flex flex-col">
|
||||
<span class="font-title-sm text-white font-bold tracking-tight text-[15px] leading-tight">鑫潼智电</span>
|
||||
<span class="font-data-mono text-[10px] text-slate-400 leading-tight tracking-wider">XT-POWER OS <span class="text-primary-fixed">v3.8</span></span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Navigation Links -->
|
||||
<nav class="p-sm space-y-xs text-[13px]">
|
||||
<a href="#" class="flex items-center gap-sm px-sm py-xs rounded-lg text-slate-400 hover:text-white hover:bg-slate-800/60 transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">dashboard</span>
|
||||
<span class="">运营工作台</span>
|
||||
</a>
|
||||
<a href="#" class="flex items-center gap-sm px-sm py-xs rounded-lg text-slate-400 hover:text-white hover:bg-slate-800/60 transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">contacts</span>
|
||||
<span class="">客户管理</span>
|
||||
</a>
|
||||
<!-- Active Menu Group: 项目管理 -->
|
||||
<div class="space-y-xs pt-xs">
|
||||
<div class="flex items-center justify-between px-sm py-xs rounded-lg bg-slate-800/80 text-white font-medium">
|
||||
<div class="flex items-center gap-sm">
|
||||
<span class="material-symbols-outlined text-[18px] text-primary-fixed">engineering</span>
|
||||
<span class="">项目管理</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[16px] text-slate-400">expand_more</span>
|
||||
</div>
|
||||
<div class="pl-8 pr-xs space-y-xs border-l border-slate-800 ml-4 py-xs">
|
||||
<a href="#" class="block px-xs py-base rounded text-slate-400 hover:text-white hover:bg-slate-800/40 text-[12px] transition-colors">全周期工程看板</a>
|
||||
<a href="#" class="flex items-center justify-between px-xs py-base rounded bg-primary/20 text-primary-fixed font-bold text-[12px] border-l-2 border-primary pl-2">现场勘察派单 <span class="w-1.5 h-1.5 rounded-full bg-primary-fixed"></span></a>
|
||||
<a href="#" class="block px-xs py-base rounded text-slate-400 hover:text-white hover:bg-slate-800/40 text-[12px] transition-colors">项目合同管理</a>
|
||||
<a href="#" class="block px-xs py-base rounded text-slate-400 hover:text-white hover:bg-slate-800/40 text-[12px] transition-colors">工程安装派单</a>
|
||||
<a href="#" class="block px-xs py-base rounded text-slate-400 hover:text-white hover:bg-slate-800/40 text-[12px] transition-colors">工程竣工验收</a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#" class="flex items-center gap-sm px-sm py-xs rounded-lg text-slate-400 hover:text-white hover:bg-slate-800/60 transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">assignment</span>
|
||||
<span class="">运营派单</span>
|
||||
</a>
|
||||
<a href="#" class="flex items-center gap-sm px-sm py-xs rounded-lg text-slate-400 hover:text-white hover:bg-slate-800/60 transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">grid_view</span>
|
||||
<span class="">设备监控</span>
|
||||
</a>
|
||||
<a href="#" class="flex items-center gap-sm px-sm py-xs rounded-lg text-slate-400 hover:text-white hover:bg-slate-800/60 transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">bar_chart</span>
|
||||
<span class="">统计报表</span>
|
||||
</a>
|
||||
<a href="#" class="flex items-center gap-sm px-sm py-xs rounded-lg text-slate-400 hover:text-white hover:bg-slate-800/60 transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">settings</span>
|
||||
<span class="">系统管理</span>
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
<!-- Sidebar Footer / Cluster Status -->
|
||||
<div class="p-md border-t border-slate-800/80 bg-[#0b1120]/60">
|
||||
<div class="flex items-center justify-between text-[11px] text-slate-400">
|
||||
<div class="flex items-center gap-base">
|
||||
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span>
|
||||
<span class="">华东区 · 枢纽调度</span>
|
||||
</div>
|
||||
<span class="font-data-mono text-emerald-400 font-bold">正常</span>
|
||||
</div>
|
||||
</div>
|
||||
</aside><main class="flex-1 min-w-0 bg-bg-page flex flex-col min-h-screen"><header class="h-16 w-full bg-surface border-b border-border-rule sticky top-0 z-40 px-lg flex items-center justify-between shadow-[0_1px_4px_rgba(0,0,0,0.03)]">
|
||||
<!-- Breadcrumbs & Quick Search -->
|
||||
<div class="flex items-center gap-md">
|
||||
<nav class="flex items-center gap-xs text-caption-sm">
|
||||
<a class="text-text-muted hover:text-primary transition-colors" href="#">项目管理</a>
|
||||
<span class="material-symbols-outlined text-[14px] text-text-muted">chevron_right</span>
|
||||
<span class="text-text-muted">现场勘察派单</span>
|
||||
<span class="material-symbols-outlined text-[14px] text-text-muted">chevron_right</span>
|
||||
<span class="font-data-mono font-bold text-primary px-sm py-base rounded-full bg-accent-subtle text-[11px]">WH-SURV-2026-0302</span>
|
||||
</nav>
|
||||
<div class="relative hidden md:block">
|
||||
<input type="text" placeholder="全局搜索电表/断路器/派单编号..." class="w-64 pl-8 pr-md py-base bg-surface-container-low text-on-surface rounded-full text-caption-sm border border-border-rule focus:outline-none focus:ring-1 focus:ring-primary">
|
||||
<span class="material-symbols-outlined absolute left-2.5 top-1/2 -translate-y-1/2 text-[16px] text-text-muted pointer-events-none">search</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Status badge, Notification, and User profile -->
|
||||
<div class="flex items-center gap-md">
|
||||
<div class="hidden sm:flex items-center gap-base bg-tertiary/10 text-tertiary px-sm py-base rounded-full text-caption-sm">
|
||||
<span class="w-2 h-2 rounded-full bg-tertiary animate-pulse"></span>
|
||||
<span class="font-medium">ICC 客资直通已联通</span>
|
||||
</div>
|
||||
<button class="relative p-base rounded-full text-text-muted hover:text-on-surface hover:bg-surface-container-low transition-colors" title="通知" type="button">
|
||||
<span class="material-symbols-outlined text-[20px]">notifications</span>
|
||||
<span class="absolute top-1 right-1 w-2 h-2 rounded-full bg-error"></span>
|
||||
</button>
|
||||
<button class="p-base rounded-full text-text-muted hover:text-on-surface hover:bg-surface-container-low transition-colors" title="帮助与SOP手册" type="button">
|
||||
<span class="material-symbols-outlined text-[20px]">help_outline</span>
|
||||
</button>
|
||||
<div class="h-5 w-[1px] bg-border-rule"></div>
|
||||
<div class="flex items-center gap-sm">
|
||||
<div class="w-8 h-8 rounded-full bg-primary-container text-on-primary flex items-center justify-center font-bold text-caption-sm shadow-sm">李</div>
|
||||
<div class="flex flex-col text-left">
|
||||
<span class="font-label-bold text-on-surface text-caption-sm leading-tight">李工 <span class="text-[11px] font-normal text-text-muted">主控工程师</span></span>
|
||||
<span class="font-data-mono text-[10px] text-text-muted leading-tight">调度中心 · 席位04</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header><div class="space-y-md max-w-5xl mx-auto w-full px-lg py-md"><!-- Wizard Header & Step Indicator --><div class="bg-surface rounded-xl p-md shadow-sm border border-border-rule/60"><div class="flex flex-col sm:flex-row sm:items-center justify-between gap-xs pb-sm border-b border-border-rule/60 mb-sm"><div><h1 class="font-headline-md text-headline-md text-on-surface tracking-tight">现场勘察派单向导</h1><p class="font-body-md text-caption-sm text-text-muted">标准化派发配电房现场测绘任务,向共享电工推单并回传拓扑参数</p></div><span class="px-sm py-base rounded-full bg-surface-container-low text-primary font-data-mono text-caption-sm self-start sm:self-auto font-medium">STEP 01 / 03</span></div><!-- 3-Step Horizontal Progress Bar --><div class="grid grid-cols-1 md:grid-cols-3 gap-xs"><div class="flex items-center gap-sm p-sm rounded-lg bg-primary/5 border border-primary/20"><div class="w-8 h-8 rounded-full bg-primary text-on-primary flex items-center justify-center font-bold text-caption-sm shrink-0 shadow-sm">1</div><div class="min-w-0"><div class="font-label-bold text-caption-sm text-primary">基本信息与现场环境</div><div class="text-[11px] text-text-muted truncate">目标客户、区域与回路</div></div></div><div class="flex items-center gap-sm p-sm rounded-lg bg-surface-container-lowest border border-border-rule/50 opacity-75"><div class="w-8 h-8 rounded-full bg-surface-container text-on-surface-variant flex items-center justify-center font-bold text-caption-sm shrink-0">2</div><div class="min-w-0"><div class="font-label-bold text-caption-sm text-on-surface">技术要点与回执标准</div><div class="text-[11px] text-text-muted truncate">标准SOP模版、拍照指标</div></div></div><div class="flex items-center gap-sm p-sm rounded-lg bg-surface-container-lowest border border-border-rule/50 opacity-75"><div class="w-8 h-8 rounded-full bg-surface-container text-on-surface-variant flex items-center justify-center font-bold text-caption-sm shrink-0">3</div><div class="min-w-0"><div class="font-label-bold text-caption-sm text-on-surface">指派电工与服务报酬</div><div class="text-[11px] text-text-muted truncate">匹配电工、LBS距离与费率</div></div></div></div></div><!-- Active Wizard Step Container --><div class="space-y-md"><!-- STEP 1: Basic Information & Environment --><div class="bg-surface rounded-xl p-lg shadow-sm border border-border-rule/60 space-y-md"><div class="flex items-center justify-between pb-xs border-b border-border-rule/50"><div class="flex items-center gap-xs"><span class="material-symbols-outlined text-primary text-[22px]">corporate_fare</span><h2 class="font-title-sm text-title-sm text-on-surface font-bold">第 1 步:勘察基本信息与现场环境</h2></div><span class="font-caption-sm text-caption-sm text-text-muted">已自动关联 ICC 客资档案</span></div><div class="grid grid-cols-1 md:grid-cols-2 gap-md"><div><label class="block font-label-bold text-caption-sm text-on-surface mb-xs">关联客户及工程单位 <span class="text-error">*</span></label><div class="relative"><select class="w-full px-md py-xs bg-surface-container-low text-on-surface rounded-lg text-body-md focus:outline-none focus:ring-1 focus:ring-primary border border-border-rule appearance-none"><option selected="">武汉软件工程职业学院(实训中心)</option><option>华中师范大学南湖校区二期</option><option>光谷微电子产业园动力站</option></select><span class="material-symbols-outlined absolute right-sm top-1/2 -translate-y-1/2 text-text-muted pointer-events-none">arrow_drop_down</span></div></div><div><label class="block font-label-bold text-caption-sm text-on-surface mb-xs">勘察任务标题 <span class="text-error">*</span></label><input class="w-full px-md py-xs bg-surface-container-low text-on-surface rounded-lg text-body-md focus:outline-none focus:ring-1 focus:ring-primary border border-border-rule font-medium" type="text" value="实训楼智能配电改造一期工程现场测绘"></div></div><div class="grid grid-cols-1 md:grid-cols-3 gap-md"><div><label class="block font-label-bold text-caption-sm text-on-surface mb-xs">具体勘察物理区域 <span class="text-error">*</span></label><input class="w-full px-md py-xs bg-surface-container-low text-on-surface rounded-lg text-body-md focus:outline-none focus:ring-1 focus:ring-primary border border-border-rule" type="text" value="实训主楼 1F低压室 / 2~3F强电井"></div><div><label class="block font-label-bold text-caption-sm text-on-surface mb-xs">主进线规约与断路器容量</label><input class="w-full px-md py-xs bg-surface-container-low text-on-surface rounded-lg text-body-md focus:outline-none focus:ring-1 focus:ring-primary border border-border-rule font-data-mono" type="text" value="380V / 400A MCCB (SCB10-630kVA)"></div><div><label class="block font-label-bold text-caption-sm text-on-surface mb-xs">预估分支测绘回路Line truncated
|
||||
|
||||
</body></html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
Reference in new issue
Block a user