使用传入的系统 Fields 进行外地绘图接口分组
- FieldMapping Interface: 固定获取System FieldsByCategory 用于通过系统 Fields 道具而不是默认的 BASE SYSTEM FIELDS - 外地绘图界面:系统字段变化时自动扩展新类别后添加使用效果 - 领导手册进口经理:对错误处理进行小清理 这可以使导入向导在基...
重置市场数据负载的状态以阻止数据陈旧
- 当响应时, 添加状态重置到其它块中 。ok 是虚假的 - 确保选定MarketConfig和自定义字段在市场负载失败时被清除 - 与捕获区块错误处理保持一致 - 防止在后续负载失败时使用陈旧的市场配置
Fix syntax error and add debug logging for market field loading
- Fixed syntax error in complex type assertion by breaking into proper interfaces - Added debug logging to track market data, salesSubType, and custom form load...
在手动导入中使用销售 SubType 进行按揭字段检测
- 更新了铅市场接口以匹配 DTO 结构( CustomForms 最初只有基本信息) - 澄清销售的固定评论SubType用于抵押贷款检测(不是销售Type) - 已获取每个表格的自定义表格,并附有详细信息(数据库和字段)
Add missing Next.js API routes for leads endpoints
- Added /api/security/leads route for GET (all leads) and POST (create lead) - Added /api/security/leads/[id] route for GET, PUT, DELETE operations - Added ****...
Remove 'name' property reference in updateLead function
- Lead interface only has 'primaryContact', not 'name' - Removed fallback to patch.name in updateLead - Completes the fix for type safety
Remove non-existent 'name' property references in leadsApi
- Lead interface only has 'primaryContact', not 'name' - Removed fallback to leadData.name in createLead and updateLead - Ensures type safety and correct API be...
Replace remaining Grid closing tags with GridLegacy in CreateLeadClient
- Fixed all remaining </Grid> tags that should be </GridLegacy> - Ensures proper closing of GridLegacy item components - Resolves JSX syntax error
Replace Grid with GridLegacy for item prop in CreateLeadClient
- MUI v7 moved 'item' prop to GridLegacy component - Updated all Grid item instances to GridLegacy - Required for compatibility with MUI v7
Add missing 'email' property to Lead interface
- leadsApi.createLead expects email as a separate property - Email is also available in primaryContact.email but API needs it at Lead level - Required for lead ...
Cast customFormData to correct type in CreateLeadClient
- TypeScript was complaining about type mismatch between Record<string, Record<string, unknown>> and Record<string, CustomFormData> - Added type assertion to ma...
Add missing 'vendorLeadID' property to Lead interface
- Property exists in Java Lead bean but was missing from TypeScript interface - Required for lead creation and import functionality
Add missing 'languages' property to primaryContact in CreateLeadClient
- Contact interface requires 'languages' property - Initialize with empty array to satisfy type requirements
Use GridLegacy for Grid component with item prop in MortgageFieldsComponent
- MUI v7 moved Grid with item prop to GridLegacy - Update import to use GridLegacy to fix TypeScript error
Use GridLegacy for Grid component with item prop in CustomFormFieldsComponent
- MUI v7 moved Grid with item prop to GridLegacy - Update import to use GridLegacy to fix TypeScript error
Replace all 'any' types with proper TypeScript types
- Replace Record<string, any> with Record<string, unknown> - Replace any parameter types with unknown or specific types - Remove unused imports (authenticatedFe...
Resolve compilation errors in CustomFormFieldsComponent and LeadManager
- Remove stray fragment closing tag (</>) in CustomFormFieldsComponent.tsx - Remove duplicate leadId declaration in LeadManager.tsx IdRenderer
Add validation for required fields in lead imports
- Mark email, firstName, and lastName as required fields in leadFields.ts - Add validation in handleStartImport to check all required fields are mapped - Add va...
Add dynamic field mapping for lead imports based on market configuration
- Update leadFields.ts to include mortgage fields and getAllSystemFields function - Add MORTGAGE_FIELDS array with all LeadClaimMortgage fields - Update LeadMan...
Remove all mock data and make leads system production-ready
- Remove all mock data generation from leadsApi.ts (mockStore, ensureMock, faker.js) - Remove withMock wrapper function and all fallback logic - Remove generate...
Add hierarchical SaleType selection to markets-fields
- Add parent/child type dropdown system for SaleType selection - Default to 'Custom' child type when SERVICE or PRODUCT is selected - Prevent creation with NOT_...
Add hover/select/delete for connection lines with keyboard shortcuts
Add relationship status bar at bottom showing source field and cancel button
Remove global mouseup handler that was canceling drag on scroll, add click to cancel
Use CSS Grid with 3 columns (340px, 1fr, 340px) for proper alignment and increase dialog to xl
Use flex basis for columns so middle spacer pushes System Fields to right edge
Remove redundant mapping displays from file fields, show only transformations
Show all virtual fields for split modifiers and allow mapping from virtual fields
Set fixed width for field columns and let middle spacer push System Fields right
Use flex 1 with maxWidth for File and System Fields to match stats card layout
Move SVG to absolute overlay and use simple spacer for middle column
Remove justifyContent space-between that was preventing proper alignment
Prevent middle column from shrinking to force System Fields right
Remove minWidth constraint from middle column to allow proper flex distribution
Align System Fields to right edge using justify-content space-between
Add split and value modifiers UI for file fields with virtual field support
Revert SVG to absolute positioning, add field modifiers infrastructure
Vertically center align logo with text in header on root and settings pages
- Changed alignItems from 'flex-start' to 'center' on header Box - Logo now aligns to middle of text block instead of top
Redesign settings page with card-based layout similar to root page
- Replaced sidebar navigation with card grid layout - Added all settings categories and subcategories as individual cards - Organized settings into sections: Es...
