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,687 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="zh-CN"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<title>客户拜访管理台账 - 鑫潼智电 XT-POWER OS</title>
|
||||
<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&family=JetBrains+Mono:wght@400..700&display=swap" rel="stylesheet"/>
|
||||
<style>
|
||||
@layer base {
|
||||
html, body { margin: 0; padding: 0; }
|
||||
body { overscroll-behavior: none; }
|
||||
}
|
||||
::-webkit-scrollbar { width: 6px; height: 6px; }
|
||||
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 9999px; }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
</style>
|
||||
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
||||
<script id="tailwind-config">
|
||||
tailwind.config = {
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
"primary": "#0054cd",
|
||||
"primary-container": "#136bfb",
|
||||
"on-primary": "#ffffff",
|
||||
"surface": "#ffffff",
|
||||
"bg-page": "#f4f7fb",
|
||||
"on-surface": "#0d1c2c",
|
||||
"on-surface-variant": "#424655",
|
||||
"text-muted": "#5b6b7e",
|
||||
"border-rule": "#e2e8f0",
|
||||
"inverse-surface": "#1e293b",
|
||||
"surface-container-low": "#f8fafc",
|
||||
"surface-container": "#eef2f7",
|
||||
"surface-container-high": "#e2e8f0",
|
||||
"accent-subtle": "rgba(0,84,205,0.08)",
|
||||
"tertiary": "#00685f",
|
||||
"status-warn": "#d97706",
|
||||
"error": "#dc2626"
|
||||
},
|
||||
fontFamily: {
|
||||
"sans": ["hankenGrotesk", "sans-serif"],
|
||||
"mono": ["JetBrains Mono", "monospace"]
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body class="bg-bg-page font-sans text-on-surface antialiased text-[13.5px]">
|
||||
<!-- Global Industrial Sidebar -->
|
||||
<aside class="fixed left-0 top-0 h-full w-64 bg-inverse-surface z-50 flex flex-col justify-between shadow-xl">
|
||||
<div class="flex flex-col h-full">
|
||||
<!-- Logo -->
|
||||
<div class="h-16 flex items-center px-5 gap-3 border-b border-white/10">
|
||||
<div class="w-8 h-8 rounded-lg bg-primary flex items-center justify-center text-white font-bold shadow-md shadow-blue-500/30">
|
||||
<span class="material-symbols-outlined text-[20px]">bolt</span>
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<span class="text-white font-bold text-[15px] tracking-wide">鑫潼智电</span>
|
||||
<span class="font-mono text-[11px] text-slate-400 tracking-wider">XT-POWER OS v3.8</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Navigation Links -->
|
||||
<nav class="flex-1 px-3 py-4 space-y-1 overflow-y-auto">
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">dashboard</span>
|
||||
<span>运营工作台</span>
|
||||
</a>
|
||||
<!-- Menu Group: Customer Management (Expanded & Active) -->
|
||||
<div class="pt-1">
|
||||
<div class="flex items-center justify-between px-3 py-2 text-white font-medium text-[13.5px]">
|
||||
<div class="flex items-center gap-3">
|
||||
<span class="material-symbols-outlined text-[20px] text-blue-400">corporate_fare</span>
|
||||
<span>客户管理</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[16px] text-slate-400">expand_less</span>
|
||||
</div>
|
||||
<div class="pl-7 pr-2 space-y-1 mt-1 border-l border-white/10 ml-5">
|
||||
<a class="flex items-center py-2 px-3 rounded-lg text-slate-400 hover:bg-white/10 hover:text-white text-[13px] transition-all" href="#">客户档案列表</a>
|
||||
<a class="flex items-center py-2 px-3 rounded-lg text-slate-400 hover:bg-white/10 hover:text-white text-[13px] transition-all" href="#">空间拓扑与用电架构</a>
|
||||
<a class="flex items-center py-2 px-3 rounded-lg bg-primary text-white font-semibold text-[13px] shadow-sm shadow-blue-900/40" href="#">客户拜访管理</a>
|
||||
<a class="flex items-center py-2 px-3 rounded-lg text-slate-400 hover:bg-white/10 hover:text-white text-[13px] transition-all" href="#">客户小程序账号</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Menu Group: Project Management (Collapsed) -->
|
||||
<div class="pt-1">
|
||||
<div class="flex items-center justify-between px-3 py-2 text-slate-300 hover:bg-white/10 hover:text-white rounded-lg transition-all cursor-pointer text-[13.5px]">
|
||||
<div class="flex items-center gap-3">
|
||||
<span class="material-symbols-outlined text-[20px]">schema</span>
|
||||
<span>项目管理</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[16px] text-slate-400">expand_more</span>
|
||||
</div>
|
||||
</div>
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">send_time_extension</span>
|
||||
<span>运营派单</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">sensors</span>
|
||||
<span>设备监控</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">query_stats</span>
|
||||
<span>统计报表</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">settings</span>
|
||||
<span>系统管理</span>
|
||||
</a>
|
||||
</nav>
|
||||
<!-- Bottom Status -->
|
||||
<div class="p-4 border-t border-white/10 bg-slate-900/50">
|
||||
<div class="flex items-center justify-between text-[12px] text-slate-400">
|
||||
<span>华东区 · 枢纽调度</span>
|
||||
<span class="flex items-center gap-1.5 text-emerald-400 font-mono text-[11px]">
|
||||
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span> 系统稳定
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<!-- Main Shell Viewport -->
|
||||
<div class="pl-64 flex flex-col min-h-screen">
|
||||
<!-- Top Navigation Bar -->
|
||||
<header class="fixed top-0 left-64 right-0 h-16 z-40 bg-surface/90 backdrop-blur-md border-b border-border-rule px-8 flex items-center justify-between shadow-sm">
|
||||
<div class="flex items-center gap-5">
|
||||
<div class="flex items-center gap-2 text-slate-500 text-[13px]">
|
||||
<span class="hover:text-slate-700 cursor-pointer">客户管理</span>
|
||||
<span class="text-slate-300">/</span>
|
||||
<span class="text-on-surface font-semibold">客户拜访管理台账</span>
|
||||
</div>
|
||||
<div class="relative w-80">
|
||||
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-slate-400 text-[18px]">search</span>
|
||||
<input class="w-full pl-9 pr-4 py-1.5 bg-slate-100/90 text-on-surface rounded-lg text-[13px] border border-transparent focus:border-primary focus:bg-white focus:outline-none transition-all" placeholder="检索客户名称、拜访流水号、业务员..." type="text"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center gap-4">
|
||||
<div class="flex items-center gap-1.5 px-2.5 py-1 rounded-full bg-emerald-50 border border-emerald-200 text-emerald-700 text-[12px] font-medium">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-emerald-500"></span>
|
||||
<span>ICC 联通正常</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 pr-3 border-r border-border-rule">
|
||||
<button class="relative w-8 h-8 flex items-center justify-center rounded-lg hover:bg-slate-100 text-slate-600 transition-colors" title="消息通知">
|
||||
<span class="material-symbols-outlined text-[20px]">notifications</span>
|
||||
<span class="absolute top-1.5 right-1.5 w-2 h-2 bg-red-500 rounded-full"></span>
|
||||
</button>
|
||||
<button class="w-8 h-8 flex items-center justify-center rounded-lg hover:bg-slate-100 text-slate-600 transition-colors" title="使用帮助">
|
||||
<span class="material-symbols-outlined text-[20px]">help</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex items-center gap-3 pl-1">
|
||||
<div class="text-right">
|
||||
<div class="font-semibold text-slate-800 text-[13px] flex items-center justify-end gap-1.5">
|
||||
<span>张工</span>
|
||||
<span class="text-[10.5px] px-1.5 py-0.2 rounded bg-blue-50 text-primary border border-blue-100 font-normal">调度席位</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-500 font-mono">XT-ENG-0842</div>
|
||||
</div>
|
||||
<div class="w-9 h-9 rounded-full bg-gradient-to-tr from-primary to-blue-500 text-white flex items-center justify-center font-bold text-[14px] shadow-sm">
|
||||
张
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Main Workspace Ledger -->
|
||||
<main class="w-full pt-20 flex-1 p-8 space-y-5">
|
||||
<!-- Page Header: Title + Ledger Actions -->
|
||||
<div class="flex flex-col lg:flex-row lg:items-center justify-between gap-4">
|
||||
<div>
|
||||
<div class="flex items-center gap-2.5">
|
||||
<h1 class="text-[22px] font-bold text-slate-900 tracking-tight">客户拜访管理台账</h1>
|
||||
<span class="text-[12px] font-mono font-medium px-2 py-0.5 rounded-md bg-slate-100 text-slate-600 border border-slate-200">CUSTOMER VISIT LEDGER</span>
|
||||
</div>
|
||||
<p class="text-[13px] text-slate-500 mt-1">
|
||||
统筹全周期客户现场拜访任务、意向转化节点跟进、现场需求取证及拜访转立项派单全流程。
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex items-center gap-2.5">
|
||||
<button class="px-3.5 py-2 rounded-lg bg-white border border-slate-200 hover:bg-slate-50 hover:border-slate-300 text-slate-700 font-medium text-[13px] shadow-sm transition-all flex items-center gap-1.5">
|
||||
<span class="material-symbols-outlined text-[17px] text-slate-500">file_download</span>
|
||||
<span>导出台账数据</span>
|
||||
</button>
|
||||
<button class="px-3.5 py-2 rounded-lg bg-white border border-slate-200 hover:bg-slate-50 hover:border-slate-300 text-slate-700 font-medium text-[13px] shadow-sm transition-all flex items-center gap-1.5">
|
||||
<span class="material-symbols-outlined text-[17px] text-slate-500">calendar_month</span>
|
||||
<span>批量安排拜访</span>
|
||||
</button>
|
||||
<button class="px-4 py-2 rounded-lg bg-primary hover:bg-blue-700 text-white font-semibold text-[13px] shadow-sm shadow-blue-500/25 transition-all flex items-center gap-1.5">
|
||||
<span class="material-symbols-outlined text-[18px]">add</span>
|
||||
<span>+ 新增拜访计划</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Ledger Top Status Metric Cards (AntD style 5-column metric cards) -->
|
||||
<div class="grid grid-cols-2 md:grid-cols-5 gap-3">
|
||||
<!-- Card 1: All Visits -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border-2 border-primary/20 bg-gradient-to-b from-blue-50/50 to-surface shadow-sm cursor-pointer hover:border-primary transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">全部拜访</span>
|
||||
<span class="material-symbols-outlined text-[18px] text-primary">view_kanban</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-slate-900 font-mono">128</span>
|
||||
<span class="text-[11px] text-slate-400">总台账量</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-slate-500 flex items-center gap-1">
|
||||
<span>当月环比</span>
|
||||
<span class="text-emerald-600 font-medium font-mono">+15.8%</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 2: Pending / Today Visits -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border border-border-rule shadow-sm hover:border-amber-400 cursor-pointer transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="w-2 h-2 rounded-full bg-amber-500"></span>
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">待执行 / 今日待访</span>
|
||||
</div>
|
||||
<span class="px-1.5 py-0.5 rounded text-[10.5px] bg-amber-50 text-amber-700 font-medium border border-amber-200">预警</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-amber-600 font-mono">8</span>
|
||||
<span class="text-[11px] text-slate-400">场任务排期</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-amber-600 font-medium flex items-center gap-1">
|
||||
<span class="material-symbols-outlined text-[13px]">alarm</span>
|
||||
<span>今日待拜访 3 场 · 特急响应 1 场</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 3: Conversion Rate -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border border-border-rule shadow-sm hover:border-emerald-400 cursor-pointer transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="w-2 h-2 rounded-full bg-emerald-500 animate-pulse"></span>
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">意向勘察转化率</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[18px] text-emerald-600">transform</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-emerald-600 font-mono">68.4%</span>
|
||||
<span class="text-[11px] text-emerald-700 font-mono font-medium">+5.2%</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-slate-500 flex items-center gap-1">
|
||||
<span>已转立项</span>
|
||||
<span class="text-emerald-700 font-medium font-mono">36 家</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 4: Under Review -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border border-border-rule shadow-sm hover:border-purple-400 cursor-pointer transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="w-2 h-2 rounded-full bg-purple-500"></span>
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">取证待技术复核</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[18px] text-purple-600">fact_check</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-purple-600 font-mono">7</span>
|
||||
<span class="text-[11px] text-slate-400">场待核验</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-slate-500 flex items-center gap-1">
|
||||
<span>平均复核时效</span>
|
||||
<span class="text-purple-600 font-medium font-mono">1.8 小时</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 5: Completed / Archived -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border border-border-rule shadow-sm hover:border-blue-400 cursor-pointer transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="w-2 h-2 rounded-full bg-blue-500"></span>
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">拜访完成 / 已归档</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[18px] text-emerald-600">check_circle</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-slate-800 font-mono">113</span>
|
||||
<span class="text-[11px] text-slate-400">场已归档</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-slate-500 flex items-center gap-1">
|
||||
<span>满意度</span>
|
||||
<span class="text-amber-600 font-mono font-medium">4.95分</span>
|
||||
<span class="text-slate-300">·</span>
|
||||
<span>方案率</span>
|
||||
<span class="text-emerald-600 font-mono font-medium">100%</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Filter Bar: Search, Filters & Action buttons -->
|
||||
<div class="bg-surface rounded-xl p-4 border border-border-rule shadow-sm space-y-3">
|
||||
<div class="grid grid-cols-1 md:grid-cols-12 gap-3 items-center">
|
||||
<!-- Search Query -->
|
||||
<div class="md:col-span-4">
|
||||
<label class="block text-[11.5px] font-medium text-slate-500 mb-1">模糊搜索</label>
|
||||
<div class="relative">
|
||||
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-slate-400 text-[18px]">search</span>
|
||||
<input class="w-full pl-9 pr-3 py-1.5 text-[13px] bg-slate-50 border border-slate-200 rounded-lg text-slate-800 placeholder-slate-400 focus:bg-white focus:border-primary focus:outline-none transition-colors" placeholder="输入客户名称、拜访流水号、跟进业务员..." type="text"/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Visit Type Filter -->
|
||||
<div class="md:col-span-2">
|
||||
<label class="block text-[11.5px] font-medium text-slate-500 mb-1">拜访类型</label>
|
||||
<select class="w-full py-1.5 px-3 text-[13px] bg-slate-50 border border-slate-200 rounded-lg text-slate-800 focus:bg-white focus:border-primary focus:outline-none">
|
||||
<option value="all">全部类型 (128)</option>
|
||||
<option value="1">首访摸排</option>
|
||||
<option value="2">方案沟通</option>
|
||||
<option value="3">商务二访</option>
|
||||
<option value="4">维保回访</option>
|
||||
<option value="5">应急巡检</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- Sales Representative Filter -->
|
||||
<div class="md:col-span-2">
|
||||
<label class="block text-[11.5px] font-medium text-slate-500 mb-1">跟进业务员</label>
|
||||
<select class="w-full py-1.5 px-3 text-[13px] bg-slate-50 border border-slate-200 rounded-lg text-slate-800 focus:bg-white focus:border-primary focus:outline-none">
|
||||
<option value="all">全部业务员 (全员)</option>
|
||||
<option value="1">李志敏 (高级工勘顾问)</option>
|
||||
<option value="2">王建国 (资深电力架构师)</option>
|
||||
<option value="3">周慧 (大客户总监)</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- Date Picker -->
|
||||
<div class="md:col-span-2">
|
||||
<label class="block text-[11.5px] font-medium text-slate-500 mb-1">计划拜访日期窗口</label>
|
||||
<div class="relative">
|
||||
<span class="material-symbols-outlined absolute left-2.5 top-1/2 -translate-y-1/2 text-slate-400 text-[16px]">calendar_today</span>
|
||||
<input class="w-full pl-8 pr-2.5 py-1.5 text-[12.5px] bg-slate-50 border border-slate-200 rounded-lg text-slate-800 focus:bg-white focus:border-primary focus:outline-none font-mono" placeholder="2026-03-01 ~ 03-31" type="text" value="2026-03-01 ~ 03-31"/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Buttons -->
|
||||
<div class="md:col-span-2 flex items-center gap-2 pt-5">
|
||||
<button class="flex-1 py-1.5 bg-primary hover:bg-blue-700 text-white font-medium rounded-lg text-[13px] shadow-sm transition-colors flex items-center justify-center gap-1">
|
||||
<span class="material-symbols-outlined text-[16px]">search</span>
|
||||
<span>查询</span>
|
||||
</button>
|
||||
<button class="px-3 py-1.5 bg-white border border-slate-200 hover:bg-slate-50 text-slate-600 rounded-lg text-[13px] transition-colors">
|
||||
重置
|
||||
</button>
|
||||
<button class="text-primary hover:text-blue-700 text-[12px] flex items-center gap-0.5 whitespace-nowrap pl-1" title="展开高级筛选">
|
||||
<span>高级</span>
|
||||
<span class="material-symbols-outlined text-[15px]">tune</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Main Data Table Container (Ant Design Pro Table Style) -->
|
||||
<div class="bg-surface rounded-xl border border-border-rule shadow-sm overflow-hidden">
|
||||
<!-- Table Subheader -->
|
||||
<div class="px-5 py-3.5 border-b border-border-rule bg-slate-50/60 flex items-center justify-between">
|
||||
<div class="flex items-center gap-3 text-[13px]">
|
||||
<span class="font-semibold text-slate-800">拜访数据台账</span>
|
||||
<span class="text-slate-400">|</span>
|
||||
<span class="text-slate-500 text-[12px]">显示第 <span class="font-mono text-slate-700 font-semibold">1</span> 到 <span class="font-mono text-slate-700 font-semibold">5</span> 笔,共 <span class="font-mono text-primary font-bold">128</span> 笔拜访记录</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 text-[12px] text-slate-500">
|
||||
<span class="flex items-center gap-1"><span class="w-2 h-2 rounded-full bg-red-500"></span>特急 2</span>
|
||||
<span class="flex items-center gap-1 ml-2"><span class="w-2 h-2 rounded-full bg-amber-500"></span>加急 6</span>
|
||||
<span class="flex items-center gap-1 ml-2"><span class="w-2 h-2 rounded-full bg-slate-400"></span>常规 120</span>
|
||||
<button class="ml-3 text-slate-400 hover:text-slate-700 p-1" title="刷新表格">
|
||||
<span class="material-symbols-outlined text-[18px]">refresh</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Actual Table -->
|
||||
<div class="overflow-x-auto">
|
||||
<table class="w-full text-left border-collapse text-[13px]">
|
||||
<thead>
|
||||
<tr class="bg-slate-50/90 text-slate-600 text-[12px] border-b border-slate-200 uppercase tracking-wider font-semibold">
|
||||
<th class="py-3 px-4 w-10 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</th>
|
||||
<th class="py-3 px-3 min-w-[150px]">拜访流水 / 优先级</th>
|
||||
<th class="py-3 px-3 min-w-[210px]">关联客户与空间性质</th>
|
||||
<th class="py-3 px-3 min-w-[160px]">拜访类型与目的</th>
|
||||
<th class="py-3 px-3 min-w-[140px]">跟进业务员</th>
|
||||
<th class="py-3 px-3 min-w-[180px]">计划与到场时间 / GPS签到</th>
|
||||
<th class="py-3 px-3 min-w-[150px]">现场意向与成果评级</th>
|
||||
<th class="py-3 px-3 min-w-[120px] text-center">当前状态</th>
|
||||
<th class="py-3 px-4 min-w-[180px] text-center sticky right-0 bg-slate-50">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="divide-y divide-slate-100 text-slate-700">
|
||||
<!-- Row 1: VST-2026-0312 特急/高优 -->
|
||||
<tr class="hover:bg-blue-50/40 transition-colors bg-amber-50/20">
|
||||
<td class="py-3.5 px-4 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="font-mono font-bold text-primary hover:underline cursor-pointer">VST-2026-0312</span>
|
||||
</div>
|
||||
<div class="mt-1">
|
||||
<span class="text-[10.5px] px-1.5 py-0.5 rounded bg-red-100 text-red-700 font-semibold border border-red-200">特急 · P1高优</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-semibold text-slate-900 leading-snug line-clamp-1">华中师范大学南湖校区</div>
|
||||
<div class="text-[11.5px] text-slate-500 mt-0.5 flex items-center gap-1">
|
||||
<span class="material-symbols-outlined text-[14px] text-slate-400">domain</span>
|
||||
<span>后勤基建处 · 10kV南湖开闭所</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-medium text-slate-800">配电物联网与微断改造</div>
|
||||
<div class="text-[11.5px] text-slate-500">首访摸排 · 技改升级</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="w-6 h-6 rounded-full bg-primary/10 text-primary flex items-center justify-center font-bold text-[11px]">李</div>
|
||||
<div>
|
||||
<div class="font-medium text-slate-800">李志敏</div>
|
||||
<div class="font-mono text-[11.5px] text-slate-400">139****8821</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-mono text-[12.5px] text-slate-800">2026-03-10 14:15</div>
|
||||
<div class="text-[11px] text-emerald-600 flex items-center gap-0.5 mt-0.5">
|
||||
<span class="material-symbols-outlined text-[13px]">verified</span>
|
||||
<span>已签到 (ICC 防伪偏差<15m)</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="inline-flex items-center gap-1 px-2 py-0.5 rounded bg-emerald-50 text-emerald-700 border border-emerald-200 font-semibold text-[11.5px]">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-emerald-500"></span>
|
||||
<span>A级 · 极高意向 (预算充足)</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-400 mt-0.5">需求: 40回路智能微断边缘计算</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3 text-center">
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[12px] font-medium bg-emerald-50 text-emerald-700 border border-emerald-200">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-emerald-500"></span>已立项转勘察
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-center sticky right-0 bg-white/95">
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
<button class="px-2 py-1 rounded bg-primary text-white font-semibold text-[12px] hover:bg-blue-700 shadow-sm transition-colors">一键发起勘察派单</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-slate-900 text-[12.5px]">查看详情</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-400 hover:text-slate-700 text-[12.5px]">编辑</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Row 2: VST-2026-0315 加急 -->
|
||||
<tr class="hover:bg-blue-50/40 transition-colors">
|
||||
<td class="py-3.5 px-4 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="font-mono font-bold text-primary hover:underline cursor-pointer">VST-2026-0315</span>
|
||||
</div>
|
||||
<div class="mt-1">
|
||||
<span class="text-[10.5px] px-1.5 py-0.5 rounded bg-amber-100 text-amber-800 font-semibold border border-amber-200">加急 · P2高优</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-semibold text-slate-900 leading-snug line-clamp-1">武汉软件工程职业学院</div>
|
||||
<div class="text-[11.5px] text-slate-500 mt-0.5 flex items-center gap-1">
|
||||
<span class="material-symbols-outlined text-[14px] text-slate-400">domain</span>
|
||||
<span>实训设备保障处 · 智能制造产教园</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-medium text-slate-800">高能耗负荷测绘拓扑方案</div>
|
||||
<div class="text-[11.5px] text-slate-500">方案沟通 · 商务二访</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="w-6 h-6 rounded-full bg-secondary/20 text-purple-700 flex items-center justify-center font-bold text-[11px]">王</div>
|
||||
<div>
|
||||
<div class="font-medium text-slate-800">王建国</div>
|
||||
<div class="font-mono text-[11.5px] text-slate-400">135****4829</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-mono text-[12.5px] text-amber-600 font-semibold">今日 15:30 待访</div>
|
||||
<div class="text-[11px] text-slate-400 flex items-center gap-0.5 mt-0.5">
|
||||
<span class="material-symbols-outlined text-[13px]">alarm</span>
|
||||
<span>距离拜访还剩 1.5 小时</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="inline-flex items-center gap-1 px-2 py-0.5 rounded bg-amber-50 text-amber-800 border border-amber-200 font-medium text-[11.5px]">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-amber-500"></span>
|
||||
<span>B+级 · 方案研讨阶段</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-400 mt-0.5">待递交拓扑图纸草案</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3 text-center">
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[12px] font-medium bg-amber-50 text-amber-700 border border-amber-200">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-amber-500"></span>待执行 · 今日待办
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-center sticky right-0 bg-white/95">
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
<button class="text-primary hover:text-blue-700 font-semibold text-[12.5px]">执行跟进</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-slate-900 text-[12.5px]">改派</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-400 hover:text-red-600 text-[12.5px]">取消</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Row 3: VST-2026-0309 常规 -->
|
||||
<tr class="hover:bg-blue-50/40 transition-colors">
|
||||
<td class="py-3.5 px-4 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="font-mono font-bold text-primary hover:underline cursor-pointer">VST-2026-0309</span>
|
||||
</div>
|
||||
<div class="mt-1">
|
||||
<span class="text-[10.5px] px-1.5 py-0.5 rounded bg-slate-100 text-slate-600 font-medium border border-slate-200">常规 · P3回访</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-semibold text-slate-900 leading-snug line-clamp-1">汉口新华医院</div>
|
||||
<div class="text-[11.5px] text-slate-500 mt-0.5 flex items-center gap-1">
|
||||
<span class="material-symbols-outlined text-[14px] text-slate-400">domain</span>
|
||||
<span>总务科 · 急救中心低压配电室</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-medium text-slate-800">春季应急电巡检与改造沟通</div>
|
||||
<div class="text-[11.5px] text-slate-500">维保回访 · 备自投测试</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="w-6 h-6 rounded-full bg-emerald-100 text-emerald-800 flex items-center justify-center font-bold text-[11px]">李</div>
|
||||
<div>
|
||||
<div class="font-medium text-slate-800">李志敏</div>
|
||||
<div class="font-mono text-[11.5px] text-slate-400">139****8821</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-mono text-[12.5px] text-slate-800">2026-03-08 10:00</div>
|
||||
<div class="text-[11px] text-slate-400 flex items-center gap-0.5 mt-0.5">
|
||||
<span class="material-symbols-outlined text-[13px] text-emerald-600">check_circle</span>
|
||||
<span>已完工 (历时 2.5 小时)</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="inline-flex items-center gap-1 px-2 py-0.5 rounded bg-purple-50 text-purple-700 border border-purple-200 font-medium text-[11.5px]">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-purple-500"></span>
|
||||
<span>取证待审核 (含3张防伪照片)</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-500 mt-0.5">意向 B级 · 方案比选中</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3 text-center">
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[12px] font-medium bg-purple-50 text-purple-700 border border-purple-200">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-purple-500"></span>成果待技术复核
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-center sticky right-0 bg-white/95">
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
<button class="text-purple-600 hover:text-purple-800 font-bold text-[12.5px]">审核现场取证</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-slate-900 text-[12.5px]">导出简报</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Row 4: VST-2026-0304 常规 -->
|
||||
<tr class="hover:bg-blue-50/40 transition-colors">
|
||||
<td class="py-3.5 px-4 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="font-mono font-bold text-primary hover:underline cursor-pointer">VST-2026-0304</span>
|
||||
</div>
|
||||
<div class="mt-1">
|
||||
<span class="text-[10.5px] px-1.5 py-0.5 rounded bg-slate-100 text-slate-600 font-medium border border-slate-200">常规 · 方案研讨</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-semibold text-slate-900 leading-snug line-clamp-1">东湖高新智造产业园</div>
|
||||
<div class="text-[11.5px] text-slate-500 mt-0.5 flex items-center gap-1">
|
||||
<span class="material-symbols-outlined text-[14px] text-slate-400">domain</span>
|
||||
<span>工程运维中心 · 2号地块配电站</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-medium text-slate-800">智慧微电网与储能并网可行性</div>
|
||||
<div class="text-[11.5px] text-slate-500">方案沟通 · 商务研讨</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="w-6 h-6 rounded-full bg-blue-100 text-primary flex items-center justify-center font-bold text-[11px]">周</div>
|
||||
<div>
|
||||
<div class="font-medium text-slate-800">周慧</div>
|
||||
<div class="font-mono text-[11.5px] text-slate-400">137****6632</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-mono text-[12.5px] text-slate-800">2026-03-05 16:40</div>
|
||||
<div class="text-[11px] text-slate-400 flex items-center gap-0.5 mt-0.5">
|
||||
<span class="material-symbols-outlined text-[13px] text-emerald-600">done_all</span>
|
||||
<span>客户已确认纪要</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="inline-flex items-center gap-1 px-2 py-0.5 rounded bg-blue-50 text-primary border border-blue-200 font-semibold text-[11.5px]">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-primary"></span>
|
||||
<span>A级 · 已立项勘察 (PRJ-2026-041)</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-400 mt-0.5">方案已同步至项目库</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3 text-center">
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[12px] font-medium bg-emerald-50 text-emerald-700 border border-emerald-200">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-emerald-500"></span>已立项转勘察
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-center sticky right-0 bg-white/95">
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
<button class="text-primary hover:text-blue-700 font-medium text-[12.5px]">查看关联工程</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-slate-900 text-[12.5px]">报告归档</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- Table Footer & Ant Design Pagination -->
|
||||
<div class="px-5 py-4 border-t border-border-rule bg-surface flex flex-col md:flex-row items-center justify-between gap-4">
|
||||
<!-- Batch Actions -->
|
||||
<div class="flex items-center gap-3">
|
||||
<span class="text-[12.5px] text-slate-500">
|
||||
已选中 <strong class="text-primary font-mono font-bold">0</strong> 项
|
||||
</span>
|
||||
<button class="px-3 py-1.5 rounded-lg border border-slate-200 hover:bg-slate-50 text-slate-600 text-[12px] font-medium transition-colors disabled:opacity-50" disabled="">
|
||||
批量转勘察派单
|
||||
</button>
|
||||
<button class="px-3 py-1.5 rounded-lg border border-slate-200 hover:bg-slate-50 text-slate-600 text-[12px] font-medium transition-colors disabled:opacity-50" disabled="">
|
||||
批量导出拜访记录
|
||||
</button>
|
||||
</div>
|
||||
<!-- Pagination Controls -->
|
||||
<div class="flex items-center gap-2 text-[13px]">
|
||||
<span class="text-slate-500 text-[12.5px]">共 128 条</span>
|
||||
<!-- Page Size Selector -->
|
||||
<select class="py-1 px-2.5 border border-slate-200 rounded-lg text-[12px] text-slate-700 bg-slate-50 focus:outline-none focus:border-primary">
|
||||
<option value="10">10 条/页</option>
|
||||
<option value="20">20 条/页</option>
|
||||
<option value="50">50 条/页</option>
|
||||
</select>
|
||||
<!-- Page Buttons -->
|
||||
<div class="flex items-center gap-1 ml-2">
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 flex items-center justify-center text-slate-400 hover:bg-slate-50 disabled:opacity-40" disabled="">
|
||||
<span class="material-symbols-outlined text-[16px]">chevron_left</span>
|
||||
</button>
|
||||
<button class="w-8 h-8 rounded-lg bg-primary text-white font-bold flex items-center justify-center text-[12.5px] shadow-sm">
|
||||
1
|
||||
</button>
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 text-slate-600 hover:bg-slate-50 flex items-center justify-center text-[12.5px]">
|
||||
2
|
||||
</button>
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 text-slate-600 hover:bg-slate-50 flex items-center justify-center text-[12.5px]">
|
||||
3
|
||||
</button>
|
||||
<span class="text-slate-400 px-1 font-mono text-[12px]">...</span>
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 text-slate-600 hover:bg-slate-50 flex items-center justify-center text-[12.5px]">
|
||||
13
|
||||
</button>
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 flex items-center justify-center text-slate-600 hover:bg-slate-50">
|
||||
<span class="material-symbols-outlined text-[16px]">chevron_right</span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Quick Jumper -->
|
||||
<div class="flex items-center gap-1.5 ml-2 text-slate-500 text-[12.5px]">
|
||||
<span>跳至</span>
|
||||
<input class="w-12 py-1 px-1 text-center font-mono border border-slate-200 rounded-lg text-[12px] focus:outline-none focus:border-primary" type="text" value="1"/>
|
||||
<span>页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</body></html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 467 KiB |
@@ -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,19 @@
|
||||
<!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"></script><script id="tailwind-config">tailwind.config={"darkMode":"class","theme":{"extend":{"colors":{"secondary-fixed-dim":"#d2bbff","secondary":"#712ae2","secondary-fixed":"#eaddff","on-primary":"#ffffff","surface-container-lowest":"#ffffff","error":"#ba1a1a","on-error":"#ffffff","on-surface":"#0d1c2c","on-primary-fixed-variant":"#0040a1","outline-variant":"#c2c6d8","tertiary-fixed-dim":"#6bd8cb","on-secondary-fixed-variant":"#5a00c6","tertiary-container":"#008378","primary-container":"#136bfb","secondary-container":"#8a4cfc","tertiary":"#00685f","on-tertiary-fixed-variant":"#005049","on-secondary-fixed":"#25005a","surface-container-highest":"#d5e4fa","surface-container-low":"#eef4ff","background":"#f8f9ff","on-error-container":"#93000a","inverse-primary":"#b2c5ff","surface-dim":"#ccdbf1","on-primary-fixed":"#001847","surface-container-high":"#dbe9ff","outline":"#727787","status-warn":"#e0852b","on-secondary":"#ffffff","surface-tint":"#0056d2","bg-page":"#eef3f8","surface-variant":"#d5e4fa","primary":"#0054cd","on-tertiary-container":"#f4fffc","inverse-surface":"#233142","text-muted":"#5b6b7e","on-tertiary":"#ffffff","accent-subtle":"rgba(29,111,255,0.08)","primary-fixed":"#dae2ff","tertiary-fixed":"#89f5e7","surface-bright":"#f8f9ff","on-primary-container":"#fefcff","on-background":"#0d1c2c","primary-fixed-dim":"#b2c5ff","border-rule":"#dbe4ee","status-error":"#dc2626","inverse-on-surface":"#e9f1ff","error-container":"#ffdad6","on-tertiary-fixed":"#00201d","on-secondary-container":"#fffbff","on-surface-variant":"#424655","surface":"#ffffff","surface-container":"#e5efff"},"borderRadius":{"DEFAULT":"0.25rem","lg":"0.5rem","xl":"0.75rem","full":"9999px"},"spacing":{"md":"16px","sm":"12px","xl":"40px","container-max":"1200px","base":"4px","xs":"8px","gutter":"16px","lg":"24px"},"fontFamily":{"body-md":["hankenGrotesk"],"headline-md-mobile":["hankenGrotesk"],"caption-sm":["hankenGrotesk"],"label-bold":["hankenGrotesk"],"headline-md":["hankenGrotesk"],"title-sm":["hankenGrotesk"],"data-mono":["jetbrainsMono"],"display-lg":["hankenGrotesk"]},"fontSize":{"body-md":["15px",{"lineHeight":"24px","fontWeight":"400"}],"headline-md-mobile":["20px",{"lineHeight":"26px","fontWeight":"700"}],"caption-sm":["12px",{"lineHeight":"14px","fontWeight":"700"}],"label-bold":["13px",{"lineHeight":"16px","fontWeight":"700"}],"headline-md":["23px",{"lineHeight":"28px","fontWeight":"700"}],"title-sm":["17px",{"lineHeight":"24px","fontWeight":"700"}],"data-mono":["12px",{"lineHeight":"16px","fontWeight":"500"}],"display-lg":["32px",{"lineHeight":"40px","fontWeight":"700"}]}}}}</script></head><body class="bg-background font-body-md text-body-md text-on-surface antialiased"><aside class="fixed left-0 top-0 h-full w-72 bg-inverse-surface text-inverse-on-surface z-50 flex flex-col justify-between shadow-[0_1px_8px_rgba(0,0,0,0.04)]"><div class="flex flex-col flex-1 min-h-0"><div class="h-16 px-md flex items-center gap-sm bg-inverse-surface"><div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center text-on-primary shadow-sm"><span class="material-symbols-outlined text-[24px]">bolt</span></div><div class="flex flex-col"><div class="flex items-center gap-xs"><span class="font-headline-md text-headline-md text-white tracking-wide">XT-POWER</span><span class="font-caption-sm text-caption-sm bg-primary px-xs py-0.5 rounded text-white">OS</span></div><span class="font-caption-sm text-caption-sm text-outline-variant tracking-wider">鑫潼智电 · 智能配用电中枢</span></div></div><div class="flex-1 overflow-y-auto px-xs py-md"><nav class="flex flex-col gap-1" data-active-classes="bg-primary text-white font-label-bold rounded-lg shadow-sm"><a class="flex items-center gap-sm px-md py-sm rounded-lg text-outline-variant hover:bg-surface-container-highest/10 hover:text-white transition-colors" data-path="workbench" href="#"><span class="material-symbols-outlined text-[20px]">dashboard</span><span class="font-label-bold text-label-bold">运营工作台</span></a><div class="flex flex-col"><a class="flex items-center justify-between px-md py-sm rounded-lg bg-primary text-white font-label-bold shadow-sm transition-colors" data-path="customer-management" href="#"><div class="flex items-center gap-sm"><span class="material-symbols-outlined text-[20px]">apartment</span><span class="font-label-bold text-label-bold">客户管理</span></div><span class="material-symbols-outlined text-[16px]">expand_more</span></a><div class="flex flex-col ml-lg pl-md mt-1 mb-1 gap-1 border-l border-outline/30"><a aria-current="page" class="px-sm py-1.5 rounded-lg text-white font-label-bLine truncated
|
||||
<!-- 面包屑导航与页头标题区 -->
|
||||
<div class="flex flex-col gap-xs">
|
||||
<nav class="flex items-center gap-xs text-text-muted font-caption-sm text-caption-sm">
|
||||
<span class="hover:text-primary cursor-pointer transition-colors">客户管理</span>
|
||||
<span class="material-symbols-outlined text-[14px]">chevron_right</span>
|
||||
<span class="hover:text-primary cursor-pointer transition-colors">客户拜访管理</span>
|
||||
<span class="material-symbols-outlined text-[14px]">chevron_right</span>
|
||||
<span class="text-on-surface font-bold">新增客户拜访记录</span>
|
||||
</nav>
|
||||
<div class="flex flex-wrap items-center justify-between gap-md mt-1"><div class="flex items-center gap-sm"><div class="w-10 h-10 rounded-lg bg-surface-container-high flex items-center justify-center text-primary shadow-sm"><span class="material-symbols-outlined text-[24px]">handshake</span></div><div><div class="flex items-center gap-xs"><h1 class="font-headline-md text-headline-md text-on-surface">新增拜访跟进记录</h1><span class="px-xs py-0.5 rounded text-primary font-caption-sm text-caption-sm bg-primary/10 font-bold">售前CRM跟进</span></div><p class="font-caption-sm text-caption-sm text-text-muted mt-0.5">聚焦售前需求沟通、合作意向摸排与跟进计划,轻量高效记录</p></div></div><div class="flex items-center gap-xs"><button class="px-md py-1.5 rounded-lg bg-surface text-text-muted hover:text-on-surface border border-border-rule font-caption-sm text-caption-sm transition-colors flex items-center gap-1 shadow-sm" type="button"><span class="material-symbols-outlined text-[16px]">history</span><span>历史跟进台账</span></button></div></div>
|
||||
</div>
|
||||
<!-- 双栏主次架构 (8 : 4) -->
|
||||
<div class="grid grid-cols-1 lg:grid-cols-12 gap-lg items-start"><div class="lg:col-span-8 flex flex-col gap-lg min-w-0"><section class="bg-surface rounded-xl p-lg shadow-sm flex flex-col gap-md"><div class="flex items-center justify-between pb-sm bg-surface-container-low/40 -mx-lg -mt-lg px-lg pt-md rounded-t-xl"><div class="flex items-center gap-xs"><div class="w-2 h-4 rounded-full bg-primary"></div><h2 class="font-title-sm text-title-sm text-on-surface">模块一:拜访基本信息</h2><span class="font-data-mono text-data-mono text-text-muted">(Visit Details)</span></div><span class="text-status-warn font-caption-sm text-caption-sm flex items-center gap-1"><span class="material-symbols-outlined text-[14px]">info</span>* 为必填项</span></div><div class="grid grid-cols-1 md:grid-cols-2 gap-md pt-xs"><div class="flex flex-col gap-1.5 md:col-span-2"><label class="font-label-bold text-label-bold text-on-surface flex items-center justify-between"><span>关联客户 <span class="text-status-error">*</span></span><span class="font-caption-sm text-caption-sm text-text-muted font-normal">支持客户全称或拼音首字母智能检索</span></label><div class="w-full flex items-center justify-between px-md py-2.5 rounded-lg bg-background text-on-surface cursor-pointer shadow-inner"><div class="flex items-center gap-sm"><span class="material-symbols-outlined text-primary text-[20px]">business</span><div class="flex items-center gap-xs"><span class="font-label-bold text-label-bold text-on-surface">华中师范大学南湖校区</span><span class="px-1.5 py-0.5 bg-primary/10 text-primary font-data-mono text-data-mono rounded">CUST-2026-0012</span></div></div><div class="flex items-center gap-xs"><span class="px-xs py-0.5 rounded font-caption-sm text-caption-sm bg-primary/10 text-primary font-bold">重点推进客户</span><span class="material-symbols-outlined text-text-muted text-[18px]">arrow_drop_down</span></div></div></div><div class="flex flex-col gap-1.5 md:col-span-2"><label class="font-label-bold text-label-bold text-on-surface">拜访方式 <span class="text-status-error">*</span></label><div class="grid grid-cols-2 sm:grid-cols-4 gap-xs"><button class="flex items-center justify-center gap-1 py-2 px-sm rounded-lg bg-primary text-on-primary font-label-bold text-label-bold shadow-sm" type="button"><span class="material-symbols-outlined text-[16px]">pin_drop</span><span>现场拜访</span></button><button class="flex items-center justify-center gap-1 py-2 px-sm rounded-lg bg-surface-container-low text-on-surface font-label-bold text-label-bold hover:bg-surface-container transition-colors" type="button"><span class="material-symbols-outlined text-[16px]">handshake</span><span>商务拜访</span></button><button class="flex items-center justify-center gap-1 py-2 px-sm rounded-lg bg-surface-container-low text-on-surface font-label-bold text-label-bold hover:bg-surface-container transition-colors" type="button"><span class="material-symbols-outlined text-[16px]">phone_in_talk</span><span>电话沟通</span></button><button class="flex items-center justify-center gap-1 py-2 px-sm rounded-lg bg-surface-container-low text-on-surface font-label-bold text-label-bold hover:bg-surface-container transition-colors" type="button"><span class="material-symbols-outlined text-[16px]">videocam</span><span>线上会议</span></button></div></div><div class="flex flex-col gap-1.5"><label class="font-label-bold text-label-bold text-on-surface">拜访时间 <span class="text-status-error">*</span></label><div class="flex items-center justify-between px-md py-2 rounded-lg bg-background text-on-surface shadow-inner"><div class="flex items-center gap-xs"><span class="material-symbols-outlined text-text-muted text-[18px]">calendar_today</span><span class="font-data-mono text-data-mono">2026-03-28 14:30 ~ 16:00</span></div><span class="font-caption-sm text-caption-sm text-primary font-bold bg-primary/10 px-xs py-0.5 rounded">1.5h</span></div></div><div class="flex flex-col gap-1.5"><label class="font-label-bold text-label-bold text-on-surface">业务负责人及陪同人员 <span class="text-status-error">*</span></label><div class="flex items-center gap-xs"><div class="flex-1 flex items-center gap-xs px-sm py-2 rounded-lg bg-background shadow-inner text-on-surface"><span class="w-5 h-5 rounded-full bg-primary text-white flex items-center justify-center text-[10px] font-bold">李</span><span class="font-body-md text-body-md">李志敏</span><span class="font-caption-sm text-caption-sm text-text-muted">(负责人)</span></div><div class="flex-1 flex items-center gap-xs px-sm py-2 rounded-lg bg-background shadow-inner text-on-surface"><span class="w-5 h-5 rounded-full bg-surface-container-highest text-on-surface flex items-center justify-center text-[10px] font-bold">王</span><input class="w-full bg-transparent focus:outline-none text-body-md font-body-md text-on-surface" type="text" value="王助理 (商务陪同)"/></div></divLine truncated
|
||||
</div></main></div></body></html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 507 KiB |
@@ -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,744 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="zh-CN"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<title>现场勘察派单台账 - 鑫潼智电 XT-POWER OS</title>
|
||||
<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&family=JetBrains+Mono:wght@400..700&display=swap" rel="stylesheet"/>
|
||||
<style>
|
||||
@layer base {
|
||||
html, body { margin: 0; padding: 0; }
|
||||
body { overscroll-behavior: none; }
|
||||
}
|
||||
::-webkit-scrollbar { width: 6px; height: 6px; }
|
||||
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 9999px; }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
</style>
|
||||
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
||||
<script id="tailwind-config">
|
||||
tailwind.config = {
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
"primary": "#0054cd",
|
||||
"primary-container": "#136bfb",
|
||||
"on-primary": "#ffffff",
|
||||
"surface": "#ffffff",
|
||||
"bg-page": "#f4f7fb",
|
||||
"on-surface": "#0d1c2c",
|
||||
"on-surface-variant": "#424655",
|
||||
"text-muted": "#5b6b7e",
|
||||
"border-rule": "#e2e8f0",
|
||||
"inverse-surface": "#1e293b",
|
||||
"surface-container-low": "#f8fafc",
|
||||
"surface-container": "#eef2f7",
|
||||
"surface-container-high": "#e2e8f0",
|
||||
"accent-subtle": "rgba(0,84,205,0.08)",
|
||||
"tertiary": "#00685f",
|
||||
"status-warn": "#d97706",
|
||||
"error": "#dc2626"
|
||||
},
|
||||
fontFamily: {
|
||||
"sans": ["hankenGrotesk", "sans-serif"],
|
||||
"mono": ["JetBrains Mono", "monospace"]
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body class="bg-bg-page font-sans text-on-surface antialiased text-[13.5px]">
|
||||
<!-- Global Industrial Sidebar -->
|
||||
<aside class="fixed left-0 top-0 h-full w-64 bg-inverse-surface z-50 flex flex-col justify-between shadow-xl">
|
||||
<div class="flex flex-col h-full">
|
||||
<!-- Logo -->
|
||||
<div class="h-16 flex items-center px-5 gap-3 border-b border-white/10">
|
||||
<div class="w-8 h-8 rounded-lg bg-primary flex items-center justify-center text-white font-bold shadow-md shadow-blue-500/30">
|
||||
<span class="material-symbols-outlined text-[20px]">bolt</span>
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<span class="text-white font-bold text-[15px] tracking-wide">鑫潼智电</span>
|
||||
<span class="font-mono text-[11px] text-slate-400 tracking-wider">XT-POWER OS v3.8</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Navigation Links -->
|
||||
<nav class="flex-1 px-3 py-4 space-y-1 overflow-y-auto">
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">dashboard</span>
|
||||
<span>运营工作台</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">corporate_fare</span>
|
||||
<span>客户管理</span>
|
||||
</a>
|
||||
<!-- Menu Group: Project Management (Expanded & Active) -->
|
||||
<div class="pt-2">
|
||||
<div class="flex items-center justify-between px-3 py-2 text-white font-medium text-[13.5px]">
|
||||
<div class="flex items-center gap-3">
|
||||
<span class="material-symbols-outlined text-[20px] text-blue-400">schema</span>
|
||||
<span>项目管理</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[16px] text-slate-400">expand_less</span>
|
||||
</div>
|
||||
<div class="pl-7 pr-2 space-y-1 mt-1 border-l border-white/10 ml-5">
|
||||
<a class="flex items-center py-2 px-3 rounded-lg text-slate-400 hover:bg-white/10 hover:text-white text-[13px] transition-all" href="#">全周期工程看板</a>
|
||||
<a class="flex items-center py-2 px-3 rounded-lg bg-primary text-white font-semibold text-[13px] shadow-sm shadow-blue-900/40" href="#">现场勘察派单</a>
|
||||
<a class="flex items-center py-2 px-3 rounded-lg text-slate-400 hover:bg-white/10 hover:text-white text-[13px] transition-all" href="#">项目合同管理</a>
|
||||
<a class="flex items-center py-2 px-3 rounded-lg text-slate-400 hover:bg-white/10 hover:text-white text-[13px] transition-all" href="#">工程安装派单</a>
|
||||
<a class="flex items-center py-2 px-3 rounded-lg text-slate-400 hover:bg-white/10 hover:text-white text-[13px] transition-all" href="#">工程竣工验收</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">send_time_extension</span>
|
||||
<span>运营派单</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">sensors</span>
|
||||
<span>设备监控</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">query_stats</span>
|
||||
<span>统计报表</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2.5 rounded-lg text-slate-300 hover:bg-white/10 hover:text-white transition-all text-[13.5px]" href="#">
|
||||
<span class="material-symbols-outlined text-[20px]">settings</span>
|
||||
<span>系统管理</span>
|
||||
</a>
|
||||
</nav>
|
||||
<!-- Bottom Status -->
|
||||
<div class="p-4 border-t border-white/10 bg-slate-900/50">
|
||||
<div class="flex items-center justify-between text-[12px] text-slate-400">
|
||||
<span>华东区 · 枢纽调度</span>
|
||||
<span class="flex items-center gap-1.5 text-emerald-400 font-mono text-[11px]">
|
||||
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span> 系统稳定
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<!-- Main Shell Viewport -->
|
||||
<div class="pl-64 flex flex-col min-h-screen">
|
||||
<!-- Top Navigation Bar -->
|
||||
<header class="fixed top-0 left-64 right-0 h-16 z-40 bg-surface/90 backdrop-blur-md border-b border-border-rule px-8 flex items-center justify-between shadow-sm">
|
||||
<div class="flex items-center gap-5">
|
||||
<div class="flex items-center gap-2 text-slate-500 text-[13px]">
|
||||
<span class="hover:text-slate-700 cursor-pointer">项目管理</span>
|
||||
<span class="text-slate-300">/</span>
|
||||
<span class="text-on-surface font-semibold">现场勘察派单台账</span>
|
||||
</div>
|
||||
<div class="relative w-80">
|
||||
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-slate-400 text-[18px]">search</span>
|
||||
<input class="w-full pl-9 pr-4 py-1.5 bg-slate-100/90 text-on-surface rounded-lg text-[13px] border border-transparent focus:border-primary focus:bg-white focus:outline-none transition-all" placeholder="检索工单编号、客户或项目..." type="text"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center gap-4">
|
||||
<div class="flex items-center gap-2 pr-3 border-r border-border-rule">
|
||||
<button class="relative w-8 h-8 flex items-center justify-center rounded-lg hover:bg-slate-100 text-slate-600 transition-colors" title="消息通知">
|
||||
<span class="material-symbols-outlined text-[20px]">notifications</span>
|
||||
<span class="absolute top-1.5 right-1.5 w-2 h-2 bg-red-500 rounded-full"></span>
|
||||
</button>
|
||||
<button class="w-8 h-8 flex items-center justify-center rounded-lg hover:bg-slate-100 text-slate-600 transition-colors" title="使用帮助">
|
||||
<span class="material-symbols-outlined text-[20px]">help</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex items-center gap-3 pl-1">
|
||||
<div class="text-right">
|
||||
<div class="font-semibold text-slate-800 text-[13px] flex items-center justify-end gap-1.5">
|
||||
<span>李工</span>
|
||||
<span class="text-[10.5px] px-1.5 py-0.2 rounded bg-blue-50 text-primary border border-blue-100 font-normal">主控工程师</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-500 font-mono">调度中心 · 席位04</div>
|
||||
</div>
|
||||
<div class="w-9 h-9 rounded-full bg-gradient-to-tr from-primary to-blue-500 text-white flex items-center justify-center font-bold text-[14px] shadow-sm">
|
||||
李
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Main Workspace Ledger -->
|
||||
<main class="w-full pt-20 flex-1 p-8 space-y-5">
|
||||
<!-- Page Header: Title + Ledger Actions -->
|
||||
<div class="flex flex-col lg:flex-row lg:items-center justify-between gap-4">
|
||||
<div>
|
||||
<div class="flex items-center gap-2.5">
|
||||
<h1 class="text-[22px] font-bold text-slate-900 tracking-tight">现场勘察派单台账</h1>
|
||||
<span class="text-[12px] font-mono font-medium px-2 py-0.5 rounded-md bg-slate-100 text-slate-600 border border-slate-200">SURVEY DISPATCH LEDGER</span>
|
||||
</div>
|
||||
<p class="text-[13px] text-slate-500 mt-1">
|
||||
统一调度与全周期管理电力工程勘察测绘工单,监控现场执行时效、电工指派状态及测绘成果归档。
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex items-center gap-2.5">
|
||||
<button class="px-3.5 py-2 rounded-lg bg-white border border-slate-200 hover:bg-slate-50 hover:border-slate-300 text-slate-700 font-medium text-[13px] shadow-sm transition-all flex items-center gap-1.5">
|
||||
<span class="material-symbols-outlined text-[17px] text-slate-500">file_download</span>
|
||||
<span>导出台账数据</span>
|
||||
</button>
|
||||
<button class="px-3.5 py-2 rounded-lg bg-white border border-slate-200 hover:bg-slate-50 hover:border-slate-300 text-slate-700 font-medium text-[13px] shadow-sm transition-all flex items-center gap-1.5">
|
||||
<span class="material-symbols-outlined text-[17px] text-slate-500">group_add</span>
|
||||
<span>批量派工</span>
|
||||
</button>
|
||||
<button class="px-4 py-2 rounded-lg bg-primary hover:bg-blue-700 text-white font-semibold text-[13px] shadow-sm shadow-blue-500/25 transition-all flex items-center gap-1.5">
|
||||
<span class="material-symbols-outlined text-[18px]">add</span>
|
||||
<span>发起勘察派单</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Ledger Top Status Metric Tabs (AntD style filter tabs) -->
|
||||
<div class="grid grid-cols-2 md:grid-cols-5 gap-3">
|
||||
<!-- Card 1: All -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border-2 border-primary/20 bg-gradient-to-b from-blue-50/50 to-surface shadow-sm cursor-pointer hover:border-primary transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">全部工单</span>
|
||||
<span class="material-symbols-outlined text-[18px] text-primary">view_kanban</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-slate-900 font-mono">170</span>
|
||||
<span class="text-[11px] text-slate-400">总台账量</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-slate-500 flex items-center gap-1">
|
||||
<span>当月环比</span>
|
||||
<span class="text-emerald-600 font-medium font-mono">+12.4%</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 2: Pending Dispatch -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border border-border-rule shadow-sm hover:border-amber-400 cursor-pointer transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="w-2 h-2 rounded-full bg-amber-500"></span>
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">待指派 / 待派单</span>
|
||||
</div>
|
||||
<span class="px-1.5 py-0.5 rounded text-[10.5px] bg-amber-50 text-amber-700 font-medium border border-amber-200">预警</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-amber-600 font-mono">4</span>
|
||||
<span class="text-[11px] text-slate-400">单急需调度</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-amber-600 font-medium flex items-center gap-1">
|
||||
<span class="material-symbols-outlined text-[13px]">alarm</span>
|
||||
<span>1 单即将超出到场时效</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 3: In Progress -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border border-border-rule shadow-sm hover:border-blue-400 cursor-pointer transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="w-2 h-2 rounded-full bg-blue-500 animate-pulse"></span>
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">现场勘察中</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[18px] text-blue-500">architecture</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-primary font-mono">12</span>
|
||||
<span class="text-[11px] text-slate-400">单在场测绘</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-slate-500 flex items-center gap-1">
|
||||
<span>平均履约到场率</span>
|
||||
<span class="text-blue-600 font-medium font-mono">98.6%</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 4: Under Technical Review -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border border-border-rule shadow-sm hover:border-purple-400 cursor-pointer transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="w-2 h-2 rounded-full bg-purple-500"></span>
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">成果待技术复核</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[18px] text-purple-600">fact_check</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-purple-600 font-mono">6</span>
|
||||
<span class="text-[11px] text-slate-400">单已回传照片</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-slate-500 flex items-center gap-1">
|
||||
<span>总工复审平均</span>
|
||||
<span class="text-purple-600 font-medium font-mono">2.1 小时</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Card 5: Archived/Completed -->
|
||||
<div class="bg-surface rounded-xl p-3.5 border border-border-rule shadow-sm hover:border-emerald-400 cursor-pointer transition-all">
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="w-2 h-2 rounded-full bg-emerald-500"></span>
|
||||
<span class="text-[12.5px] font-semibold text-slate-700">勘察完成 / 已归档</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-[18px] text-emerald-600">check_circle</span>
|
||||
</div>
|
||||
<div class="mt-2 flex items-baseline gap-2">
|
||||
<span class="text-[22px] font-bold text-emerald-600 font-mono">148</span>
|
||||
<span class="text-[11px] text-slate-400">单本月归档</span>
|
||||
</div>
|
||||
<div class="mt-1 text-[11.5px] text-slate-500 flex items-center gap-1">
|
||||
<span>方案出具率</span>
|
||||
<span class="text-emerald-600 font-medium font-mono">100%</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Filter Bar: Search, Filters & Action buttons -->
|
||||
<div class="bg-surface rounded-xl p-4 border border-border-rule shadow-sm space-y-3">
|
||||
<div class="grid grid-cols-1 md:grid-cols-12 gap-3 items-center">
|
||||
<!-- Search Query -->
|
||||
<div class="md:col-span-4">
|
||||
<label class="block text-[11.5px] font-medium text-slate-500 mb-1">模糊搜索</label>
|
||||
<div class="relative">
|
||||
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-slate-400 text-[18px]">search</span>
|
||||
<input class="w-full pl-9 pr-3 py-1.5 text-[13px] bg-slate-50 border border-slate-200 rounded-lg text-slate-800 placeholder-slate-400 focus:bg-white focus:border-primary focus:outline-none transition-colors" placeholder="工单编号、客户名称、物理建筑、业务员" type="text"/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Status Filter -->
|
||||
<div class="md:col-span-2">
|
||||
<label class="block text-[11.5px] font-medium text-slate-500 mb-1">工单流程状态</label>
|
||||
<select class="w-full py-1.5 px-3 text-[13px] bg-slate-50 border border-slate-200 rounded-lg text-slate-800 focus:bg-white focus:border-primary focus:outline-none">
|
||||
<option value="all">全部状态 (170)</option>
|
||||
<option value="pending">待指派 (4)</option>
|
||||
<option value="progress">勘察中 (12)</option>
|
||||
<option value="review">待技术复核 (6)</option>
|
||||
<option value="completed">已归档 (148)</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- Electrician Filter -->
|
||||
<div class="md:col-span-2">
|
||||
<label class="block text-[11.5px] font-medium text-slate-500 mb-1">指派电工</label>
|
||||
<select class="w-full py-1.5 px-3 text-[13px] bg-slate-50 border border-slate-200 rounded-lg text-slate-800 focus:bg-white focus:border-primary focus:outline-none">
|
||||
<option value="all">全部电工 (38人)</option>
|
||||
<option value="unassigned">待指派电工</option>
|
||||
<option value="1">赵志强 (特种高压/4.98分)</option>
|
||||
<option value="2">孙明远 (继电保护/4.92分)</option>
|
||||
<option value="3">王建国 (特种低压/4.95分)</option>
|
||||
<option value="4">周正海 (电气试验/4.88分)</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- Date Picker -->
|
||||
<div class="md:col-span-2">
|
||||
<label class="block text-[11.5px] font-medium text-slate-500 mb-1">计划到场窗口</label>
|
||||
<div class="relative">
|
||||
<span class="material-symbols-outlined absolute left-2.5 top-1/2 -translate-y-1/2 text-slate-400 text-[16px]">calendar_today</span>
|
||||
<input class="w-full pl-8 pr-2.5 py-1.5 text-[12.5px] bg-slate-50 border border-slate-200 rounded-lg text-slate-800 focus:bg-white focus:border-primary focus:outline-none font-mono" placeholder="2026-03-01 ~ 03-31" type="text" value="2026-03-01 ~ 03-15"/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Buttons -->
|
||||
<div class="md:col-span-2 flex items-center gap-2 pt-5">
|
||||
<button class="flex-1 py-1.5 bg-primary hover:bg-blue-700 text-white font-medium rounded-lg text-[13px] shadow-sm transition-colors flex items-center justify-center gap-1">
|
||||
<span class="material-symbols-outlined text-[16px]">search</span>
|
||||
<span>查询</span>
|
||||
</button>
|
||||
<button class="px-3 py-1.5 bg-white border border-slate-200 hover:bg-slate-50 text-slate-600 rounded-lg text-[13px] transition-colors">
|
||||
重置
|
||||
</button>
|
||||
<button class="text-primary hover:text-blue-700 text-[12px] flex items-center gap-0.5 whitespace-nowrap pl-1" title="展开高级筛选">
|
||||
<span>高级</span>
|
||||
<span class="material-symbols-outlined text-[15px]">tune</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Main Data Table Container (Ant Design Pro Table Style) -->
|
||||
<div class="bg-surface rounded-xl border border-border-rule shadow-sm overflow-hidden">
|
||||
<!-- Table Subheader -->
|
||||
<div class="px-5 py-3.5 border-b border-border-rule bg-slate-50/60 flex items-center justify-between">
|
||||
<div class="flex items-center gap-3 text-[13px]">
|
||||
<span class="font-semibold text-slate-800">勘察派工数据台账</span>
|
||||
<span class="text-slate-400">|</span>
|
||||
<span class="text-slate-500 text-[12px]">显示第 <span class="font-mono text-slate-700 font-semibold">1</span> 到 <span class="font-mono text-slate-700 font-semibold">5</span> 笔,共 <span class="font-mono text-primary font-bold">170</span> 笔工单记录</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 text-[12px] text-slate-500">
|
||||
<span class="flex items-center gap-1"><span class="w-2 h-2 rounded-full bg-red-500"></span>特急 2</span>
|
||||
<span class="flex items-center gap-1 ml-2"><span class="w-2 h-2 rounded-full bg-amber-500"></span>加急 5</span>
|
||||
<span class="flex items-center gap-1 ml-2"><span class="w-2 h-2 rounded-full bg-slate-400"></span>常规 163</span>
|
||||
<button class="ml-3 text-slate-400 hover:text-slate-700 p-1" title="刷新表格">
|
||||
<span class="material-symbols-outlined text-[18px]">refresh</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Actual Table -->
|
||||
<div class="overflow-x-auto">
|
||||
<table class="w-full text-left border-collapse text-[13px]">
|
||||
<thead>
|
||||
<tr class="bg-slate-50/90 text-slate-600 text-[12px] border-b border-slate-200 uppercase tracking-wider font-semibold">
|
||||
<th class="py-3 px-4 w-10 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</th>
|
||||
<th class="py-3 px-3 min-w-[150px]">工单编号 / 优先级</th>
|
||||
<th class="py-3 px-3 min-w-[210px]">关联客户与项目</th>
|
||||
<th class="py-3 px-3 min-w-[180px]">现场空间位置</th>
|
||||
<th class="py-3 px-3 min-w-[150px]">测绘回路 / 规格</th>
|
||||
<th class="py-3 px-3 min-w-[130px]">责任业务员</th>
|
||||
<th class="py-3 px-3 min-w-[170px]">调度指派电工</th>
|
||||
<th class="py-3 px-3 min-w-[150px]">期望时效 / SLA</th>
|
||||
<th class="py-3 px-3 min-w-[100px]">预估劳务费</th>
|
||||
<th class="py-3 px-3 min-w-[110px] text-center">工单状态</th>
|
||||
<th class="py-3 px-4 min-w-[160px] text-center sticky right-0 bg-slate-50">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="divide-y divide-slate-100 text-slate-700">
|
||||
<!-- Row 1: 待指派 (WH-SURV-2026-0302) 特急 -->
|
||||
<tr class="hover:bg-blue-50/40 transition-colors bg-amber-50/20">
|
||||
<td class="py-3.5 px-4 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="font-mono font-bold text-primary hover:underline cursor-pointer">WH-SURV-2026-0302</span>
|
||||
</div>
|
||||
<div class="mt-1">
|
||||
<span class="text-[10.5px] px-1.5 py-0.5 rounded bg-red-100 text-red-700 font-semibold border border-red-200">特急派发</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-semibold text-slate-900 leading-snug line-clamp-1">武汉软件工程职业学院 · 实训楼智能配电改造</div>
|
||||
<div class="text-[11.5px] text-slate-400 mt-0.5">签约客户:武汉软件工程职业学院后勤处</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-start gap-1 text-[12.5px] text-slate-700">
|
||||
<span class="material-symbols-outlined text-[15px] text-slate-400 shrink-0 mt-0.5">pin_drop</span>
|
||||
<span>实训综合楼 1F低压室 及 2~3F强电竖井</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-mono font-semibold text-slate-800">40 回路</div>
|
||||
<div class="text-[11.5px] text-slate-500">380V / 400A MCCB</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-medium text-slate-800">程经理</div>
|
||||
<div class="font-mono text-[11.5px] text-slate-400">138****9201</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg bg-amber-50 border border-amber-200 text-amber-800">
|
||||
<span class="material-symbols-outlined text-[15px] text-amber-600">person_search</span>
|
||||
<span class="font-medium text-[12px]">待指派电工</span>
|
||||
<span class="text-[11px] text-primary underline cursor-pointer ml-0.5">指派</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="text-amber-700 font-medium text-[12.5px] flex items-center gap-1">
|
||||
<span class="material-symbols-outlined text-[15px]">timer</span>
|
||||
<span>接单后 45 分钟内</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-red-600 font-mono font-medium mt-0.5">剩余 1.2 小时超时</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3 font-mono font-bold text-slate-900">
|
||||
¥ 550.00
|
||||
</td>
|
||||
<td class="py-3.5 px-3 text-center">
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[12px] font-medium bg-amber-50 text-amber-700 border border-amber-200">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-amber-500"></span>待指派
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-center sticky right-0 bg-white/95">
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
<button class="text-primary hover:text-blue-700 font-semibold text-[12.5px]">指派电工</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-slate-900 text-[12.5px]">编辑</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-400 hover:text-red-600 text-[12.5px]">取消</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Row 2: 现场勘察中 (WH-SURV-2026-0303) 加急 -->
|
||||
<tr class="hover:bg-blue-50/40 transition-colors">
|
||||
<td class="py-3.5 px-4 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="font-mono font-bold text-primary hover:underline cursor-pointer">WH-SURV-2026-0303</span>
|
||||
</div>
|
||||
<div class="mt-1">
|
||||
<span class="text-[10.5px] px-1.5 py-0.5 rounded bg-amber-100 text-amber-800 font-semibold border border-amber-200">加急工单</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-semibold text-slate-900 leading-snug line-clamp-1">华中师范大学南湖校区 · 二期环网柜勘察测绘</div>
|
||||
<div class="text-[11.5px] text-slate-400 mt-0.5">签约客户:湖北科教基建投资有限公司</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-start gap-1 text-[12.5px] text-slate-700">
|
||||
<span class="material-symbols-outlined text-[15px] text-slate-400 shrink-0 mt-0.5">pin_drop</span>
|
||||
<span>南湖校区 10kV 开闭所及 2# 箱变</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-mono font-semibold text-slate-800">24 回路</div>
|
||||
<div class="text-[11.5px] text-slate-500">10kV 环网柜 / 630kVA</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-medium text-slate-800">万工</div>
|
||||
<div class="font-mono text-[11.5px] text-slate-400">135****4829</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="w-6 h-6 rounded-full bg-primary/10 text-primary flex items-center justify-center font-bold text-[11px]">赵</div>
|
||||
<div>
|
||||
<div class="font-semibold text-slate-800 text-[12.5px]">赵志强</div>
|
||||
<div class="text-[11px] text-slate-400">距1.8km · <span class="text-amber-600 font-semibold">★4.98</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="text-slate-800 font-medium text-[12.5px]">履约测绘中</div>
|
||||
<div class="text-[11.5px] text-emerald-600 font-mono">已完成 18/24 回路</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3 font-mono font-bold text-slate-900">
|
||||
¥ 680.00
|
||||
</td>
|
||||
<td class="py-3.5 px-3 text-center">
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[12px] font-medium bg-blue-50 text-blue-700 border border-blue-200">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-blue-500 animate-pulse"></span>现场勘察中
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-center sticky right-0 bg-white/95">
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
<button class="text-primary hover:text-blue-700 font-semibold text-[12.5px]">进度跟踪</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-slate-900 text-[12.5px]">改派</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-amber-600 text-[12.5px]">催办</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Row 3: 待技术复核 (WH-SURV-2026-0304) 常规 -->
|
||||
<tr class="hover:bg-blue-50/40 transition-colors">
|
||||
<td class="py-3.5 px-4 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="font-mono font-bold text-primary hover:underline cursor-pointer">WH-SURV-2026-0304</span>
|
||||
</div>
|
||||
<div class="mt-1">
|
||||
<span class="text-[10.5px] px-1.5 py-0.5 rounded bg-slate-100 text-slate-600 font-medium border border-slate-200">常规工单</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-semibold text-slate-900 leading-snug line-clamp-1">光谷微电子产业园 · 3号配电站扩容测绘</div>
|
||||
<div class="text-[11.5px] text-slate-400 mt-0.5">签约客户:光谷微电子联合实验室</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-start gap-1 text-[12.5px] text-slate-700">
|
||||
<span class="material-symbols-outlined text-[15px] text-slate-400 shrink-0 mt-0.5">pin_drop</span>
|
||||
<span>高新大道999号 研发楼B座负一层配电间</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-mono font-semibold text-slate-800">56 回路</div>
|
||||
<div class="text-[11.5px] text-slate-500">双电源 ATS / 630A</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-medium text-slate-800">刘经理</div>
|
||||
<div class="font-mono text-[11.5px] text-slate-400">139****1124</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="w-6 h-6 rounded-full bg-purple-100 text-purple-700 flex items-center justify-center font-bold text-[11px]">孙</div>
|
||||
<div>
|
||||
<div class="font-semibold text-slate-800 text-[12.5px]">孙明远</div>
|
||||
<div class="text-[11px] text-slate-400">距4.2km · <span class="text-amber-600 font-semibold">★4.92</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="text-slate-800 font-medium text-[12.5px]">已完成回传</div>
|
||||
<div class="text-[11.5px] text-purple-600 font-mono">16张图纸待复核</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3 font-mono font-bold text-slate-900">
|
||||
¥ 820.00
|
||||
</td>
|
||||
<td class="py-3.5 px-3 text-center">
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[12px] font-medium bg-purple-50 text-purple-700 border border-purple-200">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-purple-500"></span>待技术复核
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-center sticky right-0 bg-white/95">
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
<button class="text-purple-600 hover:text-purple-800 font-bold text-[12.5px]">审核测绘成果</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-slate-900 text-[12.5px]">取证照片</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Row 4: 待指派 (WH-SURV-2026-0305) 常规 -->
|
||||
<tr class="hover:bg-blue-50/40 transition-colors">
|
||||
<td class="py-3.5 px-4 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="font-mono font-bold text-primary hover:underline cursor-pointer">WH-SURV-2026-0305</span>
|
||||
</div>
|
||||
<div class="mt-1">
|
||||
<span class="text-[10.5px] px-1.5 py-0.5 rounded bg-slate-100 text-slate-600 font-medium border border-slate-200">常规工单</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-semibold text-slate-900 leading-snug line-clamp-1">汉口新华医院 · 急诊楼供电后备发电机进线勘察</div>
|
||||
<div class="text-[11.5px] text-slate-400 mt-0.5">签约客户:汉口新华医疗投资集团</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-start gap-1 text-[12.5px] text-slate-700">
|
||||
<span class="material-symbols-outlined text-[15px] text-slate-400 shrink-0 mt-0.5">pin_drop</span>
|
||||
<span>急诊综合大楼 B2柴发机房及母线桥架</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-mono font-semibold text-slate-800">18 回路</div>
|
||||
<div class="text-[11.5px] text-slate-500">400V 应急发电机母排</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-medium text-slate-800">黄主管</div>
|
||||
<div class="font-mono text-[11.5px] text-slate-400">136****9012</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg bg-slate-100 border border-slate-200 text-slate-600">
|
||||
<span class="material-symbols-outlined text-[15px] text-slate-400">schedule</span>
|
||||
<span class="font-medium text-[12px]">待指定电工</span>
|
||||
<span class="text-[11px] text-primary underline cursor-pointer ml-0.5">智能派单</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="text-slate-800 font-medium text-[12.5px]">24小时内到场</div>
|
||||
<div class="text-[11px] text-slate-500 font-mono">剩余 19.5 小时</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3 font-mono font-bold text-slate-900">
|
||||
¥ 420.00
|
||||
</td>
|
||||
<td class="py-3.5 px-3 text-center">
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[12px] font-medium bg-amber-50 text-amber-700 border border-amber-200">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-amber-500"></span>待指派
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-center sticky right-0 bg-white/95">
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
<button class="text-primary hover:text-blue-700 font-semibold text-[12.5px]">指派电工</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-slate-900 text-[12.5px]">编辑</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-400 hover:text-red-600 text-[12.5px]">取消</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Row 5: 勘察完成/已归档 (WH-SURV-2026-0288) 常规 -->
|
||||
<tr class="hover:bg-blue-50/40 transition-colors">
|
||||
<td class="py-3.5 px-4 text-center">
|
||||
<input class="rounded border-slate-300 text-primary focus:ring-0 w-4 h-4 cursor-pointer" type="checkbox"/>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-1.5">
|
||||
<span class="font-mono font-bold text-primary hover:underline cursor-pointer">WH-SURV-2026-0288</span>
|
||||
</div>
|
||||
<div class="mt-1">
|
||||
<span class="text-[10.5px] px-1.5 py-0.5 rounded bg-slate-100 text-slate-600 font-medium border border-slate-200">常规工单</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-semibold text-slate-900 leading-snug line-clamp-1">东西湖现代冷链物流港 · 02号智能仓冷风机配电</div>
|
||||
<div class="text-[11.5px] text-slate-400 mt-0.5">签约客户:湖北现代冷链物流发展有限公司</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-start gap-1 text-[12.5px] text-slate-700">
|
||||
<span class="material-symbols-outlined text-[15px] text-slate-400 shrink-0 mt-0.5">pin_drop</span>
|
||||
<span>冷链1号库东侧冷机房控制柜</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-mono font-semibold text-slate-800">32 回路</div>
|
||||
<div class="text-[11.5px] text-slate-500">变频动力柜 / 250A</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="font-medium text-slate-800">王工</div>
|
||||
<div class="font-mono text-[11.5px] text-slate-400">137****6632</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="w-6 h-6 rounded-full bg-emerald-100 text-emerald-800 flex items-center justify-center font-bold text-[11px]">王</div>
|
||||
<div>
|
||||
<div class="font-semibold text-slate-800 text-[12.5px]">王建国</div>
|
||||
<div class="text-[11px] text-slate-400">履约完成 · <span class="text-amber-600 font-semibold">★4.95</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3">
|
||||
<div class="text-emerald-700 font-medium text-[12.5px] flex items-center gap-1">
|
||||
<span class="material-symbols-outlined text-[15px]">verified</span>
|
||||
<span>SLA 100% 达标</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-400 font-mono">已归档至项目库</div>
|
||||
</td>
|
||||
<td class="py-3.5 px-3 font-mono font-bold text-slate-900">
|
||||
¥ 620.00
|
||||
</td>
|
||||
<td class="py-3.5 px-3 text-center">
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[12px] font-medium bg-emerald-50 text-emerald-700 border border-emerald-200">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-emerald-500"></span>已归档
|
||||
</span>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-center sticky right-0 bg-white/95">
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
<button class="text-primary hover:text-blue-700 font-medium text-[12.5px]">生成方案</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-600 hover:text-slate-900 text-[12.5px]">查看报告</button>
|
||||
<span class="text-slate-200">|</span>
|
||||
<button class="text-slate-400 hover:text-slate-600 text-[12.5px]">详情</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- Table Footer & Ant Design Pagination -->
|
||||
<div class="px-5 py-4 border-t border-border-rule bg-surface flex flex-col md:flex-row items-center justify-between gap-4">
|
||||
<!-- Batch Actions -->
|
||||
<div class="flex items-center gap-3">
|
||||
<span class="text-[12.5px] text-slate-500">
|
||||
已选中 <strong class="text-primary font-mono font-bold">0</strong> 项
|
||||
</span>
|
||||
<button class="px-3 py-1.5 rounded-lg border border-slate-200 hover:bg-slate-50 text-slate-600 text-[12px] font-medium transition-colors disabled:opacity-50" disabled="">
|
||||
批量指定电工
|
||||
</button>
|
||||
<button class="px-3 py-1.5 rounded-lg border border-slate-200 hover:bg-slate-50 text-slate-600 text-[12px] font-medium transition-colors disabled:opacity-50" disabled="">
|
||||
批量打印现场作业票
|
||||
</button>
|
||||
</div>
|
||||
<!-- Pagination Controls -->
|
||||
<div class="flex items-center gap-2 text-[13px]">
|
||||
<span class="text-slate-500 text-[12.5px]">共 170 条</span>
|
||||
<!-- Page Size Selector -->
|
||||
<select class="py-1 px-2.5 border border-slate-200 rounded-lg text-[12px] text-slate-700 bg-slate-50 focus:outline-none focus:border-primary">
|
||||
<option value="10">10 条/页</option>
|
||||
<option value="20">20 条/页</option>
|
||||
<option value="50">50 条/页</option>
|
||||
</select>
|
||||
<!-- Page Buttons -->
|
||||
<div class="flex items-center gap-1 ml-2">
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 flex items-center justify-center text-slate-400 hover:bg-slate-50 disabled:opacity-40" disabled="">
|
||||
<span class="material-symbols-outlined text-[16px]">chevron_left</span>
|
||||
</button>
|
||||
<button class="w-8 h-8 rounded-lg bg-primary text-white font-bold flex items-center justify-center text-[12.5px] shadow-sm">
|
||||
1
|
||||
</button>
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 text-slate-600 hover:bg-slate-50 flex items-center justify-center text-[12.5px]">
|
||||
2
|
||||
</button>
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 text-slate-600 hover:bg-slate-50 flex items-center justify-center text-[12.5px]">
|
||||
3
|
||||
</button>
|
||||
<span class="text-slate-400 px-1 font-mono text-[12px]">...</span>
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 text-slate-600 hover:bg-slate-50 flex items-center justify-center text-[12.5px]">
|
||||
17
|
||||
</button>
|
||||
<button class="w-8 h-8 rounded-lg border border-slate-200 flex items-center justify-center text-slate-600 hover:bg-slate-50">
|
||||
<span class="material-symbols-outlined text-[16px]">chevron_right</span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Quick Jumper -->
|
||||
<div class="flex items-center gap-1.5 ml-2 text-slate-500 text-[12.5px]">
|
||||
<span>跳至</span>
|
||||
<input class="w-12 py-1 px-1 text-center font-mono border border-slate-200 rounded-lg text-[12px] focus:outline-none focus:border-primary" type="text" value="1"/>
|
||||
<span>页</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</body></html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 495 KiB |
@@ -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